feat: add devnet binary for local testing #505
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds
base-devnetbinary for local development and testing. Launches both base-builder and base-client with a pre-configured genesis, Montana-style interactive TUI, and built-in block driver.Getting Started
Prerequisites
cast)Run
Test
# Send a test transaction (Alice → Bob) cast send 0x70997970C51812dc3A010C7d01b50e0d17dc79C8 \ --value 0.1ether \ --rpc-url http://localhost:8545 \ --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80Endpoints
http://localhost:8545ws://localhost:8546Test Accounts (1M ETH each)
0xf39Fd6e51aad88F6F4ce6aB8827279cffFb922660xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff800x70997970C51812dc3A010C7d01b50e0d17dc79C80x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365aFeatures
--no-driverflag for plugging in external consensus (op-node/Kona)Test Plan
cargo fmtcargo clippy- 0 warningscargo test- passesCloses #382