#5868: fix beacon root address and modulus for devnet 9 (#5871)

Signed-off-by: Stefan <stefan.pingel@consensys.net>
pull/5875/head
Stefan Pingel 1 year ago committed by GitHub
parent 1fa21e2f1a
commit e841cec35f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/ParentBeaconBlockRootHelper.java

@ -25,9 +25,9 @@ import org.apache.tuweni.units.bigints.UInt256;
public class ParentBeaconBlockRootHelper {
// Modulus use to for the timestamp to store the root
public static final long HISTORICAL_ROOTS_MODULUS = 98304;
public static final long HISTORICAL_ROOTS_MODULUS = 8191;
public static final Address BEACON_ROOTS_ADDRESS =
Address.fromHexString("0xbEac00dDB15f3B6d645C48263dC93862413A222D");
Address.fromHexString("0xBEaC020001c6C8B69E5257f4754e46e25f5dc9cB");
public static void storeParentBeaconBlockRoot(
final WorldUpdater worldUpdater, final long timestamp, final Bytes32 root) {

Loading…
Cancel
Save