erigon-pulse/consensus/bor
Manav Darji b4fc18ad14
consensus/bor: validate valset from header at sprint end (#7438)
This PR adds changes from https://github.com/maticnetwork/bor/pull/768
and https://github.com/maticnetwork/bor/pull/787.

Note that bor fetches the data from the child chain contract via
`getBorValidators` method while erigon does it via fetching the required
span from heimdall (or cache if present). Hence, as done in bor, we
don't really need to create new methods to get data via block number or
hash.
2023-05-09 18:38:47 +01:00
..
abi Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
clerk Move hexutil.Bytes to erigon-lib (#7305) 2023-04-13 11:19:02 +00:00
contract Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
heimdall use bor interface (#7045) 2023-03-07 09:37:33 +00:00
heimdallgrpc Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
statefull State sync transactions added to debug_traceBlockByNumber call (#6830) 2023-02-20 08:04:11 +00:00
valset Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
api.go remove lru package alias (#7251) 2023-04-04 04:02:23 +00:00
bor.go consensus/bor: validate valset from header at sprint end (#7438) 2023-05-09 18:38:47 +01:00
errors.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
genesis_contract_mock.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
genesis.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
heimall.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
merkle.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
snapshot_test.go fix race condition in snapshot_test (#6761) 2023-02-01 22:15:19 +00:00
snapshot.go remove lru package alias (#7251) 2023-04-04 04:02:23 +00:00
span_mock.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30
span.go Bor file structure updated (#6167) 2023-01-31 14:00:57 +05:30