Skip to content

Commit 702ce74

Browse files
Simulation: Add nonce to call parameter (hyperledger#8139)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
1 parent 74d22a0 commit 702ce74

File tree

333 files changed

+565
-660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

333 files changed

+565
-660
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
- Add support for `movePrecompileToAddress` in `StateOverrides` (`eth_call`)[8115](https://github.com/hyperledger/besu/pull/8115)
3232
- Default target-gas-limit to 36M for holesky [#8125](https://github.com/hyperledger/besu/pull/8125)
3333
- Add EIP-7623 - Increase calldata cost [#8093](https://github.com/hyperledger/besu/pull/8093)
34+
- Add nonce to transaction call object [#8139](https://github.com/hyperledger/besu/pull/8139)
3435

3536
### Bug fixes
3637
- Fix serialization of state overrides when `movePrecompileToAddress` is present [#8204](https://github.com/hyperledger/besu/pull/8024)

acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/transaction/eth/EthEstimateGasTransaction.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
*/
1515
package org.hyperledger.besu.tests.acceptance.dsl.transaction.eth;
1616

17+
import static org.web3j.protocol.core.DefaultBlockParameterName.LATEST;
18+
1719
import org.hyperledger.besu.tests.acceptance.dsl.transaction.NodeRequests;
1820
import org.hyperledger.besu.tests.acceptance.dsl.transaction.Transaction;
1921

@@ -36,11 +38,13 @@ public EthEstimateGasTransaction(final String contractAddress, final String func
3638
public EthEstimateGas execute(final NodeRequests node) {
3739
try {
3840

41+
var nonce = node.eth().ethGetTransactionCount(from, LATEST).send().getTransactionCount();
42+
3943
return node.eth()
4044
.ethEstimateGas(
4145
new org.web3j.protocol.core.methods.request.Transaction(
4246
from,
43-
BigInteger.ONE,
47+
nonce,
4448
BigInteger.ZERO,
4549
BigInteger.ZERO,
4650
contractAddress,

ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/graphql/internal/pojoadapter/BlockAdapterBase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ private Optional<CallResult> executeCall(final DataFetchingEnvironment environme
356356
maxFeePerGas,
357357
valueParam,
358358
data,
359+
Optional.empty(),
359360
Optional.empty());
360361

361362
return transactionSimulator.process(

ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/AbstractEstimateGas.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ protected CallParameter overrideGasLimit(final CallParameter callParams, final l
147147
callParams.getPayload(),
148148
callParams.getAccessList(),
149149
callParams.getMaxFeePerBlobGas(),
150-
callParams.getBlobVersionedHashes());
150+
callParams.getBlobVersionedHashes(),
151+
callParams.getNonce());
151152
}
152153

153154
/**

ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthCreateAccessList.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ private CallParameter overrideAccessList(
127127
callParams.getMaxFeePerGas(),
128128
callParams.getValue(),
129129
callParams.getPayload(),
130-
Optional.of(accessListEntries));
130+
Optional.of(accessListEntries),
131+
callParams.getNonce());
131132
}
132133

133134
private record AccessListSimulatorResult(

ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/parameters/JsonCallParameter.java

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import org.hyperledger.besu.datatypes.Address;
1919
import org.hyperledger.besu.datatypes.VersionedHash;
2020
import org.hyperledger.besu.datatypes.Wei;
21+
import org.hyperledger.besu.datatypes.parameters.UnsignedLongParameter;
2122
import org.hyperledger.besu.ethereum.core.json.ChainIdDeserializer;
2223
import org.hyperledger.besu.ethereum.core.json.GasDeserializer;
2324
import org.hyperledger.besu.ethereum.core.json.HexStringDeserializer;
@@ -56,6 +57,7 @@
5657
* .withMaxPriorityFeePerGas(Wei.of(1)) // Optional
5758
* .withMaxFeePerBlobGas(Wei.of(3)) // Optional
5859
* .withBlobVersionedHashes(blobVersionedHashes) // Optional
60+
* .withNonce(new UnsignedLongParameter(1L)) // Optional
5961
* .build();
6062
* }</pre>
6163
*
@@ -86,7 +88,8 @@ private JsonCallParameter(
8688
final Optional<Boolean> strict,
8789
final Optional<List<AccessListEntry>> accessList,
8890
final Optional<Wei> maxFeePerBlobGas,
89-
final Optional<List<VersionedHash>> blobVersionedHashes) {
91+
final Optional<List<VersionedHash>> blobVersionedHashes,
92+
final Optional<Long> nonce) {
9093

9194
super(
9295
chainId,
@@ -100,7 +103,8 @@ private JsonCallParameter(
100103
payload,
101104
accessList,
102105
maxFeePerBlobGas,
103-
blobVersionedHashes);
106+
blobVersionedHashes,
107+
nonce);
104108

105109
this.strict = strict;
106110
}
@@ -133,6 +137,7 @@ public static final class JsonCallParameterBuilder {
133137
private Bytes input;
134138
private Optional<List<AccessListEntry>> accessList = Optional.empty();
135139
private Optional<List<VersionedHash>> blobVersionedHashes = Optional.empty();
140+
private Optional<Long> nonce = Optional.empty();
136141

137142
/** Default constructor. */
138143
public JsonCallParameterBuilder() {}
@@ -327,6 +332,18 @@ public JsonCallParameterBuilder withBlobVersionedHashes(
327332
return this;
328333
}
329334

335+
/**
336+
* Sets the nonce for the {@link JsonCallParameter}. It is an optional parameter, and if not
337+
* specified, it defaults to an empty {@link Optional}.
338+
*
339+
* @param nonce the nonce, can be {@code null} to indicate no nonce is provided
340+
* @return the {@link JsonCallParameterBuilder} instance for chaining
341+
*/
342+
public JsonCallParameterBuilder withNonce(final UnsignedLongParameter nonce) {
343+
this.nonce = Optional.ofNullable(nonce).map(UnsignedLongParameter::getValue);
344+
return this;
345+
}
346+
330347
/**
331348
* Handles unknown JSON properties during deserialization. This method is invoked when an
332349
* unknown property is encountered in the JSON being deserialized into a {@link
@@ -376,7 +393,8 @@ public JsonCallParameter build() {
376393
strict,
377394
accessList,
378395
maxFeePerBlobGas,
379-
blobVersionedHashes);
396+
blobVersionedHashes,
397+
nonce);
380398
}
381399
}
382400
}

ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthEstimateGasTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ private CallParameter modifiedLegacyTransactionCallParameter(final Wei gasPrice)
579579
Optional.empty(),
580580
Wei.ZERO,
581581
Bytes.EMPTY,
582+
Optional.empty(),
582583
Optional.empty());
583584
}
584585

@@ -613,6 +614,7 @@ private CallParameter modifiedEip1559TransactionCallParameter(final Optional<Wei
613614
Optional.of(Wei.fromHexString("0x10")),
614615
Wei.ZERO,
615616
Bytes.EMPTY,
617+
Optional.empty(),
616618
Optional.empty());
617619
}
618620

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/debug/trace-call/debug_traceCall_all.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"gasPrice" : "0xef",
1010
"value" : "0x0",
1111
"data" : "0x0000000000000000000000000030000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000001",
12-
"nonce" : "0x0"
12+
"nonce" : "0x1E"
1313
}, "latest",
1414
{
1515
"disableMemory": true, "disableStack": true, "disableStorage": true

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/debug/trace-call/debug_traceCall_default.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"gasPrice" : "0xef",
1010
"value" : "0x0",
1111
"data" : "0x0000000000000000000000000030000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000001",
12-
"nonce" : "0x0"
12+
"nonce" : "0x1E"
1313
}, "latest" ],
1414
"id" : 1
1515
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/debug/trace-call/debug_traceCall_disableMemory.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"gasPrice" : "0xef",
1010
"value" : "0x0",
1111
"data" : "0x0000000000000000000000000030000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000001",
12-
"nonce" : "0x0"
12+
"nonce" : "0x1E"
1313
}, "latest",
1414
{
1515
"disableMemory":true

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/debug/trace-call/debug_traceCall_disableStack.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"gasPrice" : "0xef",
1010
"value" : "0x0",
1111
"data" : "0x0000000000000000000000000030000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000001",
12-
"nonce" : "0x0"
12+
"nonce" : "0x1E"
1313
}, "latest",
1414
{
1515
"disableStack": true

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/debug/trace-call/debug_traceCall_disableStorage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"gasPrice" : "0xef",
1010
"value" : "0x0",
1111
"data" : "0x0000000000000000000000000030000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000001",
12-
"nonce" : "0x0"
12+
"nonce" : "0x1E"
1313
}, "latest",
1414
{
1515
"disableStorage": true

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_02_0_stateDiff.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"to" : "0x0000000000000000000000000000000000000999",
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
11-
"value" : "0x1",
12-
"nonce" : "0x0"
11+
"value" : "0x1"
1312
}, [ "stateDiff" ], "latest" ],
1413
"id" : 0
1514
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_02_0_trace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"to" : "0x0000000000000000000000000000000000000999",
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
11-
"value" : "0x1",
12-
"nonce" : "0x0"
11+
"value" : "0x1"
1312
}, [ "trace" ], "latest" ],
1413
"id" : 0
1514
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_02_0_vmTrace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"to" : "0x0000000000000000000000000000000000000999",
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
11-
"value" : "0x1",
12-
"nonce" : "0x0"
11+
"value" : "0x1"
1312
}, [ "vmTrace" ], "latest" ],
1413
"id" : 53
1514
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_03_0_stateDiff.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"gas" : "0xfffff2",
99
"gasPrice" : "0xef",
1010
"value" : "0x0",
11-
"data" : "0x6004600C60003960046000F3600035FF",
12-
"nonce" : "0x0"
11+
"data" : "0x6004600C60003960046000F3600035FF"
1312
}, [ "stateDiff" ], "latest" ],
1413
"id" : 1
1514
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_03_0_trace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"gas" : "0xfffff2",
99
"gasPrice" : "0xef",
1010
"value" : "0x0",
11-
"data" : "0x6004600C60003960046000F3600035FF",
12-
"nonce" : "0x0"
11+
"data" : "0x6004600C60003960046000F3600035FF"
1312
}, [ "trace" ], "latest" ],
1413
"id" : 1
1514
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_03_0_vmTrace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"gas" : "0xfffff2",
99
"gasPrice" : "0xef",
1010
"value" : "0x0",
11-
"data" : "0x6004600C60003960046000F3600035FF",
12-
"nonce" : "0x0"
11+
"data" : "0x6004600C60003960046000F3600035FF"
1312
}, [ "vmTrace" ], "latest" ],
1413
"id" : 54
1514
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_04_0_stateDiff.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002"
1413
}, [ "stateDiff" ], "latest" ],
1514
"id" : 2
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_04_0_trace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002"
1413
}, [ "trace" ], "latest" ],
1514
"id" : 2
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_04_0_vmTrace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002"
1413
}, [ "vmTrace" ], "latest" ],
1514
"id" : 55
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_04_1_stateDiff.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004"
1413
}, [ "stateDiff" ], "latest" ],
1514
"id" : 3
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_04_1_trace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004"
1413
}, [ "trace" ], "latest" ],
1514
"id" : 3
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_04_1_vmTrace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004"
1413
}, [ "vmTrace" ], "latest" ],
1514
"id" : 56
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_04_2_stateDiff.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000"
1413
}, [ "stateDiff" ], "latest" ],
1514
"id" : 4
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_04_2_trace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000"
1413
}, [ "trace" ], "latest" ],
1514
"id" : 4
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_04_2_vmTrace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000"
1413
}, [ "vmTrace" ], "latest" ],
1514
"id" : 57
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_05_0_stateDiff.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000"
1413
}, [ "stateDiff" ], "latest" ],
1514
"id" : 5
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_05_0_trace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000"
1413
}, [ "trace" ], "latest" ],
1514
"id" : 5
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_05_0_vmTrace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000"
1413
}, [ "vmTrace" ], "latest" ],
1514
"id" : 58
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_06_0_stateDiff.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000999",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000999"
1413
}, [ "stateDiff" ], "latest" ],
1514
"id" : 6
1615
},

ethereum/api/src/test/resources/org/hyperledger/besu/ethereum/api/jsonrpc/trace/specs/trace-call/trace_call_06_0_trace.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"gas" : "0xfffff2",
1010
"gasPrice" : "0xef",
1111
"value" : "0x0",
12-
"data" : "0x0000000000000000000000000000000000000999",
13-
"nonce" : "0x0"
12+
"data" : "0x0000000000000000000000000000000000000999"
1413
}, [ "trace" ], "latest" ],
1514
"id" : 6
1615
},

0 commit comments

Comments
 (0)