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

Mailbox unit testing #559

Merged
merged 20 commits into from
Jul 3, 2024
Merged

Conversation

tommysr
Copy link
Contributor

@tommysr tommysr commented Jun 27, 2024

What ❔

Increased coverage in Mailbox unit tests.

Why ❔

Previously proving mechanism was mocked in the tests, now actual merkle tree is constructed, so is the merkle tree proof.

Checklist

test:

  • prove message inclusion success/failure
  • prove log inclusion success/failure
  • get base cost of transaction
  • finalize withdrawal success/failure
  • transaction request (check if all cases are included)

Copy link
Collaborator

@saxenism saxenism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed earlier: #489

@saxenism saxenism merged commit 1c1b93b into matter-labs:dev Jul 3, 2024
21 of 22 checks passed
Yberjon pushed a commit to neotheprogramist/era-contracts that referenced this pull request Aug 12, 2024
Failing CI check is for coverage and for external contributors, they are not permissioned enough to run this check. The reason being Github doesn't allow granting anything except read for tokens, when PR is from fork https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
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