dusk-network / rusk-vm

The Dusk Rust WASM VM implementation
Mozilla Public License 2.0
54 stars 12 forks source link

Implement `NetworkState::root` #381

Closed ureeves closed 2 years ago

ureeves commented 2 years ago

Each leaf of the contracts Hamt is annotaded with its hash - computed by hashing the contract id together with the contract state in sequence. These hashes are then Combined to produce one root hash.