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: base token integration tests #2509

Open
wants to merge 91 commits into
base: main
Choose a base branch
from
Open

Conversation

cytadela8
Copy link
Member

@cytadela8 cytadela8 commented Jul 26, 2024

What ❔

  • Introduce 2 new tests for base token:
    • gas calculation
    • proper application of dynamic changes to base token ratio
  • Improve forced price client fluctuations implementation to limit difference between consecutive values.

Why ❔

  • We want better integration test coverage of custom base token

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zk fmt and zk lint.

@perekopskiy
Copy link
Contributor

it seems base ERC20 contract checks › Base token ratio is updated on L1 is flaky (check last run logs)

@cytadela8
Copy link
Member Author

Due to removal of zk based tests, this PR is blocked by #2898

@perekopskiy
Copy link
Contributor

@Deniallugo ^

@cytadela8
Copy link
Member Author

it seems base ERC20 contract checks › Base token ratio is updated on L1 is flaky (check last run logs)

I believe I found where the price was not set properly. Seems this was not "flaky", but permanently broken. pushing a fix...

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