withdrawtrie

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadWTRSlot

func ReadWTRSlot(addr common.Address, state StateDB) common.Hash

ReadWTRSlot reads WithdrawTrieRoot slot in L2MessageQueue predeploy, i.e., `messageRoot` in contracts/src/libraries/common/AppendOnlyMerkleTree.sol

Types

type StateDB

type StateDB interface {
	GetState(common.Address, common.Hash) common.Hash
}

StateDB represents the StateDB interface required to get withdraw trie root

Jump to

Keyboard shortcuts

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