fixed test case

pull/4065/head
haodi 3 years ago
parent 9f4fdcfe21
commit a22498858b
  1. 10
      rosetta/services/tx_operation_test.go

@ -660,7 +660,7 @@ var (
To: &vm.RosettaLogAddressItem{ To: &vm.RosettaLogAddressItem{
Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")), Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")),
}, },
Value: big.NewInt(0), Value: big.NewInt(1),
}, },
{ {
IsSuccess: true, IsSuccess: true,
@ -672,7 +672,7 @@ var (
To: &vm.RosettaLogAddressItem{ To: &vm.RosettaLogAddressItem{
Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")), Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")),
}, },
Value: big.NewInt(0), Value: big.NewInt(1),
}, },
{ {
IsSuccess: true, IsSuccess: true,
@ -684,7 +684,7 @@ var (
To: &vm.RosettaLogAddressItem{ To: &vm.RosettaLogAddressItem{
Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")), Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")),
}, },
Value: big.NewInt(0), Value: big.NewInt(1),
}, },
{ {
IsSuccess: true, IsSuccess: true,
@ -696,11 +696,11 @@ var (
To: &vm.RosettaLogAddressItem{ To: &vm.RosettaLogAddressItem{
Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")), Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")),
}, },
Value: big.NewInt(0), Value: big.NewInt(1),
}, },
} }
testExecResultForInternalTxValueSum = uint64( testExecResultForInternalTxValueSum = uint64(
0, 4,
) )
) )

Loading…
Cancel
Save