From a22498858befa962d41dc49e125aec3522953d14 Mon Sep 17 00:00:00 2001 From: haodi <82733821@qq.com> Date: Sun, 27 Feb 2022 17:49:17 +0800 Subject: [PATCH] fixed test case --- rosetta/services/tx_operation_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rosetta/services/tx_operation_test.go b/rosetta/services/tx_operation_test.go index 3f56dc0b6..06dc4278b 100644 --- a/rosetta/services/tx_operation_test.go +++ b/rosetta/services/tx_operation_test.go @@ -660,7 +660,7 @@ var ( To: &vm.RosettaLogAddressItem{ Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")), }, - Value: big.NewInt(0), + Value: big.NewInt(1), }, { IsSuccess: true, @@ -672,7 +672,7 @@ var ( To: &vm.RosettaLogAddressItem{ Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")), }, - Value: big.NewInt(0), + Value: big.NewInt(1), }, { IsSuccess: true, @@ -684,7 +684,7 @@ var ( To: &vm.RosettaLogAddressItem{ Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")), }, - Value: big.NewInt(0), + Value: big.NewInt(1), }, { IsSuccess: true, @@ -696,11 +696,11 @@ var ( To: &vm.RosettaLogAddressItem{ Account: getAddressPtr(ethcommon.HexToAddress("0x4c4fde977fbbe722cddf5719d7edd488510be16a")), }, - Value: big.NewInt(0), + Value: big.NewInt(1), }, } testExecResultForInternalTxValueSum = uint64( - 0, + 4, ) )