atvanguard
1651575805
remove page param
2020-05-20 14:15:41 +05:30
atvanguard
2675dc59e9
fetch state events with from_id/to_time
2020-05-20 13:43:40 +05:30
atvanguard
2526aa8530
wip
2020-05-20 10:08:30 +05:30
atvanguard
200472dfdc
update bytecode in genesis
2020-05-20 08:54:46 +05:30
atvanguard
3236e423d2
dont return a pointer from LastStateSyncTime
2020-05-19 21:42:32 +05:30
Arpit Agarwal
89248d7116
Update consensus/bor/bor.go
...
Co-authored-by: Jaynti Kanani <jdkanani@gmail.com>
2020-05-19 21:34:35 +05:30
atvanguard
742c2104af
alter the fetch logic a bit
2020-05-19 21:16:37 +05:30
atvanguard
fa52ce61f7
sort state events acc to id
2020-05-19 12:05:29 +05:30
atvanguard
ba70b74fb7
fetch events from [lastSync, (block-sprint).Time)
2020-05-19 09:47:54 +05:30
atvanguard
0e8b5ca4b7
minor: separate path, query params with FetchWithRetry
2020-05-18 23:36:16 +05:30
atvanguard
8f47b3945e
test: Handle 204 and add test for new deposit mechanism
2020-05-18 19:26:42 +05:30
atvanguard
fa0266a347
merge develop into mew-deposits
2020-05-18 18:51:29 +05:30
atvanguard
bda638d974
Merge branch 'develop' into mew-deposits
2020-05-18 11:03:13 +05:30
Jaynti Kanani
c5a015a8a4
fix: make data fetch more robust
2020-05-18 11:02:43 +05:30
atvanguard
8dea9114e8
dev: update changes in StateReceiver contract
2020-05-17 17:44:44 +05:30
atvanguard
9a56de6d84
dev: cleanup isValidatorAction logic
2020-05-17 17:33:59 +05:30
atvanguard
4be5477f64
dev: cleanup comments
2020-05-17 17:28:55 +05:30
atvanguard
868dc81c8a
new: New fetch State sync logic
2020-05-17 17:24:09 +05:30
atvanguard
71c3bf757c
refactor: Tests + add test for OutOfTurnSign
2020-05-14 16:28:45 +05:30
atvanguard
c27b8b7801
new: Add wiggle to block time
2020-05-14 16:28:45 +05:30
atvanguard
9f6df9ade0
dev: Remove concurrent seal check
2020-05-13 20:11:13 +05:30
Arpit Agarwal
0f8d3b1006
fix: Check validator bytes at first block of sprint (MAT-1311) ( #56 )
...
* Check validator bytes at first block of sprint
* not required to get parent again
* fix tests
* fix build error
2020-05-13 14:08:21 +05:30
Arpit Agarwal
d1ea515af1
chg: Cancel active sealing op when a new chain segment is received (MAT-1116) ( #54 )
...
* dev: Fix out-of-turn signing log statement
* dev: Cancel active sealing op when a new chain segment is received
* remove debug statement and return value
* minor: no need to use a channel
* Fix race condition in shouldSeal channel
* Info -> Debug statement
2020-05-11 17:00:33 +05:30
atvanguard
67c29d7ce3
chg: Add GetRootHash to ethClient / use uint64
2020-05-07 20:17:15 +05:30
atvanguard
50c0b662cf
Remove once.do
2020-05-06 17:14:53 +05:30
atvanguard
54bbdff1e4
Initialize apiCache in once.do
2020-05-06 16:35:12 +05:30
atvanguard
bbe6522f35
new: Add GetRootHash to api backend
2020-05-05 14:45:56 +05:30
atvanguard
5bd72779d5
new: Add GetRootHash bor api method
2020-05-05 09:45:57 +05:30
atvanguard
f02da00855
chg: dev: errMismatchingSprintValidators
2020-04-29 10:55:27 +05:30
atvanguard
7e4e2b722c
test: Add tests for GetSignerSuccessionNumber
2020-04-28 11:01:37 +05:30
atvanguard
52dbf54808
refactor: Fix minor issues from audit (2.36/37/40/41)
2020-04-27 08:57:03 +05:30
atvanguard
54609b6168
refactor: Bubble up error in updateTotalVotingPower instead of panic (2.29)
2020-04-27 08:56:55 +05:30
atvanguard
18266b0d7a
minor: Throw error if proposer/signer are not in the validator set (2.28)
2020-04-22 12:42:03 +05:30
atvanguard
bfab1d932d
dev: rename CompareProposerPriority to Cmp, add nil check (2.27)
2020-04-21 11:31:45 +05:30
atvanguard
48d6d76d18
minor: Remove the redundant validator.Bytes() func, fix comments (2.26)
2020-04-21 10:29:59 +05:30
atvanguard
b00299ca13
fix: Validator list could be invalid making the node crash (2.13)
2020-04-21 09:50:44 +05:30
atvanguard
122a2304db
minor: Run gofmt -w .
2020-04-20 20:34:58 +05:30
Arpit Agarwal
d8c07f302a
fix: Check block delay in verifyHeaders / remove empty chainId check (MAT-1080, MAT-1089) ( #49 )
...
* fix: Check block delay in verifyHeaders
* Pull block time check out of if condition
* fix: Always check chainId equality in heimdall response
2020-04-20 11:53:05 +05:30
Arpit Agarwal
4401581ef1
dev: Provide Heimdall URL as flag instead of in genesis ( #46 )
2020-04-07 10:56:29 +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
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