Skip to content

Modularise EVM chain family in simulate package#364

Closed
Fletch153 wants to merge 1 commit intomainfrom
modulise-evm/serene-ibis
Closed

Modularise EVM chain family in simulate package#364
Fletch153 wants to merge 1 commit intomainfrom
modulise-evm/serene-ibis

Conversation

@Fletch153
Copy link
Copy Markdown

@Fletch153 Fletch153 commented Apr 9, 2026

Summary

  • Extracts EVM-specific simulation code into a chainfamily/evm/ subpackage with an adapter pattern
  • Introduces a chainfamily.Registry to support pluggable chain families instead of hardcoded EVM logic
  • Simplifies simulate.go by removing inline EVM client setup, RPC health checks, and chain-specific flag handling
  • Ports 24 new chain definitions from main into the modularised supported_chains.go

Test plan

  • Verify go build ./... passes
  • Verify go test ./cmd/workflow/simulate/... passes
  • Test simulation with EVM chains to confirm adapter registration works
  • Confirm new chains from main are available in simulation

🤖 Generated with Claude Code

@Fletch153 Fletch153 force-pushed the modulise-evm/serene-ibis branch 2 times, most recently from 55d42cb to 9bb7707 Compare April 9, 2026 11:08
Extract EVM-specific simulation code into a chainfamily/evm/ subpackage
with an adapter pattern. Introduce a chainfamily.Registry for pluggable
chain families instead of hardcoded EVM logic. Simplify simulate.go by
removing inline EVM client setup, RPC health checks, and chain-specific
flag handling.

Includes simulation limits enforcement via limitedEVMChain wrapper in
the adapter, and proper service lifecycle management to avoid
double-close of chain runtimes.
@Fletch153 Fletch153 force-pushed the modulise-evm/serene-ibis branch from 9bb7707 to 101e247 Compare April 9, 2026 11:27
@Fletch153 Fletch153 closed this Apr 9, 2026
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.

1 participant