tx

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DepositAnteHandler

func DepositAnteHandler(ctx sdktypes.Context, tx sdktypes.Tx, simulate bool) (sdktypes.Context, error)

func DepositDecoder

func DepositDecoder(txBytes []byte) (sdktypes.Tx, error)

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) GetMsgs

func (d *Deposit) GetMsgs() []proto.Message

func (*Deposit) GetMsgsV2

func (d *Deposit) GetMsgsV2() ([]protoreflect.ProtoMessage, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL