Skip to content

Commit 066b3b1

Browse files
fix(zkstack): Allow to use chain config if ecosystem is redundant (#4236)
## What ❔ Allow to run zkstack command from chain folder, without using the whole ecosystem. ## Why ❔ Most of the time, for chain operators, it's not necessary to have ecosystem, it's just enough to have their own chain to make commands on their chain. ## Is this a breaking change? - [ ] Yes - [ ] No ## Operational changes <!-- Any config changes? Any new flags? Any changes to any scripts? --> <!-- Please add anything that non-Matter Labs entities running their own ZK Chain may need to know --> ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [ ] Code has been formatted via `zkstack dev fmt` and `zkstack dev lint`. --------- Signed-off-by: Danil <[email protected]> Co-authored-by: Alexander Melnikov <[email protected]>
1 parent 9189707 commit 066b3b1

File tree

105 files changed

+759
-791
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+759
-791
lines changed

chains/era/ZkStack.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ id: 1
22
name: era
33
chain_id: 271
44
prover_version: NoProofs
5+
l1_network: Localhost
6+
link_to_code: .
57
configs: ./chains/era/configs/
68
rocks_db_path: ./chains/era/db/
79
external_node_config_path: ./chains/era/configs/external_node

core/node/consensus/src/tests/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ async fn test_config_change(from_snapshot: bool, version: ProtocolVersionId) {
426426
// them directly or indirectly.
427427
#[test_casing(4, Product((FROM_SNAPSHOT,VERSIONS)))]
428428
#[tokio::test]
429+
// #[ignore]
429430
async fn test_full_nodes(from_snapshot: bool, version: ProtocolVersionId) {
430431
const NODES: usize = 2;
431432

0 commit comments

Comments
 (0)