Arpit Temani
c6c2e74919
Merge branch 'develop' of github.com:maticnetwork/bor into arpit/pos-655
2022-09-05 10:36:52 +04:00
Jerry
c50ff82ab1
Fix "Signer 0x... is not a part of the producer set at block xxxx"
...
The validator set json loaded from database will have an empty map. This change will recompute the validator map based on validator set.
2022-07-25 10:19:39 -07:00
Arpit Temani
062ea8b505
sprint type change
2022-07-21 17:20:15 +05:30
Arpit Temani
7b25997830
Reciept e2e test ( #431 )
...
* initial
* fixed tests
* eip155 tests
* progress
* fix
* fix TestFetchStateSyncEvents*
* debug
* fixed with updated list of validators
* fix
* a bit more stable
* optimize allocations
* linters
* fix vals copy
* a bit of refactoring
* update TestGetTransactionReceiptsByBlock
* remove logs from TestGetTransactionReceiptsByBlock in favour of checks
* comments
* Linters
* linters
* fixes after merge
* fixes after merge
* fixes after merge
* fixes after merge
* fail fast
Co-authored-by: Evgeny Danienko <6655321@bk.ru>
2022-07-14 19:28:56 +03:00
Evgeny Danilenko
9c8bf51f57
Prepare Bor package for testing ( #416 )
...
* Limit state sync by gas
* Added logging for state-sync total gas usage
* Added number of event-records in log
* Minor Changes
* Minor Fix
* Adding individual gasUsed
* Minor Fix
* it works
* fix tests
* log wiggle and delay with block number
* log delays as numbers
* linters
* fix tests
* restore linters for the project
* fix linters
* fix
* fix
* fix
* linters
* generation
* fix tests
* remove heimdall wrapper response
* linters
* remove possible collisions
* remove possible collisions
* remove possible collisions
* tests for unique address generation
* generalize set
* bor miner tests got restored
* fixes after CR
* final step and mining test
* fix
* fix e2e
* more tests for Heimdall requests
* fix linters
Co-authored-by: Ferran <ferranbt@protonmail.com>
Co-authored-by: Shivam Sharma <shivam691999@gmail.com>
2022-06-08 16:39:30 +03:00
Jerry
2e2557a2d0
Enable prealloc check and improve address comparison
2022-05-26 11:55:44 -07:00
Jerry
12ab0f0240
Lint consensus/bor module
...
Cleanup, lint, and enable linters for consenssus/bor module.
Disabled linter "gomnd" and "tagliatelle" because they are not
easy to fix and the return on the time investment is very low.
Disabled linter "prealloc" because it is not easy to guess and pre-allocate the
slice accurately in many cases.
2022-05-23 19:46:59 -07:00
Arpit Temani
a10f79dc27
jaipur fork ( #269 )
...
* jaipur fork
* add check
* review comments
* test case
* fix few changes
* Change condition
* review comments
* type conversion
* Update mumbai.go
* Update config.go
* Update config.go
Co-authored-by: Ferran Borreguero <ferranbt@protonmail.com>
2022-01-11 12:23:28 +01:00
Jaynti Kanani
e5058f94fd
new: add bor consensus
2020-11-13 09:33:12 +05:30
Jaynti Kanani
1e56a697c0
use go-ethereum for better forked-bor release
2020-11-13 09:21:48 +05:30
atvanguard
c7ea09a019
dev: Change wording for UnauthorizedSignerError, remove errRecentlySigned
2020-05-18 13:33:27 +05:30
atvanguard
71c3bf757c
refactor: Tests + add test for OutOfTurnSign
2020-05-14 16:28:45 +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
b00299ca13
fix: Validator list could be invalid making the node crash (2.13)
2020-04-21 09:50:44 +05:30
Jaynti Kanani
e36fb38183
remove unwanted comments
2020-02-08 02:48:02 +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
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
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
dae44a2a9c
add more logs
2019-09-26 14:42:33 +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
Jaynti Kanani
3e8e4dfe88
bor changes
2019-09-04 19:20:28 +05:30
Jaynti Kanani
f12ae309cf
fix block time bug
2019-06-21 17:40:23 +05:30
Jaynti Kanani
f37d07db3d
update bor consensus
2019-05-17 23:25:56 +05:30
Jaynti Kanani
f2cd20e591
Fork clique consensus for Bor
2019-05-15 16:45:00 +05:30