Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@

### Additions and Improvements
- Performance: Optimise EIP-196 AltBn128: EcAdd 33-128% faster, EcMul 8% faster [#9570](https://github.com/hyperledger/besu/pull/9570)
- Performance: Improved `getBlobsV2` by disabling HTTP response compression for engine API, with up to 10× throughput improvement observed for large numbers of blobs. [#9667](https://github.com/hyperledger/besu/pull/9667)
- Performance: Replace BytesTrieSet with HashSet, improves CREATE, CREATE2, SELFDESTRUCT and jumpdest analysis by up to 48% [#9641](https://github.com/hyperledger/besu/pull/9641)
- Update to Netty 4.2.9.Final [#9587](https://github.com/hyperledger/besu/pull/9587)
- Update to log4j 2.25.3 [#9600](https://github.com/hyperledger/besu/pull/9600)
- Add `engine_getBlobsV3` method [#9582](https://github.com/hyperledger/besu/pull/9582)
- Verify plugins on start [#9601](https://github.com/hyperledger/besu/pull/9601)
- 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)
- Add EIP-7778 to Amsterdam [#9664](https://github.com/hyperledger/besu/pull/9664)

### Bug fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
*/
package org.hyperledger.besu.ethereum.mainnet;

import org.hyperledger.besu.collections.trie.BytesTrieSet;
import org.hyperledger.besu.datatypes.Address;

import java.util.HashSet;
import java.util.Set;

public class CodeDelegationResult {
private final Set<Address> accessedDelegatorAddresses = new BytesTrieSet<>(Address.SIZE);
private final Set<Address> accessedDelegatorAddresses = new HashSet<>(Address.SIZE);
private long alreadyExistingDelegators = 0L;

public void addAccessedDelegatorAddress(final Address address) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import static org.hyperledger.besu.evm.worldstate.CodeDelegationHelper.getTarget;
import static org.hyperledger.besu.evm.worldstate.CodeDelegationHelper.hasCodeDelegation;

import org.hyperledger.besu.collections.trie.BytesTrieSet;
import org.hyperledger.besu.datatypes.AccessListEntry;
import org.hyperledger.besu.datatypes.Address;
import org.hyperledger.besu.datatypes.Hash;
Expand Down Expand Up @@ -47,6 +46,7 @@
import org.hyperledger.besu.evm.worldstate.WorldUpdater;

import java.util.Deque;
import java.util.HashSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
Expand Down Expand Up @@ -230,7 +230,7 @@ public TransactionProcessingResult processTransaction(

operationTracer.tracePrepareTransaction(worldState, transaction);

final Set<Address> eip2930WarmAddressList = new BytesTrieSet<>(Address.SIZE);
final Set<Address> eip2930WarmAddressList = new HashSet<>(Address.SIZE);

final long previousNonce = sender.incrementNonce();
LOG.trace(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import static java.nio.charset.StandardCharsets.UTF_8;
import static picocli.CommandLine.ScopeType.INHERIT;

import org.hyperledger.besu.collections.trie.BytesTrieSet;
import org.hyperledger.besu.config.NetworkDefinition;
import org.hyperledger.besu.datatypes.Address;
import org.hyperledger.besu.datatypes.Hash;
Expand Down Expand Up @@ -54,6 +53,7 @@
import java.util.Collections;
import java.util.Comparator;
import java.util.Deque;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -467,7 +467,7 @@ public void run() {
var contractAccount = updater.getOrCreate(contract);
contractAccount.setCode(codeBytes);

final Set<Address> addressList = new BytesTrieSet<>(Address.SIZE);
final Set<Address> addressList = new HashSet<>(Address.SIZE);
addressList.add(sender);
addressList.add(contract);
if (EvmSpecVersion.SHANGHAI.compareTo(evm.getEvmVersion()) <= 0) {
Expand Down

This file was deleted.

Loading