File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
packages/evm/test/precompiles Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -187,8 +187,6 @@ describe('runCall', () => {
187187 const hash = bytesToHex ( sha256 ( traceBytes ) )
188188 evm [ 'executionBlobs' ] . set ( hash , traceBytes )
189189
190- const caller = createAddressFromString ( '0x0000000000000000000000000000000000001234' )
191- await evm . stateManager . putAccount ( caller , createAccount ( { balance : 0xffffffffffffffffn } ) )
192190 const precompileAddrStr = '0x0000000000000000000000000000000000000012'
193191
194192 const input = concatBytes (
@@ -200,14 +198,10 @@ describe('runCall', () => {
200198
201199 const mainnetTx = {
202200 to : createAddressFromString ( precompileAddrStr ) ,
203- caller,
204- gasLimit : BigInt ( '0xffffffffff' ) ,
205- gasPrice : BigInt ( '0x1' ) ,
206- value : BigInt ( '0x1' ) ,
207201 data : input ,
208202 }
209203
210- const res2 = await evm . runCall ( mainnetTx )
204+ const res2 = await evm . runCall ( { ... mainnetTx , skipBalance : true } )
211205 assert . equal ( res2 . execResult . returnValue [ 0 ] , 1 )
212206 } )
213207} )
You can’t perform that action at this time.
0 commit comments