Skip to content

Commit d88bc2f

Browse files
committed
feat(sequencer): Add round counters per provider
* Reading round counters from adfs contract and latest published values * Increase round counters in provider after reading them from chain * Add test that reads round values from chain * Refactor how smart contracts are configured in sequencer config * Fix(sequencer/config): Configuration related to contracts for second round consensus made consistent * Fix example for process compose * Use function pointers and chunked calls to multicall contract * Fix changes that were causing a mismatch between sequencer and reporter when generating calldata * Fix(e2e-tests): Fix failing tests due to changes in the config and process compose setup * Add config option for reading values and round counteres * feat(sequencer/providers): Read data from networks in parallel To speed up initialization in the sequencer we read data in parallel from all networks. We also change the readiness_probe to not have a 120 second initial delay, but probe every 10 seconds and require 10 consecutive failing probes in order to restart the process. Co-authored-by: Hristo Staykov <izo8611@gmail.com> Co-authored-by: Aneta Tsvetkova <anetastsvetkova@gmail.com> feat(example-setup-03): Set `should-load-round-counters = false` This will be set to keep the current state of the e2e tests as they currently are. Once we update them to work with the rounds parsing logic of the sequencer we will remove it
1 parent b4770ec commit d88bc2f

File tree

30 files changed

+2144
-597
lines changed

30 files changed

+2144
-597
lines changed

Cargo.lock

Lines changed: 75 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ actix-test = "0.1.5"
5959
actix-web = "4.6.0"
6060
alloy = "1.0.9"
6161
alloy-primitives = "1.1.2"
62+
alloy-u256-literal = "^0.1"
6263
blst = "0.3.12"
6364
bytes = "1.9.0"
6465
console-subscriber = "0.4.0"

0 commit comments

Comments
 (0)