NAME:
supersim fork - Locally fork a network in the superchain registry
USAGE:
supersim fork [command options]
OPTIONS:
--l1.fork.height value (default: 0) ($SUPERSIM_L1_FORK_HEIGHT)
L1 height to fork the superchain (bounds L2 time). `0` for latest
--chains value ($SUPERSIM_CHAINS)
chains to fork in the superchain, mainnet options: [arena-z, automata, base,
bob, cyber, ethernity, funki, hashkeychain, ink, lisk, lyra, metal, mint, mode,
op, orderly, polynomial, race, redstone, shape, soneium, sseed, swan, swell, tbn,
unichain, worldchain, xterio-eth, zora]. In order to replace the public rpc endpoint
for a chain, specify the ($SUPERSIM_RPC_URL_<CHAIN>) env variable. i.e
SUPERSIM_RPC_URL_OP=http://optimism-mainnet.infura.io/v3/<API-KEY>
--network value (default: "mainnet") ($SUPERSIM_NETWORK)
superchain network. options: mainnet, sepolia, sepolia-dev-0. In order to
replace the public rpc endpoint for the network, specify the
($SUPERSIM_RPC_URL_<NETWORK>) env variable. i.e
SUPERSIM_RPC_URL_MAINNET=http://mainnet.infura.io/v3/<API-KEY>
--interop.enabled (default: true) ($SUPERSIM_INTEROP_ENABLED)
enable interop predeploy and functionality
--admin.port value (default: 8420) ($SUPERSIM_ADMIN_PORT)
Listening port for the admin server
--interop.l2tol2cdm.override value ($SUPERSIM_INTEROP_L2TO2CDM_OVERRIDE)
Path to the L2ToL2CrossDomainMessenger build artifact that overrides
the default implementation
--l1.port value (default: 8545) ($SUPERSIM_L1_PORT)
Listening port for the L1 instance. `0` binds to any available port
--l2.count value (default: 2) ($SUPERSIM_L2_COUNT)
Number of L2s. Max of 5
--l2.starting.port value (default: 9545) ($SUPERSIM_L2_STARTING_PORT)
Starting port to increment from for L2 chains. `0` binds each chain to any
available port
--interop.autorelay (default: false) ($SUPERSIM_INTEROP_AUTORELAY)
Automatically relay messages sent to the L2ToL2CrossDomainMessenger using
account 0xa0Ee7A142d267C1f36714E4a8F75612F20a79720
--interop.delay value (default: 0) ($SUPERSIM_INTEROP_DELAY)
Delay before relaying messages sent to the L2ToL2CrossDomainMessenger
--logs.directory value ($SUPERSIM_LOGS_DIRECTORY)
Directory to store logs
--l1.host value (default: "127.0.0.1") ($SUPERSIM_L1_HOST)
Host address for the L1 instance
--l2.host value (default: "127.0.0.1") ($SUPERSIM_L2_HOST)
Host address for L2 instances
--odyssey.enabled (default: false) ($SUPERSIM_ODYSSEY_ENABLED)
Enable odyssey experimental features
--dependency.set value ($SUPERSIM_DEPENDENCY_SET)
Override local chain IDs in the dependency set.(format: '[901,902]' or '[]')
--log.level value (default: INFO) ($SUPERSIM_LOG_LEVEL)
The lowest log level that will be output
--log.format value (default: text) ($SUPERSIM_LOG_FORMAT)
Format the log output. Supported formats: 'text', 'terminal', 'logfmt', 'json',
'json-pretty',
--log.color (default: false) ($SUPERSIM_LOG_COLOR)
Color the log output if in terminal mode
--log.pid (default: false) ($SUPERSIM_LOG_PID)
Show pid in the log
--help, -h (default: false)
show help