Skip to content

Commit 016a4d8

Browse files
authored
Merge pull request 0xPolygon#431 from 0xPolygon/bor-statesync-size
PoS: update Bor sprint length
2 parents 230372e + a863d71 commit 016a4d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pos/architecture/bor/state-sync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ event StateSynced (
5757
5858
Once the `StateSynced` event emitted on the `stateSender` contract on the Ethereum chain, Heimdall listens to those events and adds to the Heimdall state after 2/3+ validators agree on the.
5959
60-
After every sprint (currently 64 blocks on Bor), Bor fetches new state-sync record and updates the state using a `system` call. Here is the code for the same: [https://github.com/maticnetwork/bor/blob/6f0f08daecaebbff44cf18bee558fc3796d41832/consensus/bor/genesis_contracts_client.go#L51](https://github.com/maticnetwork/bor/blob/6f0f08daecaebbff44cf18bee558fc3796d41832/consensus/bor/genesis_contracts_client.go#L51)
60+
After every sprint (currently 16 blocks on Bor), Bor fetches new state-sync record and updates the state using a `system` call. Here is the code for the same: [https://github.com/maticnetwork/bor/blob/6f0f08daecaebbff44cf18bee558fc3796d41832/consensus/bor/genesis_contracts_client.go#L51](https://github.com/maticnetwork/bor/blob/6f0f08daecaebbff44cf18bee558fc3796d41832/consensus/bor/genesis_contracts_client.go#L51)
6161
6262
During `commitState`, Bor executes `onStateReceive`, with `stateId` and `data` as args, on target contract.
6363

0 commit comments

Comments
 (0)