Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.13.0 Error:invalid withdrawals: fork inactive, unexpected attribute set #28134

Closed
alias-bitsignal opened this issue Sep 17, 2023 · 1 comment · Fixed by #28135
Closed

v1.13.0 Error:invalid withdrawals: fork inactive, unexpected attribute set #28134

alias-bitsignal opened this issue Sep 17, 2023 · 1 comment · Fixed by #28135
Labels

Comments

@alias-bitsignal
Copy link

alias-bitsignal commented Sep 17, 2023

System information

Geth version: geth 1.13.0
CL client & version: prysm Version v4.0.8
OS & Version: Ubuntu 20.04.6 LTS

Actual behaviour

Updated geth to version 1.13.0, enabled pebble, removed LevelDB, synced from scratch (ancients included) with --state.scheme=path and then noticed missed proposal.

geth log

Sep 16 15:44:37 NLDW4-2-37-42 geth[326408]: WARN [09-16|15:44:37.395] Served engine_forkchoiceUpdatedV2        conn=127.0.0.1:56958 reqid=62839                     duration=3.354485ms err="Invalid parameters"            errdata="{Error:invalid withdrawals: fork inactive, unexpected attribute set}"
Sep 16 15:44:47 NLDW4-2-37-42 geth[326408]: WARN [09-16|15:44:47.077] Served engine_forkchoiceUpdatedV2        conn=127.0.0.1:56958 reqid=62841                     duration="221.26µs" err="Invalid parameters"            errdata="{Error:invalid withdrawals: fork inactive, unexpected attribute set}"

prysm beacon log

Sep 16 15:44:47 NLDW4-2-37-42 beacon-chain[262130]: time="2023-09-16 15:44:47" level=error msg="Could not pack deposits and attestations" error="rpc error: code = Internal desc = Could not get attestations to pack into block: could not filter attestations: context canceled" prefix="rpc/validator"

prysm validator log

Sep 16 15:44:47 NLDW4-2-37-42 validator[262177]: time="2023-09-16 15:44:47" level=error msg="Failed to request block from beacon node" blockSlot=[number] error="rpc error: code = Unknown desc = could not build block in parallel: rpc error: code = Internal desc = Could not get local payload: could not prepare payload: invalid method parameter(s)" prefix=validator
@potuz
Copy link

potuz commented Sep 17, 2023

Seems the problem is this:

func checkAttribute(active func(*big.Int, uint64) bool, exists bool, time uint64) error {
        if active(common.Big0, time) && !exists {
                return errors.New("fork active, missing expected attribute")
        }
        if !active(common.Big0, time) && exists {
                return errors.New("fork inactive, unexpected attribute set")
        }
        return nil
}

You are passing 0 and then checking here

func (c *ChainConfig) IsLondon(num *big.Int) bool {
        return isBlockForked(c.LondonBlock, num)
}

So that you get that it's not active and the attribute is set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants