Commit graph

53 commits

Author SHA1 Message Date
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
ae82c4cd37
fix polluted path and check data length for validation action 2020-03-25 18:41:16 +05:30
Jaynti Kanani
1a360aeb9e
fix build once and for all + go mod tidy 2020-03-20 19:09:19 +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
atvanguard
5f96b06add Send key while logging error msg 2020-03-06 16:00:04 +05:30
Jaynti Kanani
14ffde834c
Merge pull request #20 from maticnetwork/develop
Develop
2020-02-17 19:52:49 +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
Jaynti Kanani
e36fb38183
remove unwanted comments 2020-02-08 02:48:02 +05:30
Jaynti Kanani
36ff50845e
use hex encoding for record bytes 2020-01-01 17:12:34 +05:30
Jaynti Kanani
bd9cd503a1
fix merge conflict 2019-12-04 22:28:21 +05:30
vaibhavchellani
039c932fc7 removed conflicts 2019-12-04 18:29:51 +05:30
vaibhavchellani
088b57ebea removed fmt log from snapshot 2019-12-04 14:21:12 +05:30
vaibhavchellani
783d094a28 log usage standardised 2019-12-04 14:18:25 +05:30
Jaynti Kanani
2f0b5ce143
increase backup limit 2019-12-03 22:55:30 +05:30
Jaynti Kanani
29e8a42df6
verify before validator set change at sprint end 2019-12-03 18:50:30 +05:30
Jaynti Kanani
4b452d8a3a
retry span and states in bor 2019-12-03 16:47:28 +05:30
Jaynti Kanani
0f172fd0eb
change package name 2019-11-12 13:17:12 -05:00
Jaynti Kanani
dc16740906
fix errors and refactoring 2019-11-05 12:12:10 +05:30
Jaynti Kanani
0d86eed2c3
add method to commit states 2019-10-27 01:50:57 +05:30
Jaynti Kanani
a4d92f8e30
span sync done right 2019-10-25 20:11:07 +05:30
Jaynti Kanani
521e7e295a
commit span WIP 2019-10-25 15:02:04 +05:30
Jaynti Kanani
26ce6db06d
WIP span sync 2019-10-24 13:07:50 +05:30
Jaynti Kanani
dae44a2a9c
add more logs 2019-09-26 14:42:33 +05:30
Jaynti Kanani
374e438f42
use wiggle as 2*period 2019-09-26 13:54:12 +05:30
Jaynti Kanani
6cc7e88e94
remove log 2019-09-26 12:49:35 +05:30
Jaynti Kanani
48c0745964
fix :) 2019-09-25 19:16:36 +05:30
venkatesh mankena
0edf50b540 initial span size condition change 2019-09-20 17:54:01 +05:30
venkatesh mankena
ee77e5bd0f removing unwanted logs 2019-09-20 17:51:21 +05:30
venkatesh mankena
ad215df33b fix first_end_block 2019-09-20 17:33:59 +05:30
venkatesh mankena
a4be27641a udpated bor.go to fetch firstEndBlock 2019-09-20 14:39:09 +05:30
Jaynti Kanani
3e8e4dfe88
bor changes 2019-09-04 19:20:28 +05:30
Jaynti Kanani
cc9b230fc0
merge release/1.9 2019-07-14 15:55:04 +05:30
Jaynti Kanani
73d080c125
fix difficulty 2019-06-26 15:08:02 +05:30
Jaynti Kanani
f12ae309cf
fix block time bug 2019-06-21 17:40:23 +05:30
Jaynti Kanani
ad198aeefd
bor validator set 2019-06-15 19:56:16 +05:30
Jaynti Kanani
ceae9134b9
validator contract 2019-06-09 21:47:25 +05:30
Jaynti Kanani
17ed765ce0
bor producer change delay 2019-05-18 14:55:02 +05:30