UNPKG

@ethereumjs/mpt

Version:

Implementation of the modified merkle patricia tree as specified in Ethereum's yellow paper.

14 lines (10 loc) 358 B
import { ExtensionOrLeafMPTNodeBase } from './extensionOrLeafNodeBase.ts' import type { Nibbles, RawExtensionMPTNode } from '../types.ts' export class ExtensionMPTNode extends ExtensionOrLeafMPTNodeBase { constructor(nibbles: Nibbles, value: Uint8Array) { super(nibbles, value, false) } raw(): RawExtensionMPTNode { return super.raw() } }