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

Error on claim to L1 from another rollup #596

Closed
joanestebanr opened this issue Mar 6, 2024 · 0 comments
Closed

Error on claim to L1 from another rollup #596

joanestebanr opened this issue Mar 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working zkevm-bridge-sync-rpc
Milestone

Comments

@joanestebanr
Copy link
Contributor

joanestebanr commented Mar 6, 2024

Version: v0.4.1

When another rollup make a Claim against L1 the bridge of the zkEVM try to store this claim on DB failing a constraint of database

networkID: 0, error storing new Claim in Block:  19373343, Claim: {MainnetFlag:false RollupIndex:1 Index:1 OriginalNetwork:0 OriginalAddress:0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c Amount:+500000000000000000 DestinationAddress:0xc66947359c7Fd2AF9763426DD78794529EaC4Ac4 BlockID:484667 BlockNumber:19373343 NetworkID:0 TxHash:0xad886975cd2d7ead0340bd955dd0d9639e03e950eb73a6ccf070ab7dc0ada1dd}, err: ERROR: duplicate key value violates unique constraint "claim_pkey" (SQLSTATE 23505)%!(EXTRA string=
/go/pkg/mod/github.com/0x!polygon!hermez/[email protected]!r!c18/log/log.go:142 github.com/0xPolygonHermez/zkevm-node/log.appendStackTraceMaybeArgs()
/go/pkg/mod/github.com/0x!polygon!hermez/[email protected]!r!c18/log/log.go:251 github.com/0xPolygonHermez/zkevm-node/log.Errorf()
/src/synchronizer/synchronizer.go:640 github.com/0xPolygonHermez/zkevm-bridge-service/synchronizer.(*ClientSynchronizer).processClaim()
/src/synchronizer/synchronizer.go:352 github.com/0xPolygonHermez/zkevm-bridge-service/synchronizer.(*ClientSynchronizer).processBlockRange()
/src/synchronizer/synchronizer.go:266 github.com/0xPolygonHermez/zkevm-bridge-service/synchronizer.(*ClientSynchronizer).syncBlocks()
/src/synchronizer/synchronizer.go:133 github.com/0xPolygonHermez/zkevm-bridge-service/synchronizer.(*ClientSynchronizer).Sync()
/src/cmd/run.go:166 main.runSynchronizer()
@joanestebanr joanestebanr self-assigned this Mar 6, 2024
@joanestebanr joanestebanr added bug Something isn't working zkevm-bridge-sync-rpc labels Mar 6, 2024
@joanestebanr joanestebanr added this to the v0.4.2 milestone Mar 6, 2024
joanestebanr added a commit that referenced this issue Mar 6, 2024
Release/v0.4.2
Fix claim from anothers rollup on L1 (#596)
Log version of bridge (#593)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working zkevm-bridge-sync-rpc
Projects
None yet
Development

No branches or pull requests

1 participant