From ed4668b6ce910d8c082801d24fe1d62f01772d11 Mon Sep 17 00:00:00 2001 From: Sally MacFarlane Date: Wed, 11 Dec 2024 17:17:45 +1000 Subject: [PATCH] allow comments Signed-off-by: Sally MacFarlane --- .../hyperledger/besu/evmtool/t8n/prague-withdrawal-request.json | 2 ++ .../besu/ethereum/referencetests/ReferenceTestWorldState.java | 1 + 2 files changed, 3 insertions(+) diff --git a/ethereum/evmtool/src/test/resources/org/hyperledger/besu/evmtool/t8n/prague-withdrawal-request.json b/ethereum/evmtool/src/test/resources/org/hyperledger/besu/evmtool/t8n/prague-withdrawal-request.json index 35f9843231d..ffaa52e266f 100644 --- a/ethereum/evmtool/src/test/resources/org/hyperledger/besu/evmtool/t8n/prague-withdrawal-request.json +++ b/ethereum/evmtool/src/test/resources/org/hyperledger/besu/evmtool/t8n/prague-withdrawal-request.json @@ -52,6 +52,7 @@ } }, "0x09fc772d0857550724b07b850a4323f39112aaaa": { + "comment": "This is the runtime bytecode for the Withdrawal Request Smart Contract. The address is not the real value, this test is independent of the real address.", "nonce": "0x01", "balance": "0x00", "code": "0x3373fffffffffffffffffffffffffffffffffffffffe1460c7573615156028575f545f5260205ff35b36603814156101f05760115f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146101f057600182026001905f5b5f821115608057810190830284830290049160010191906065565b9093900434106101f057600154600101600155600354806003026004013381556001015f35815560010160203590553360601b5f5260385f601437604c5fa0600101600355005b6003546002548082038060101160db575060105b5f5b81811461017f5780604c02838201600302600401805490600101805490600101549160601b83528260140152807fffffffffffffffffffffffffffffffff0000000000000000000000000000000016826034015260401c906044018160381c81600701538160301c81600601538160281c81600501538160201c81600401538160181c81600301538160101c81600201538160081c81600101535360010160dd565b9101809214610191579060025561019c565b90505f6002555f6003555b5f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14156101c957505f5b6001546002828201116101de5750505f6101e4565b01600290035b5f555f600155604c025ff35b5f5ffd", @@ -82,6 +83,7 @@ "storage": {} }, "0x0000000000000000000000000000000000001000": { + "comment": "This is a proxy contract that calls 09fc772d0857550724b07b850a4323f39112aaaa ie Withdrawal Request", "nonce": "0x01", "balance": "0xad78ebc5ac62000000", "code": "0x60386000600037600060006038600060017309fc772d0857550724b07b850a4323f39112aaaa620f4240f150", diff --git a/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/ReferenceTestWorldState.java b/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/ReferenceTestWorldState.java index 8549a2dd150..36b4f8e9376 100644 --- a/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/ReferenceTestWorldState.java +++ b/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/ReferenceTestWorldState.java @@ -35,6 +35,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public interface ReferenceTestWorldState extends MutableWorldState { + @JsonIgnoreProperties(ignoreUnknown = true) class AccountMock { private final long nonce; private final Wei balance;