Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

EdgeNodeImpl

Trait for creating and manipulating EdgeNode instances

Fully qualified path: alexandria_merkle_tree::storage_proof::EdgeNodeImpl

pub impl EdgeNodeImpl of EdgeNodeTrait;

Impl functions

new

Creates a new EdgeNode with the specified path, child hash, and path length

Arguments

  • path - The compressed path as a felt252 value
  • child - Hash of the child node at the end of this path
  • length - Length of the compressed path in bits

Returns

  • EdgeNode - A new EdgeNode instance with the specified parameters

Fully qualified path: alexandria_merkle_tree::storage_proof::EdgeNodeImpl::new

fn new(path: felt252, child: felt252, length: u8) -> EdgeNode