module

Pampero

Constants

BEACON_NODE = "https://beacon.verkle-gen-devnet-6.ethpandaops.io"
CHUNK_LENGTH = BigInt.new(31)
CODE_OFFSET = BigInt.new(128)
HEADER_STORAGE_OFFSET = BigInt.new(64)
KECCAK256_NULL = Pampero::Bytes32.new(KECCAK256_NULL_S)
KECCAK256_NULL_S = "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"

keccak256 of an empty byte array

LEAF_BALANCE = 1_u8
LEAF_CODE_HASH = 3_u8
LEAF_CODE_SIZE = 4_u8
LEAF_NONCE = 2_u8
LEAF_VERSION = 0_u8
MAIN_STORAGE_OFFSET = VERKLE_NODE_WIDTH ^ 31
VERKLE_NODE_WIDTH = BigInt.new(256)
VERSION = "0.1.0"

Class methods

dump_block

Accepts a slot number as input parameter Default to 'head' if it isn't specified

Source

Nested types