-
Notifications
You must be signed in to change notification settings - Fork 79
chore: port hardhat tests to foundry
#1219
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Ihor Farion <ihor@umaproject.org>
Signed-off-by: Ihor Farion <ihor@umaproject.org>
|
This PR migrates the first of the tests under Let's merge it first to have a common base to use (like the fixture code) |
| uint256 constant OFT_FEE_CAP = 1 ether; | ||
| uint256 constant L2_MAX_SUBMISSION_COST = 0.01 ether; | ||
| uint256 constant L2_GAS_PRICE = 5 gwei; | ||
| uint32 constant RELAY_MESSAGE_L2_GAS_LIMIT = 2_000_000; | ||
| uint32 constant RELAY_TOKENS_L2_GAS_LIMIT = 300_000; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we just read these from the adapter contract rather than redeclaring them as constants here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah good point. Should we add something like a claude agent to our GH workspace somehow so that it can address fixes like this? I'll do this manually, but just a thought for the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed here 46ab8ab
Signed-off-by: Ihor Farion <ihor@umaproject.org>
Closes ACX-4890