Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <[email protected]>
  • Loading branch information
jsign committed Oct 25, 2024
1 parent f4a98cf commit 8461f91
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
Binary file added cmd/evm/__debug_bin3936612204
Binary file not shown.
3 changes: 3 additions & 0 deletions cmd/evm/internal/t8ntool/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@ func MakePreState(db ethdb.Database, chainConfig *params.ChainConfig, pre *Prest
}

root, _ := statedb.Commit(0, false)
// If the VKT prestate is empty, this means that the "parent" root is the MPT.
// If we don't do this, we'd consider the "parent" to be an empty VKT which isn't
// correct.
if pre.VKT != nil {
parentRoot = root
}
Expand Down
47 changes: 47 additions & 0 deletions cmd/evm/witness.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"Proof": {
"otherStems": [],
"depthExtensionPresent": "0x0a",
"commitmentsByPath": [
"0x05e33850e1e7ca66aa9938e6cdb359aca31fd06acaa71a061bd4a01b3e014971",
"0x0cfedfa1725688aaae1d054e22d0ddb8540d142a7814cb99af60f57fdba72b76"
],
"d": "0x4c26ee4e5f02e8ccc17dc1e10d853fb2286e198a1ed470d8233a48dfbe8b8d05",
"ipaProof": {
"cl": [
"0x27623ae5a288d1b7ca04d75e7f4b05c4a4b885f7b70b9b11c8198efb4ba1e6d3",
"0x1d9540f8440e3b6fa2a8c87e28ca1738577e7ea1a949cb98780205e20889aba7",
"0x4afb1ce7ee6656cf6791e2b8cec6bb384769153d4cf5b0432fc9c0f59867f7c2",
"0x63820ed3c7659609af372a039135979f06484dc3f92423312d6b95e1fad4922b",
"0x608ba894947d7e343fcc9c996307329cd24b4f9bbfd334b589be06c6a33ba3b6",
"0x4042f7ecfab2915843c949975c604fd2f728c39ab23faf80cd021c0ce85d3156",
"0x3be5690a1a4dd498c69354b70a9ecf4b536ce8e91c99aa1420d1911c8151afd3",
"0x2acd6da28d4ec54e40250ba099ed98771a2a04e51bbb464b2d19c056937e871d"
],
"cr": [
"0x22653c8cee62204c3d8bc9b66c651568855822c00d227271cb278fcf6a4ed60e",
"0x1567a28bcf7ba8dd9c9547bd744bf99f4f2782b20c9e1ca402f39f9e862f202d",
"0x42774a3d7de5db4f001a682455914d159efe707252afbe2fa8990ad1466aceeb",
"0x396db37c826655881bed75c2319d4b4614a233a827a1548ecaec95712145356e",
"0x6ed72905e7928d89735ef855c5d49900d61f916b3d0664264ff1a58b0a76fd58",
"0x3cb54261bbaaababf8906ec5159e717aead68c63dfd53ff915cd8463ba977bf5",
"0x6e7e7d0fe47f64aefb765842b23757f46866873719fda5c3f7035cf93d857f08",
"0x6414bcbcb6923c00d2832dbfa57a4fd721cb90574312d1274dfcab7f5871c28c"
],
"finalEvaluation": "0x0ba36470bbfc0015d8bc39c9d47711189fda92b5442375281fa136969a9d2785"
}
},
"Diff": [
{
"stem": "0x5b5fdfedd6a0e932da408ac7d772a36513d1eee9b9926e52620c43a433aad7",
"suffixDiffs": [
{
"suffix": 66,
"currentValue": null,
"newValue": "0xda13976dd1c69473fc90aab37301ed325ae2c62bc858dcd6b996967ab8d1905c"
}
]
}
],
"ParentRoot": "0x02ee6c366ca68ecb8cc4d071fddaa35cf4c9aef57db07ebf13ff448f4bbeabde"
}

0 comments on commit 8461f91

Please sign in to comment.