@ethereumjs/mpt
Version:
Implementation of the modified merkle patricia tree as specified in Ethereum's yellow paper.
14 lines (10 loc) • 342 B
text/typescript
import { ExtensionOrLeafMPTNodeBase } from './extensionOrLeafNodeBase.ts'
import type { Nibbles, RawLeafMPTNode } from '../types.ts'
export class LeafMPTNode extends ExtensionOrLeafMPTNodeBase {
constructor(nibbles: Nibbles, value: Uint8Array) {
super(nibbles, value, true)
}
raw(): RawLeafMPTNode {
return super.raw()
}
}