Skip to content

Commit

Permalink
feat: zk_toolbox command for setting attester committee (#2900)
Browse files Browse the repository at this point in the history
zk_toolbox command for setting attester committee in consensus registry
contract.

Fixes BFT-505

---------

Co-authored-by: Bruno França <[email protected]>
  • Loading branch information
pompon0 and brunoffranca authored Sep 27, 2024
1 parent 57b99d4 commit 2dc65f0
Show file tree
Hide file tree
Showing 13 changed files with 1,577 additions and 15 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci-core-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ jobs:
ci_run sleep 5
- name: Setup attester committee for the consensus chain
run: |
ci_run zk_inception consensus set-attester-committee --chain consensus &> ${{ env.INTEGRATION_TESTS_LOGS_DIR }}/consensus.log
- name: Run integration tests
run: |
PASSED_ENV_VARS="RUN_CONTRACT_VERIFICATION_TEST" \
Expand Down
2 changes: 1 addition & 1 deletion bin/zkt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if which zkup >/dev/null; then
cargo uninstall zk_supervisor
zkup -p .. --alias
else
echo zkup does not installed, please install it https://github.com/matter-labs/zksync-era/tree/main/zk_toolbox/zkup
echo zkup is not installed, please install it https://github.com/matter-labs/zksync-era/tree/main/zk_toolbox/zkup
cd ../zk_toolbox
cargo install --path ./crates/zk_inception --force
cargo install --path ./crates/zk_supervisor --force
Expand Down
2 changes: 1 addition & 1 deletion zk_toolbox/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions zk_toolbox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ slugify-rs = "0.0.3"
cliclack = "0.2.5"
console = "0.15.8"
chrono = "0.4.38"
eyre = "0.6.12"
ethers = "2.0"
futures = "0.3.30"
human-panic = "2.0"
Expand Down
5 changes: 4 additions & 1 deletion zk_toolbox/crates/zk_inception/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ anyhow.workspace = true
clap.workspace = true
cliclack.workspace = true
config.workspace = true
console.workspace = true
human-panic.workspace = true
lazy_static.workspace = true
serde_yaml.workspace = true
Expand All @@ -37,3 +36,7 @@ clap-markdown.workspace = true
zksync_consensus_roles.workspace = true
zksync_consensus_crypto.workspace = true
secrecy.workspace = true

[build-dependencies]
eyre.workspace = true
ethers.workspace = true
Loading

0 comments on commit 2dc65f0

Please sign in to comment.