-
Notifications
You must be signed in to change notification settings - Fork 392
Description
Background
The fill command creates the full state by generating a genesis file containing all accounts and contracts. In contrast, the execute command connects to a client on given network and sends txs to deploy the required contracts and accounts.
For bloatnet, the state and contracts can be extremely large, making fill operation infeasible. In this case, using execute with stubs is a better approach (see docs). All required contracts in bloatnet can be deployed with a seed, and by reusing the same seed and stubbed contracts, the tests remain reproducible.
Description
Bloatnet-related tests were first introduced in PRs ethereum/execution-spec-tests#2040 and ethereum/execution-spec-tests#2090. While PR ethereum/execution-spec-tests#2090 included a deployment script for the CREATE2 factory and other contracts. It would be better to split this functionality into a separate PR to follow the EEST framework.
The goal is to explore the existing framework and identify the best way to integrate deployment functionality, for example, by adding a specific CLI tool or extending the execute command. The current source script is here, and here
Proposed Solution
- Add a new
deploy_create2_targetsmethod forpre_alloc