Skip to content

L1 Beacon API fails "cannot unmarshal hex number with leading zero digits into Go struct field" #305

Open
@ErrorEater

Description

@ErrorEater

Here is the error output of base-node trying to connect to L1 Beacon node:
json: cannot unmarshal hex number with leading zero digits into Go struct field StorageProofEntry.storageProof.value of type *hexutil.Big

How to solve?

node-1       | t=2024-07-31T17:09:57+0000 lvl=info msg="Rollup Config" l2_chain_id=8453 l2_network=Base l1_chain_id=1 l1_network=mainnet l2_start_time=1686789347 l2_block_hash=0xf712aa9241cc24369b143cf6dce85f0902a9731e70d66818a3a5845b296c73dd l2_block_number=0 l1_block_hash=0x5c13d307623a926cd31415036c8b7fa14572f9dac64528e857a470511fc30771 l1_block_number=17481768 regolith_time="@ genesis" canyon_time="@ 1704992401 ~ Thu Jan 11 17:00:01 UTC 2024" delta_time="@ 1708560000 ~ Thu Feb 22 00:00:00 UTC 2024" ecotone_time="@ 1710374401 ~ Thu Mar 14 00:00:01 UTC 2024" fjord_time="@ 1720627201 ~ Wed Jul 10 16:00:01 UTC 2024" interop_time="(not configured)" plasma_mode=false
node-1       | t=2024-07-31T17:09:57+0000 lvl=info msg="Initializing rollup node" version=v1.7.7-f8143c8c-1717593043
node-1       | t=2024-07-31T17:09:57+0000 lvl=info msg="Connected to L1 Beacon API, ready for EIP-4844 blobs retrieval." version="Prysm/v5.0.4 (windows amd64)"
node-1       | t=2024-07-31T17:09:57+0000 lvl=error msg="failed to fetch runtime config data" err="required-protocol-version value failed to load from L1 contract: failed to fetch proof of storage slot 0x4aaefe95bd84fd3f32700cf3b7566bc944b73138e41958b5785826df2aecace0 at block 0x2ebf1718f743bb41b1b6efadf1443fb70fc311be0b85fbc56a9e5d1bb49c9848: json: cannot unmarshal hex number with leading zero digits into Go struct field StorageProofEntry.storageProof.value of type *hexutil.Big"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions