From 5465048b96dd6fdd07540ada3ff2a74fce8126ae Mon Sep 17 00:00:00 2001 From: Dimo99 Date: Tue, 20 Aug 2024 17:28:14 +0300 Subject: [PATCH] fix(evm): SSZ library to work for deneb fork --- .../adapters/Telepathy/libraries/SimpleSerialize.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/evm/contracts/adapters/Telepathy/libraries/SimpleSerialize.sol b/packages/evm/contracts/adapters/Telepathy/libraries/SimpleSerialize.sol index 055b96af..17ec7541 100644 --- a/packages/evm/contracts/adapters/Telepathy/libraries/SimpleSerialize.sol +++ b/packages/evm/contracts/adapters/Telepathy/libraries/SimpleSerialize.sol @@ -3,8 +3,8 @@ pragma solidity ^0.8.20; library SSZ { // G-indicies for the BeaconBlockHeader -> bodyRoot -> executionPayload -> {blockNumber, blockHash} - uint256 internal constant EXECUTION_PAYLOAD_BLOCK_NUMBER_INDEX = 3222; - uint256 internal constant EXECUTION_PAYLOAD_BLOCK_HASH_INDEX = 3228; + uint256 internal constant EXECUTION_PAYLOAD_BLOCK_NUMBER_INDEX = 6438; + uint256 internal constant EXECUTION_PAYLOAD_BLOCK_HASH_INDEX = 6444; // G-index for the BeaconBlockHeader -> slot uint256 internal constant SLOT_INDEX = 8;