Skip to content

Test Keyless Deployment

Documentation for tests/amsterdam/eip7997_deterministic_factory_contract/test_keyless_deployment.py@02aafd78.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/amsterdam/eip7997_deterministic_factory_contract/test_keyless_deployment.py --fork Amsterdam

Verify keyless deployment of the Deterministic Factory Contract.

https://eips.ethereum.org/EIPS/eip-7997

Verify the fixed keyless creation transaction before and after the creation state-gas increase. Chains may also allocate the factory at genesis.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_keyless_deployment_after_fork blockchain_test 1 Exhaust the fixed keyless transaction budget in the top frame.
test_keyless_deployment_before_fork blockchain_test 1 Deploy and use the factory in one pre-fork block and use it after.