update beacon root again [skip ci] (#5903)

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
This commit is contained in:
Sally MacFarlane
2023-09-22 04:35:01 +10:00
committed by GitHub
parent 277424d8a1
commit c9489a4998

View File

@@ -24,10 +24,10 @@ import org.apache.tuweni.units.bigints.UInt256;
/** A helper class to store the parent beacon block root. */
public interface ParentBeaconBlockRootHelper {
// Modulus use to for the timestamp to store the root
// Modulus to use for the timestamp to store the root
public static final long HISTORICAL_ROOTS_MODULUS = 8191;
public static final Address BEACON_ROOTS_ADDRESS =
Address.fromHexString("0xBEaC020001c6C8B69E5257f4754e46e25f5dc9cB");
Address.fromHexString("0xbEAC020008aFF7331c0A389CB2AAb67597567d7a");
static void storeParentBeaconBlockRoot(
final WorldUpdater worldUpdater, final long timestamp, final Bytes32 root) {