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

Post audit fixes for native token decimals feature #102

Merged
merged 24 commits into from
May 24, 2024

Conversation

gvladika
Copy link
Contributor

@gvladika gvladika commented Dec 22, 2023

When chain uses custom fee token which has non-18 decimals, that means that amount of locked funds on the parent chain is different than the amount of funds that will be minted on the child chain. This commit updates RollupCreator and DeployHelper (those contracts contain logic to deploy create2 deterministic factories to child chain via retrybles) so that amount of funds that needs to be locked is properly calculated.

Natspecs have been updated to make the denomination of retryable parameters more clear.

Also e2e tests have been refactored and improved to include more checks.

@cla-bot cla-bot bot added the s label Dec 22, 2023
@gvladika gvladika marked this pull request as ready for review January 17, 2024 14:50
Copy link
Member

@gzeoneth gzeoneth left a comment

Choose a reason for hiding this comment

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

LGTM

@gzeoneth gzeoneth merged commit b0126f5 into g-handle-decimals May 24, 2024
10 of 12 checks passed
@gzeoneth gzeoneth deleted the decimals-audit branch May 24, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants