Skip to content

Commit

Permalink
#1748 fixing compatibiliti with geth prestate
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Dec 26, 2023
1 parent dcd700e commit 89599c0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/historicstate/hardhat/scripts/trace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,16 @@ async function verifyPrestateTraceAgainstGethTrace(_fileName: string) {
return;
}


if (difference.kind == "N" && difference.path!.length == 2) {
let address = difference.path![0];
let key = difference.path![1];

if (address == "CALL.address" && key == "nonce")
return;
}


if (difference.kind == "D" && difference.path!.length == 1) {
let address = difference.path![0];
if (address == ZERO_ADDRESS)
Expand Down

0 comments on commit 89599c0

Please sign in to comment.