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: use the GenericError for all the errors originating from the agglayer (cherry-pick) #236

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

Stefan-Ethernal
Copy link
Collaborator

@Stefan-Ethernal Stefan-Ethernal commented Dec 9, 2024

Description

Cherry pick #227 to the develop branch.

Use the GenericError for all the errors originating from the agglayer. Even in case some error occurs when unmarshalling, suppress propagation and embed it into the GenericError instance.

Note: wait for #229 to get merged, in order to pass the unit tests.

@Stefan-Ethernal Stefan-Ethernal changed the title Cherry pick #227 chore: cherry pick PR #227 Dec 9, 2024
@Stefan-Ethernal Stefan-Ethernal changed the title chore: cherry pick PR #227 feat: use the GenericError for all the errors originating from the agglayer (cherry-pick) Dec 9, 2024
@Stefan-Ethernal Stefan-Ethernal changed the title feat: use the GenericError for all the errors originating from the agglayer (cherry-pick) feat: use the GenericError for all the errors originating from the agglayer (cherry-pick) Dec 9, 2024
…agglayer (#227)

* chore: update the versions.json

* Remove PPError interface and use the error instead

* Remove non-applicable test cases

* Rename

* test: increase UT coverage

* test: certificate status unmarshal json

* test: TestMerkleProofString

* test: TestGlobalIndexString

* test: move helper functions to a separate file

* test: TestL1InfoTreeLeafString

* test: TestClaimType

* test: parallel execution, renames
@Stefan-Ethernal Stefan-Ethernal force-pushed the chore/cherry-pick-pr-227 branch from 27139e6 to 37d79f9 Compare December 10, 2024 09:44
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
79.1% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@Stefan-Ethernal Stefan-Ethernal marked this pull request as ready for review December 10, 2024 12:23
@Stefan-Ethernal Stefan-Ethernal self-assigned this Dec 10, 2024
@Stefan-Ethernal Stefan-Ethernal merged commit a10bc78 into develop Dec 10, 2024
11 of 13 checks passed
@Stefan-Ethernal Stefan-Ethernal deleted the chore/cherry-pick-pr-227 branch December 10, 2024 15:07
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.

2 participants