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 #227

Conversation

Stefan-Ethernal
Copy link
Collaborator

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

Description

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.

@Stefan-Ethernal Stefan-Ethernal force-pushed the CDK-605-aggsender-check-that-an-error-parsing-certificate-header-error-doesnt-make-fail-the-transaction branch from 41abcd2 to 818d053 Compare December 5, 2024 13:19
@Stefan-Ethernal Stefan-Ethernal self-assigned this Dec 5, 2024
@Stefan-Ethernal Stefan-Ethernal force-pushed the CDK-605-aggsender-check-that-an-error-parsing-certificate-header-error-doesnt-make-fail-the-transaction branch from 818d053 to af40d3f Compare December 5, 2024 13:21
@Stefan-Ethernal Stefan-Ethernal force-pushed the CDK-605-aggsender-check-that-an-error-parsing-certificate-header-error-doesnt-make-fail-the-transaction branch 4 times, most recently from 0623926 to 291e61d Compare December 6, 2024 14:44
@Stefan-Ethernal Stefan-Ethernal force-pushed the CDK-605-aggsender-check-that-an-error-parsing-certificate-header-error-doesnt-make-fail-the-transaction branch from e64ecb0 to b308598 Compare December 7, 2024 06:38
@Stefan-Ethernal Stefan-Ethernal changed the title feat: use the GenericError from all the errors originating from the agglayer feat: use the GenericError for all the errors originating from the agglayer Dec 7, 2024
Copy link

sonarqubecloud bot commented Dec 9, 2024

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 merged commit 0b191c5 into release/v0.5.0 Dec 9, 2024
10 of 12 checks passed
@Stefan-Ethernal Stefan-Ethernal deleted the CDK-605-aggsender-check-that-an-error-parsing-certificate-header-error-doesnt-make-fail-the-transaction branch December 9, 2024 12:17
Stefan-Ethernal added a commit that referenced this pull request 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 added a commit that referenced this pull request Dec 10, 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 added a commit that referenced this pull request Dec 10, 2024
…agglayer (#227) (#236)

* 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
joanestebanr pushed a commit that referenced this pull request Dec 19, 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
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