Skip to content

Commit 81442f2

Browse files
Revert "Add EIP 7778 to Amsterdam (besu-eth#9664)"
This reverts commit efb004f Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 parent 5d9d991 commit 81442f2

File tree

38 files changed

+72
-2168
lines changed

38 files changed

+72
-2168
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,11 @@
8282
- Update to log4j 2.25.3 [#9600](https://github.com/hyperledger/besu/pull/9600)
8383
- Add `engine_getBlobsV3` method [#9582](https://github.com/hyperledger/besu/pull/9582)
8484
- Verify plugins on start [#9601](https://github.com/hyperledger/besu/pull/9601)
85+
- Improved `getBlobsV2` performance by disabling HTTP response compression, with up to 10× throughput improvement observed for large numbers of blobs. [#9667](https://github.com/hyperledger/besu/pull/9667)
8586
- Add EIP-7778 to Amsterdam [#9664](https://github.com/hyperledger/besu/pull/9664)
8687
- Treat EndOfRLPException as invalid packet in peer discovery, meaning you will no longer see these exceptions, unless you enable DEBUG logs [#9597](https://github.com/hyperledger/besu/pull/9597)
8788

89+
8890
### Bug fixes
8991
- Fix promotion to prioritized layer for gas price fee markets [#9635](https://github.com/hyperledger/besu/pull/9635)
9092
- Fix callTracer to properly capture nested calls and populate revertReason field when transactions revert [#9651](https://github.com/hyperledger/besu/pull/9651)

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

Lines changed: 0 additions & 50 deletions
This file was deleted.

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

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -73,27 +73,6 @@ public EthGetTransactionReceiptWithRevertReason getTransactionReceiptWithRevertR
7373
return new EthGetTransactionReceiptWithRevertReason(transactionHash);
7474
}
7575

76-
/**
77-
* Fetches a transaction receipt with gasSpent field (EIP-7778, Amsterdam+).
78-
*
79-
* @param transactionHash the hash of the transaction
80-
* @return the transaction to fetch the receipt with gasSpent
81-
*/
82-
public EthGetTransactionReceiptWithGasSpent getTransactionReceiptWithGasSpent(
83-
final String transactionHash) {
84-
return new EthGetTransactionReceiptWithGasSpent(transactionHash);
85-
}
86-
87-
/**
88-
* Fetches a block with slotNumber field (EIP-7843, Amsterdam+).
89-
*
90-
* @param blockNumber the block number as hex string (e.g., "0x1") or "latest"
91-
* @return the transaction to fetch the block with slotNumber
92-
*/
93-
public EthGetBlockWithSlotNumber getBlockWithSlotNumber(final String blockNumber) {
94-
return new EthGetBlockWithSlotNumber(blockNumber);
95-
}
96-
9776
public EthMiningTransaction mining() {
9877
return new EthMiningTransaction();
9978
}
@@ -109,12 +88,4 @@ public EthNewPendingTransactionFilterTransaction newPendingTransactionsFilter()
10988
public EthFilterChangesTransaction filterChanges(final BigInteger filterId) {
11089
return new EthFilterChangesTransaction(filterId);
11190
}
112-
113-
public EthCallTransaction call(final String contractAddress, final String functionCall) {
114-
return new EthCallTransaction(contractAddress, functionCall);
115-
}
116-
117-
public EthCallTransaction call(final String contractAddress) {
118-
return new EthCallTransaction(contractAddress, "0x");
119-
}
12091
}

acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/transaction/net/CustomRequestFactory.java

Lines changed: 0 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -47,65 +47,6 @@ public String getRevertReason() {
4747
public static class EthGetTransactionReceiptWithRevertReasonResponse
4848
extends Response<TransactionReceiptWithRevertReason> {}
4949

50-
/**
51-
* Transaction receipt that includes the gasSpent field introduced by EIP-7778 (Amsterdam+). This
52-
* extends the standard web3j TransactionReceipt to include the new field.
53-
*/
54-
public static class TransactionReceiptWithGasSpent extends TransactionReceipt {
55-
private String gasSpent;
56-
57-
public TransactionReceiptWithGasSpent() {}
58-
59-
public void setGasSpent(final String gasSpent) {
60-
this.gasSpent = gasSpent;
61-
}
62-
63-
public String getGasSpent() {
64-
return gasSpent;
65-
}
66-
}
67-
68-
public static class EthGetTransactionReceiptWithGasSpentResponse
69-
extends Response<TransactionReceiptWithGasSpent> {}
70-
71-
/**
72-
* Block result that includes the slotNumber field introduced by EIP-7843 (Amsterdam+). This
73-
* provides access to the slot number field that is not available in standard web3j EthBlock.
74-
*/
75-
public static class BlockWithSlotNumber {
76-
private String number;
77-
private String hash;
78-
private String slotNumber;
79-
80-
public BlockWithSlotNumber() {}
81-
82-
public String getNumber() {
83-
return number;
84-
}
85-
86-
public void setNumber(final String number) {
87-
this.number = number;
88-
}
89-
90-
public String getHash() {
91-
return hash;
92-
}
93-
94-
public void setHash(final String hash) {
95-
this.hash = hash;
96-
}
97-
98-
public String getSlotNumber() {
99-
return slotNumber;
100-
}
101-
102-
public void setSlotNumber(final String slotNumber) {
103-
this.slotNumber = slotNumber;
104-
}
105-
}
106-
107-
public static class EthGetBlockWithSlotNumberResponse extends Response<BlockWithSlotNumber> {}
108-
10950
public CustomRequestFactory(final Web3jService web3jService) {
11051
this.web3jService = web3jService;
11152
}
@@ -123,35 +64,4 @@ public Request<?, NetServicesResponse> netServices() {
12364
web3jService,
12465
EthGetTransactionReceiptWithRevertReasonResponse.class);
12566
}
126-
127-
/**
128-
* Fetches a transaction receipt with gasSpent field (EIP-7778, Amsterdam+).
129-
*
130-
* @param transactionHash the hash of the transaction
131-
* @return the request that returns a receipt with gasSpent
132-
*/
133-
public Request<?, EthGetTransactionReceiptWithGasSpentResponse>
134-
ethGetTransactionReceiptWithGasSpent(final String transactionHash) {
135-
return new Request<>(
136-
"eth_getTransactionReceipt",
137-
Collections.singletonList(transactionHash),
138-
web3jService,
139-
EthGetTransactionReceiptWithGasSpentResponse.class);
140-
}
141-
142-
/**
143-
* Fetches a block by number with slotNumber field (EIP-7843, Amsterdam+).
144-
*
145-
* @param blockNumber the block number (hex string like "0x1" or "latest")
146-
* @param fullTransactionObjects whether to return full transaction objects
147-
* @return the request that returns a block with slotNumber
148-
*/
149-
public Request<?, EthGetBlockWithSlotNumberResponse> ethGetBlockByNumberWithSlotNumber(
150-
final String blockNumber, final boolean fullTransactionObjects) {
151-
return new Request<>(
152-
"eth_getBlockByNumber",
153-
Arrays.asList(blockNumber, fullTransactionObjects),
154-
web3jService,
155-
EthGetBlockWithSlotNumberResponse.class);
156-
}
15767
}

0 commit comments

Comments
 (0)