Documentation ¶
Index ¶
- func Compress(txList []byte) ([]byte, error)
- func Decompress(compressedTxList []byte) ([]byte, error)
- func EtherToWei(ether float64) (*big.Int, error)
- func GWeiToWei(gwei float64) (*big.Int, error)
- func IsNil(i interface{}) bool
- func LoadEnv()
- func Max[T constraints.Integer](a, b T) T
- func Min[T constraints.Integer](a, b T) T
- func MineL1Block(t *testing.T, l1Client *rpc.Client)
- func RandUint32(max *big.Int) uint32
- func RandUint64(max *big.Int) uint64
- func WeiToEther(wei *big.Int) *big.Float
- func WeiToGWei(wei *big.Int) *big.Float
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decompress ¶ added in v0.20.0
Decompress decompresses the given txList bytes using zlib.
func EtherToWei ¶ added in v0.22.0
EtherToWei converts ether value to wei value.
func Max ¶ added in v0.20.0
func Max[T constraints.Integer](a, b T) T
Max return the maximum value of two integers.
func Min ¶ added in v0.20.0
func Min[T constraints.Integer](a, b T) T
Min return the minimum value of two integers.
func MineL1Block ¶ added in v0.21.0
MineL1Block mines a block on the L1 chain.
func WeiToEther ¶ added in v0.22.0
WeiToEther converts wei value to ether value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.