Skip to content

System Tests - Dynamically Parameterized Chainspec#550

Merged
damian-orzechowski merged 6 commits intomainfrom
revert-prefunded
Jan 14, 2026
Merged

System Tests - Dynamically Parameterized Chainspec#550
damian-orzechowski merged 6 commits intomainfrom
revert-prefunded

Conversation

@svlachakis
Copy link
Collaborator

@svlachakis svlachakis commented Jan 13, 2026

We need to revert prefunded account because it affects state of other system tests.

Need to come up with a different way, easiest solution for now is to have a separate chainspec for this specific test but that's not scalable if it needs to happen in more tests.

Test that needs this account NethermindEth/arbitrum-nitro#52

Solution : Added dynamically parameterized chainspec for System Tests

Supported Parameters for System Tests needed so far:

  • $ACCOUNTS_FILE
  • $ARBOS_VERSION
  • $MAX_CODE_SIZE

@svlachakis svlachakis marked this pull request as ready for review January 13, 2026 12:26
@svlachakis
Copy link
Collaborator Author

@wurdum @AnkushinDaniil please review again, added dynamically parameterized chainspec for system tests

@svlachakis svlachakis mentioned this pull request Jan 13, 2026
@svlachakis svlachakis changed the title System Tests - Revert prefunded account System Tests - Dynamically Parameterized Chainspec Jan 13, 2026
@github-actions
Copy link
Contributor

Code Coverage

Package Line Rate Branch Rate Health
Nethermind.Arbitrum 81% 58%
Summary 81% (8975 / 11118) 58% (2257 / 3880)

Minimum allowed line rate is 60%

@damian-orzechowski damian-orzechowski merged commit 36e9910 into main Jan 14, 2026
5 checks passed
@damian-orzechowski damian-orzechowski deleted the revert-prefunded branch January 14, 2026 11:05
AnkushinDaniil added a commit that referenced this pull request Jan 14, 2026
  PR #550 introduced naming mismatches between the script defaults and
  actual file names:

  - Template path: chainspec.template → system-test-chainspec.template
  - Accounts default: default.json → defaults.json

  These mismatches caused the script to fail when invoked via
  `make generate-system-test-config` or directly.
AnkushinDaniil added a commit that referenced this pull request Jan 14, 2026
  PR #550 introduced naming mismatches between the script defaults and
  actual file names:

  - Template path: chainspec.template → system-test-chainspec.template
  - Accounts default: default.json → defaults.json

  These mismatches caused the script to fail when invoked via
  `make generate-system-test-config` or directly.
AnkushinDaniil added a commit that referenced this pull request Jan 19, 2026
  PR #550 introduced naming mismatches between the script defaults and
  actual file names:

  - Template path: chainspec.template → system-test-chainspec.template
  - Accounts default: default.json → defaults.json

  These mismatches caused the script to fail when invoked via
  `make generate-system-test-config` or directly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants