Commit 10bbb65a authored by George Hotz's avatar George Hotz

odd mismatch

parent e32d3502
...@@ -6,6 +6,8 @@ import { Lib_BytesUtils } from "./Lib_BytesUtils.sol"; ...@@ -6,6 +6,8 @@ import { Lib_BytesUtils } from "./Lib_BytesUtils.sol";
import { Lib_RLPReader } from "./Lib_RLPReader.sol"; import { Lib_RLPReader } from "./Lib_RLPReader.sol";
import { Lib_RLPWriter } from "./Lib_RLPWriter.sol"; import { Lib_RLPWriter } from "./Lib_RLPWriter.sol";
//import "hardhat/console.sol";
/** /**
* @title Lib_MerkleTrie * @title Lib_MerkleTrie
*/ */
......
...@@ -80,10 +80,10 @@ func TestCompareEvmChain(t *testing.T) { ...@@ -80,10 +80,10 @@ func TestCompareEvmChain(t *testing.T) {
for i := 0; i < totalSteps; i++ { for i := 0; i < totalSteps; i++ {
x, y := <-cchain, <-cuni x, y := <-cchain, <-cuni
fmt.Println(i, x, y)
if x != y { if x != y {
log.Fatal("mismatch at step", i) log.Fatal("mismatch at step", i)
} }
fmt.Println(i, x, y)
} }
/*ParseNode(root, 0, func(t common.Hash) []byte { /*ParseNode(root, 0, func(t common.Hash) []byte {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment