Versions in this module Expand all Collapse all v0 v0.2.0 Sep 6, 2022 GO-2025-3583 GO-2025-3583: Nethermind Juno Potential Denial of Service (DoS) via Integer Overflow in github.com/NethermindEth/juno Changes in this version + const StateTrieHeight + const StorageTrieHeight + type ContractState struct + ContractHash *felt.Felt + StorageRoot *felt.Felt + func (c *ContractState) Hash() *felt.Felt + type Slot struct + Key *felt.Felt + Value *felt.Felt + type State interface + GetClassHash func(address *felt.Felt) (*felt.Felt, error) + GetContract func(address *felt.Felt) (*types.Contract, error) + GetContractState func(address *felt.Felt) (*ContractState, error) + GetSlot func(address *felt.Felt, slot *felt.Felt) (*felt.Felt, error) + Root func() *felt.Felt + SetContract func(address *felt.Felt, hash *felt.Felt, code *types.Contract) error + SetSlots func(address *felt.Felt, slots []Slot) error + func New(manager StateManager, root *felt.Felt) State + type StateManager interface + GetContract func(*felt.Felt) (*types.Contract, error) + GetContractState func(*felt.Felt) (*ContractState, error) + PutContract func(*felt.Felt, *types.Contract) error + PutContractState func(*ContractState) error