From 6ff2c50b0b82cb0ab9b99a66cace6ba4e0b7f277 Mon Sep 17 00:00:00 2001 From: Angel Soto Date: Wed, 4 Dec 2024 14:01:00 +0100 Subject: [PATCH] Rollback unneeded change --- rskj-core/src/main/java/org/ethereum/vm/program/Program.java | 2 +- .../co/rsk/rpc/modules/debug/trace/call/CallTracerTest.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/rskj-core/src/main/java/org/ethereum/vm/program/Program.java b/rskj-core/src/main/java/org/ethereum/vm/program/Program.java index 4573528fc8..4ee46950c7 100644 --- a/rskj-core/src/main/java/org/ethereum/vm/program/Program.java +++ b/rskj-core/src/main/java/org/ethereum/vm/program/Program.java @@ -633,7 +633,7 @@ private ProgramResult getProgramResult(RskAddress senderAddress, byte[] nonce, D InternalTransaction internalTx = addInternalTx(nonce, getGasLimit(), senderAddress, RskAddress.nullAddress(), endowment, programCode, "create"); ProgramInvoke programInvoke = programInvokeFactory.createProgramInvoke( this, DataWord.valueOf(contractAddress.getBytes()), getOwnerAddress(), value, gasLimit, - newBalance, programCode, track, this.invoke.getBlockStore(), false, byTestingSuite()); + newBalance, null, track, this.invoke.getBlockStore(), false, byTestingSuite()); returnDataBuffer = null; // reset return buffer right before the call diff --git a/rskj-core/src/test/java/co/rsk/rpc/modules/debug/trace/call/CallTracerTest.java b/rskj-core/src/test/java/co/rsk/rpc/modules/debug/trace/call/CallTracerTest.java index 246995bc8b..2b7b93c434 100644 --- a/rskj-core/src/test/java/co/rsk/rpc/modules/debug/trace/call/CallTracerTest.java +++ b/rskj-core/src/test/java/co/rsk/rpc/modules/debug/trace/call/CallTracerTest.java @@ -53,7 +53,6 @@ void retrieveSimpleStorageContractCreationTrace() throws Exception { WorldDslProcessor processor = new WorldDslProcessor(world); processor.processCommands(parser); - //Transaction transaction = world.getTransactionByName("tx01"); TransactionReceipt contractTransactionReceipt = world.getTransactionReceiptByName("tx01"); CallTracer callTracer = new CallTracer(world.getBlockStore(), world.getBlockExecutor(), web3InformationRetriever, receiptStore, world.getBlockChain());