Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DepositAnteHandler ¶
func DepositDecoder ¶
DepositDecoder is an sdktypes.TxDecoder.
func L1DataAnteHandler ¶ added in v0.1.2
func L1DataAnteHandler(ctx sdk.Context, tx sdk.Tx, rollupKeeper *rollupkeeper.Keeper) (sdk.Context, error)
L1DataAnteHandler will consume gas to compensate the sequencer for posting the transaction to Ethereum. The gas cost is calculated based on the Ecotone upgrade and the sequencer is expected to post the transaction using blobs.
Types ¶
type Deposit ¶
type Deposit struct {
Msg *types.MsgApplyL1Txs
}
func (*Deposit) GetMsgsV2 ¶
func (d *Deposit) GetMsgsV2() ([]protoreflect.ProtoMessage, error)
Click to show internal directories.
Click to hide internal directories.