@@ -887,18 +887,6 @@ func (suite *KeeperTestSuite) TestTraceTx() {
887
887
},
888
888
expPass : false ,
889
889
},
890
- {
891
- msg : "trace config - Execution Timeout" ,
892
- malleate : func () {
893
- traceConfig = & types.TraceConfig {
894
- DisableStack : true ,
895
- DisableStorage : true ,
896
- EnableMemory : false ,
897
- Timeout : "0s" ,
898
- }
899
- },
900
- expPass : false ,
901
- },
902
890
{
903
891
msg : "default tracer with contract creation tx as predecessor but 'create' param disabled" ,
904
892
malleate : func () {
@@ -984,8 +972,8 @@ func (suite *KeeperTestSuite) TestTraceTx() {
984
972
} else {
985
973
suite .Require ().Error (err )
986
974
}
987
- // Reset for next test case
988
- chainID = nil
975
+ // Reset for next test case
976
+ chainID = nil
989
977
})
990
978
}
991
979
@@ -1140,9 +1128,9 @@ func (suite *KeeperTestSuite) TestTraceBlock() {
1140
1128
TraceConfig : traceConfig ,
1141
1129
}
1142
1130
1143
- if chainID != nil {
1144
- traceReq .ChainId = chainID .Int64 ()
1145
- }
1131
+ if chainID != nil {
1132
+ traceReq .ChainId = chainID .Int64 ()
1133
+ }
1146
1134
1147
1135
res , err := suite .queryClient .TraceBlock (sdk .WrapSDKContext (suite .ctx ), & traceReq )
1148
1136
@@ -1157,8 +1145,8 @@ func (suite *KeeperTestSuite) TestTraceBlock() {
1157
1145
} else {
1158
1146
suite .Require ().Error (err )
1159
1147
}
1160
- // Reset for next case
1161
- chainID = nil
1148
+ // Reset for next case
1149
+ chainID = nil
1162
1150
})
1163
1151
}
1164
1152
@@ -1175,7 +1163,7 @@ func (suite *KeeperTestSuite) TestNonceInQuery() {
1175
1163
1176
1164
// do an EthCall/EstimateGas with nonce 0
1177
1165
ctorArgs , err := types .ERC20Contract .ABI .Pack ("" , address , supply )
1178
- suite .Require ().NoError (err )
1166
+ suite .Require ().NoError (err )
1179
1167
1180
1168
data := append (types .ERC20Contract .Bin , ctorArgs ... )
1181
1169
args , err := json .Marshal (& types.TransactionArgs {
0 commit comments