encoding

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package encoding implements all the utils/helpers for encoding incoming/outgoing RPC requests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeL2OutputRoot

func ComputeL2OutputRoot(stateRoot common.Hash, storageHash common.Hash, outputBlockHash common.Hash) string

ComputeL2OutputRoot computes L2 output root.

func MustConvertBigIntToUint64

func MustConvertBigIntToUint64(value *big.Int) uint64

MustConvertBigIntToUint64 converts big integer to integer.

func MustConvertUint64ToBigInt

func MustConvertUint64ToBigInt(value uint64) *big.Int

MustConvertUint64ToBigInt converts integer to big integer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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