Commit graph

11141 commits

Author SHA1 Message Date
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
Jaynti Kanani
4f850edec2
Merge pull request #58 from maticnetwork/bor-params
Change tx pool params and gaslimit
2020-05-14 13:13:19 +05:30
Jaynti Kanani
a2983189a9
chg: change tx pool params and gaslimit 2020-05-14 13:10:39 +05:30
Jaynti Kanani
f76491d53b
new: add new flags for bor service file 2020-05-14 12:03:33 +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
Arpit Agarwal
e03cd94ed1
Merge pull request #53 from maticnetwork/dev-update-ethclient
chg: Add GetRootHash to ethClient / use uint64
2020-05-07 20:45:53 +05:30
atvanguard
67c29d7ce3 chg: Add GetRootHash to ethClient / use uint64 2020-05-07 20:17:15 +05:30
Jaynti Kanani
27f9dbd14f
Merge pull request #52 from maticnetwork/dev-roothash
new: Add bor.getRootHash(start, end) api method (MAT-1302)
2020-05-06 17:17:52 +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
Arpit Agarwal
88e5d4cb4e
Merge pull request #51 from maticnetwork/dev-audit-fixes
MAT-1248: Audit fixes
2020-04-30 11:10:50 +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
Jaynti Kanani
710fb49226
Merge pull request #47 from maticnetwork/develop
Develop to master
2020-04-10 23:13:52 +05:30
Arpit Agarwal
4401581ef1
dev: Provide Heimdall URL as flag instead of in genesis (#46) 2020-04-07 10:56:29 +05:30
Jaynti Kanani
7ade6115db
Merge branch 'develop' 2020-04-06 22:59:27 +05:30
Jaynti Kanani
437c375860
fix: remove v from linux packages 2020-04-06 22:54:29 +05:30
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