@@ -772,7 +772,7 @@ func TestCopyCommitCopy(t *testing.T) {
772
772
t .Fatalf ("second copy non-committed storage slot mismatch: have %x, want %x" , val , sval )
773
773
}
774
774
if val := copyTwo .GetCommittedState (addr , skey ); val != (common.Hash {}) {
775
- t .Fatalf ("second copy committed storage slot mismatch: have %x, want %x" , val , sval )
775
+ t .Fatalf ("second copy committed storage slot mismatch: have %x, want %x" , val , common. Hash {} )
776
776
}
777
777
// Commit state, ensure states can be loaded from disk
778
778
root , _ := state .Commit (0 , false , false )
@@ -859,7 +859,7 @@ func TestCopyCopyCommitCopy(t *testing.T) {
859
859
t .Fatalf ("third copy non-committed storage slot mismatch: have %x, want %x" , val , sval )
860
860
}
861
861
if val := copyThree .GetCommittedState (addr , skey ); val != (common.Hash {}) {
862
- t .Fatalf ("third copy committed storage slot mismatch: have %x, want %x" , val , sval )
862
+ t .Fatalf ("third copy committed storage slot mismatch: have %x, want %x" , val , common. Hash {} )
863
863
}
864
864
}
865
865
@@ -912,10 +912,10 @@ func TestCommitCopy(t *testing.T) {
912
912
}
913
913
// Slots cached in the stateDB, available after commit
914
914
if val := copied .GetState (addr , skey2 ); val != sval2 {
915
- t .Fatalf ("unexpected storage slot: have %x" , sval1 )
915
+ t .Fatalf ("unexpected storage slot: have %x, want %x " , val , sval2 )
916
916
}
917
917
if val := copied .GetCommittedState (addr , skey2 ); val != sval2 {
918
- t .Fatalf ("unexpected storage slot: have %x" , val )
918
+ t .Fatalf ("unexpected storage slot: have %x, want %x " , val , sval2 )
919
919
}
920
920
}
921
921
0 commit comments