anton-rs / kona

A suite of `no_std` components for the OP Stack state transition function and L2 chain derivation.
https://anton-rs.github.io/kona
MIT License
132 stars 41 forks source link

fix(host): Insert empty MPT root hash #483

Closed clabby closed 2 months ago

clabby commented 2 months ago

Overview

Inserts the empty MPT root hash in store_trie_nodes if the nodes array passed is empty. The HashBuilder will not push the preimage of the empty root hash to the ProofRetainer if the nodes arr is empty.

fixes #399

clabby commented 2 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @clabby and the rest of your teammates on Graphite Graphite