File tree 1 file changed +1
-7
lines changed
packages/evm/test/precompiles
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -187,8 +187,6 @@ describe('runCall', () => {
187
187
const hash = bytesToHex ( sha256 ( traceBytes ) )
188
188
evm [ 'executionBlobs' ] . set ( hash , traceBytes )
189
189
190
- const caller = createAddressFromString ( '0x0000000000000000000000000000000000001234' )
191
- await evm . stateManager . putAccount ( caller , createAccount ( { balance : 0xffffffffffffffffn } ) )
192
190
const precompileAddrStr = '0x0000000000000000000000000000000000000012'
193
191
194
192
const input = concatBytes (
@@ -200,14 +198,10 @@ describe('runCall', () => {
200
198
201
199
const mainnetTx = {
202
200
to : createAddressFromString ( precompileAddrStr ) ,
203
- caller,
204
- gasLimit : BigInt ( '0xffffffffff' ) ,
205
- gasPrice : BigInt ( '0x1' ) ,
206
- value : BigInt ( '0x1' ) ,
207
201
data : input ,
208
202
}
209
203
210
- const res2 = await evm . runCall ( mainnetTx )
204
+ const res2 = await evm . runCall ( { ... mainnetTx , skipBalance : true } )
211
205
assert . equal ( res2 . execResult . returnValue [ 0 ] , 1 )
212
206
} )
213
207
} )
You can’t perform that action at this time.
0 commit comments