There are two modes that supersim can run in. By default, vanilla is the mode of operation
Vanilla
$ supersim // default vanilla mode
There's no configuration. We assert in the docs that supersim has some ports that it uses:
L1 Port: 8545
L2 Port(s): 9545,9546,954.. incrementing
Chain IDs are also predetermined:
L1: 420
L2(s): 991,992,993...
Vanilla mode run a single "l1" instance and two "l2" instances.
Forked
not implemented in this ticket. We simply define the configuration story here in comparison to vanilla. A subcommand fork is available to fork from the superchain registry
TODO: create ticket for this command
$ supersim fork
By default latest L1 height. A specified height can be set as well
--fork.l1.height 420
By default, the mainnet eth network is forked. A testnet can be specified
--network sepolia
By default, the entire registry is forked. A subset of the superchain registry can be forked by name, delineated by commas. Fails if a name is not recognized in the registry
--chains "mainnet,base,zora.."
By default the fork urls will use the public endpoints but this should be allowed to be specified
There are two modes that supersim can run in. By default, vanilla is the mode of operation
Vanilla
There's no configuration. We assert in the docs that supersim has some ports that it uses:
Chain IDs are also predetermined:
Vanilla mode run a single "l1" instance and two "l2" instances.
Forked
not implemented in this ticket. We simply define the configuration story here in comparison to vanilla. A subcommand
fork
is available to fork from the superchain registryTODO: create ticket for this command
By default latest L1 height. A specified height can be set as well
By default, the mainnet eth network is forked. A testnet can be specified
By default, the entire registry is forked. A subset of the superchain registry can be forked by name, delineated by commas. Fails if a name is not recognized in the registry
By default the fork urls will use the public endpoints but this should be allowed to be specified
Definition of Done
Vanilla mode is operational. No configuration options. Simply run the supersim command.