Predeploys

Table of Contents

Overview

L1Block

Interface

setIsthmus

This function is meant to be called once on the activation block of the Isthmus network upgrade. It MUST only be callable by the DEPOSITOR_ACCOUNT once. When it is called, it MUST call call each getter for the network specific config and set the returndata into storage.

GasPriceOracle

Following the Isthmus upgrade, a new method is introduced: getOperatorFee(uint256). This method returns the operator fee for the given gasUsed. The operator fee calculation follows the formula outlined in the Operator Fee section of the execution engine spec.

The value returned by getOperatorFee(uint256) is capped at U256 max value.

OperatorFeeVault

This vault implements FeeVault, like BaseFeeVault, SequencerFeeVault, and L1FeeVault. No special logic is needed in order to insert or withdraw funds.

Its address will be 0x420000000000000000000000000000000000001b.

Security Considerations