Commit graph

11111 commits

Author SHA1 Message Date
Jaynti Kanani
ae28e0ada9
Merge pull request #42 from maticnetwork/develop
New release cs-2005
2020-04-06 16:21:28 +05:30
Jaynti Kanani
86a8696a33
Merge pull request #45 from maticnetwork/dev-subscribe-deposits
MAT-871: Subscribe to State Sync Events on Bor
2020-04-06 12:15:10 +05:30
Arpit Agarwal
7183e217c0
fix: ethClient.SubscribeNewDeposit should accept StateData channel (#44)
* ethClient.SubscribeNewDeposit should accept StateData channel

* remove redundant function

* Fix compilation error
2020-04-06 11:40:14 +05:30
Sayli Patil
260243cf88
MAT-865: Add subscribe deposit event filter (#21)
* add eth_depositById rpc method

* add sample depositById test

* change ethereum to bor

* add subscription for new deposit data

* create channel to listen new state change

* push state data to subcribed channel

* apply filter on deposit events sub

* remove unused methods

* Fix: no filter

* Remove unused method

* revert changes

* Fix: RPC port

* refactor and cleanup

* Fix: SubscribeStateEvent

* remove unused import

* Resolve comments

Co-authored-by: Arpit Agarwal <93arpit@gmail.com>
2020-04-06 09:52:21 +05:30
Jaynti Kanani
c6881be2bd
Merge pull request #40 from maticnetwork/dev-import-state
MAT-872: Fix import/export state with bor
2020-04-03 15:10:01 +05:30
atvanguard
11bbf0dfca minor: Dont use MakeGenesis because it doesnt have default bor config 2020-04-01 23:38:39 +05:30
atvanguard
2be8ee294d fix: Start Ethereum service in a manner such that ethApi is instantiated for bor while import 2020-04-01 21:58:25 +05:30
Jaynti Kanani
a14bfacf31
Merge pull request #37 from maticnetwork/fix-path
Fix polluted path and check data length for validation action
2020-03-25 19:31:45 +05:30
Jaynti Kanani
ae82c4cd37
fix polluted path and check data length for validation action 2020-03-25 18:41:16 +05:30
Jaynti Kanani
5c4cee9cd8
Merge pull request #36 from maticnetwork/linux-packages
Github workflow for linux packages
2020-03-21 19:30:39 +05:30
Jaynti Kanani
dc14f5407d
github workflow for linux packages 2020-03-21 18:11:49 +05:30
Jaynti Kanani
6cc8e625a4
Merge pull request #33 from maticnetwork/fix-build
Fix go mod for make all
2020-03-20 20:04:51 +05:30
Jaynti Kanani
e577b684e3
Merge branch 'develop' into fix-build 2020-03-20 20:02:34 +05:30
Jaynti Kanani
8a4e1fb64b
remove unnecessary flag 2020-03-20 19:59:10 +05:30
Jaynti Kanani
fef4f7d52d
fix ci.go 2020-03-20 19:49:16 +05:30
Jaynti Kanani
e69fe6743f
fix test 2020-03-20 19:12:16 +05:30
Jaynti Kanani
1a360aeb9e
fix build once and for all + go mod tidy 2020-03-20 19:09:19 +05:30
Jaynti Kanani
d526099133
Merge branch 'fix-make' into fix-build 2020-03-20 18:49:31 +05:30
Jaynti Kanani
1fd47e6173
Merge pull request #34 from maticnetwork/patch/bor_dockerpuds_ci
added github actions workflow for BOR docker push
2020-03-20 16:39:57 +05:30
ramakrishna183
8ee0480294 added github actions workflow for BOR docker push 2020-03-20 16:00:53 +05:30
Jaynti Kanani
056aebd376
fix go mod for make all 2020-03-19 15:17:48 +05:30
Jaynti Kanani
9e2f108071
Merge pull request #31 from maticnetwork/abi-fix
fix abigen to create pure/view methods
2020-03-19 14:26:29 +05:30
Jaynti Kanani
474824841f
Merge pull request #32 from maticnetwork/docker-fix
fix docker files to use bor instead of geth
2020-03-19 14:25:58 +05:30
Jaynti Kanani
0e4aa14eaa
fix docker file 2020-03-19 14:23:11 +05:30
Jaynti Kanani
4e6427d076
fix abigen to create pure/view methods 2020-03-19 14:20:02 +05:30
Jaynti Kanani
175f236016
remove env.sh 2020-03-19 14:18:51 +05:30
Arpit Agarwal
c69ad1342b
Merge pull request #24 from maticnetwork/dev-test-commit-span
MAT-869: Allow commitSpan/State actions if they are underpriced + Test commit span
2020-03-18 14:58:21 +05:30
atvanguard
bd95198168 Remove Test section from README 2020-03-18 14:56:30 +05:30
atvanguard
de889c13ed Add testify/mock modules and Add make test to circle config 2020-03-18 14:55:00 +05:30
atvanguard
d56c75d90a Test isValidatorAction after span changes 2020-03-18 14:48:57 +05:30
atvanguard
2ea69833dd Cleanup debug statements 2020-03-18 14:48:57 +05:30
atvanguard
e6de60b80e TestCommitSpan finally works 2020-03-18 14:48:57 +05:30
atvanguard
2d0b9ea63d try to use same statedb 2020-03-18 14:48:57 +05:30
atvanguard
9dd4e4b0f9 Refactor HeimdallClient + commitSpan test 🚧 2020-03-18 14:48:57 +05:30
atvanguard
57ccdb5482 Revert unintended changes 2020-03-18 14:48:57 +05:30
atvanguard
f7e58d6030 Test for IsValidatorAction 2020-03-18 14:48:57 +05:30
atvanguard
1d5b263362 WIP 2020-03-18 14:48:57 +05:30
atvanguard
a3e01638a4 Test isValidatorAction 🚧 2020-03-18 14:48:57 +05:30
atvanguard
27fc66ef24 Add bor.isValidatorAction and call it while validating underpriced tx 2020-03-18 14:48:57 +05:30
Arpit Agarwal
e189cb8215
Switch to using go modules (#28)
* Delete vendor/ and switch to using go modules

* Add circleci config
2020-03-18 14:45:20 +05:30
Jaynti Kanani
e3f1e51ae6
Merge pull request #23 from maticnetwork/dev-fix-log
Remove unwanted log
2020-03-06 16:04:45 +05:30
atvanguard
5f96b06add Send key while logging error msg 2020-03-06 16:00:04 +05:30
atvanguard
15b162b450 Remove unwanted log 2020-03-06 15:28:13 +05:30
Jaynti Kanani
14ffde834c
Merge pull request #20 from maticnetwork/develop
Develop
2020-02-17 19:52:49 +05:30
Jaynti Kanani
67260a717e
Merge pull request #19 from maticnetwork/dev-span-sprint-api-calls
Dev span sprint api calls
2020-02-17 19:52:32 +05:30
Jaynti Kanani
1fc442e5e2
Merge pull request #18 from maticnetwork/span-chain
check bor chain id for commit span and state
2020-02-17 19:52:03 +05:30
atvanguard
04f5abcc13 Expose API methods 2020-02-17 18:56:23 +05:30
atvanguard
4037b09968 Add GetCurrentProposer API call 🚧 2020-02-17 11:32:15 +05:30
Jaynti Kanani
cfac491edb
check bor chain id for commit span and state 2020-02-15 15:36:53 +05:30
Jaynti Kanani
b343bd10c6
fix log for retry 2020-02-10 19:30:09 +05:30