package
0.0.0-20250212134004-7f39a0d186f8
Repository: https://github.com/0xsoniclabs/tosca.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
GetBlockRangeLengthFor returns the number of block numbers between the given revision and the following in case of an Unknown revision, math.MaxUint64 is returned.
GetForkBlock returns the first block a given revision is considered to be enabled for when running CT state evaluations.
GetForkTime returns the revision fork timestamp.
No description provided by the author
GetRevisionForBlock returns the revision that is considered to be enabled for a given block number.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewU256 creates a new U256 instance from up to 4 uint64 arguments.
NewU256FromBigInt creates a new U256 instance from a big.Int.
NewU256FromBytes creates a new U256 instance from up to 32 byte arguments.
NewU256FromUint256 creates a new U256 instance from the given uint256.Int.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
Newest tosca.Revision currently supported by the CT specification.
No description provided by the author
# Structs
Bytes is an immutable slice of bytes that can be trivially cloned.
ImmutableHashArray is an immutable array of 256 tosca.Hash that can be trivially cloned.
U256 is a 256-bit integer type.
# Type aliases
ConstErr is an error type that can be used to define error constants.