Skip to content

Conversation

@Stefan-Ethernal
Copy link
Contributor

@Stefan-Ethernal Stefan-Ethernal commented Dec 30, 2025

🔄 Changes Summary

Make indexing of claim events backward compatible in a way that even for the sovereign chain deployments (namely the one which deploy the AgglayerBridgeL2), we still index the ClaimEvent as well. On the first occurrence of DetailedClaimEvent, we inhibit the further processing of the (legacy) ClaimEvent.

This PR brings a couple of minor changes not related to the retro compatibility of claim events indexing:

  • correct the error message if querying of lastDepositCount on the AgglayerBridge contract fails
  • fix make lint target, so that it uses the golangci-lint-v2, since we are running the configuration for the golangci-lint-v2. This change also requires golangci-lint-v2 to be installed in the GOPATH

⚠️ Breaking Changes

N/A

📋 Config Updates

N/A

✅ Testing

  • 🤖 Automatic: [Optional: Enumerate E2E tests]
  • 🖱️ Manual: [Optional: Steps to verify]

🐞 Issues

  • Closes #[issue-number]

🔗 Related PRs

  • [Optional: Enumerate related pull requests]

📝 Notes

Cherry pick of #1435

Make indexing of claim events backward compatible in a way that even for
the sovereign chain deployments (namely the one which deploy the
`AgglayerBridgeL2`), we still index the `ClaimEvent` as well. On the
first occurrence of `DetailedClaimEvent`, we inhibit the further
processing of the (legacy) `ClaimEvent`.
- correct the error message if querying of `lastDepositCount` on the
`AgglayerBridge` contract fails
- fix make lint target, so that it uses the golangci-lint-v2, since we
are running the configuration for the `golangci-lint-v2`. This change
also requires `golangci-lint-v2` to be installed in the `GOPATH`
N/A
N/A
- 🤖 **Automatic**: [Optional: Enumerate E2E tests]
- 🖱️ **Manual**: [Optional: Steps to verify]
- Closes #1433
@Stefan-Ethernal Stefan-Ethernal changed the title fix: preserve retro compatibility of claim events indexing (#1435) fix: preserve retro compatibility of claim events indexing (cherry-pick) Dec 30, 2025
@Stefan-Ethernal Stefan-Ethernal self-assigned this Dec 30, 2025
@Stefan-Ethernal Stefan-Ethernal marked this pull request as ready for review December 30, 2025 09:08
@Stefan-Ethernal Stefan-Ethernal enabled auto-merge (squash) December 30, 2025 10:23
@sonarqubecloud
Copy link

@Stefan-Ethernal Stefan-Ethernal merged commit d867668 into develop Dec 30, 2025
22 checks passed
@Stefan-Ethernal Stefan-Ethernal deleted the fix/cherrypick-retro-compat-claim-events branch December 30, 2025 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants