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

feat: allow metadata field of ImportedBridges as hash #228

Merged

Conversation

joanestebanr
Copy link
Contributor

@joanestebanr joanestebanr commented Dec 4, 2024

Description

The certificate field metadata of BridgeExit and ImportedBridgeExit instead of containing the full metadata are going to have the hash if length > 0.
This behevaiour can be configured using a new config param AggSender.BridgeMetadataAsHash (by default: true)

Other fixes:

  • Missing missing default values for L1InfoTreeSync.RetryAfterErrorPeriod and MaxRetryAttemptsAfterError
  • Improved estimateSize of certificate
  • Added e2e bridge messages but disabled because it keep failing (maybe we neeed another PR to fix that)

aggsender/aggsender.go Outdated Show resolved Hide resolved
aggsender/aggsender.go Outdated Show resolved Hide resolved
aggsender/aggsender.go Outdated Show resolved Hide resolved
aggsender/aggsender.go Outdated Show resolved Hide resolved
aggsender/config.go Outdated Show resolved Hide resolved
agglayer/types.go Outdated Show resolved Hide resolved
@joanestebanr joanestebanr merged commit 07d36a9 into release/v0.5.0 Dec 5, 2024
12 checks passed
@joanestebanr joanestebanr deleted the feature/aggsender_imported_bridge_metadata_hash branch December 5, 2024 17:20
goran-ethernal pushed a commit that referenced this pull request Dec 6, 2024
The certificate field `metadata`  of `BridgeExit` and `ImportedBridgeExit` instead of containing the full metadata are going to have the hash if length > 0. 
This behevaiour can be configured using a new config param `AggSender.BridgeMetadataAsHash` (by default: `true`)

Other fixes: 
- Missing missing default values for `L1InfoTreeSync.RetryAfterErrorPeriod` and `MaxRetryAttemptsAfterError`
- Improved estimateSize of certificate
- Added e2e bridge messages but disabled because it keep failing (maybe we neeed another PR to fix that)
goran-ethernal added a commit that referenced this pull request Dec 9, 2024
The certificate field `metadata`  of `BridgeExit` and `ImportedBridgeExit` instead of containing the full metadata are going to have the hash if length > 0. 
This behevaiour can be configured using a new config param `AggSender.BridgeMetadataAsHash` (by default: `true`)

Other fixes: 
- Missing missing default values for `L1InfoTreeSync.RetryAfterErrorPeriod` and `MaxRetryAttemptsAfterError`
- Improved estimateSize of certificate
- Added e2e bridge messages but disabled because it keep failing (maybe we neeed another PR to fix that)

Co-authored-by: Joan Esteban <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants