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

Forwarding better practice #8

Merged
merged 3 commits into from
Jul 13, 2023
Merged

Forwarding better practice #8

merged 3 commits into from
Jul 13, 2023

Conversation

derpy-duck
Copy link
Contributor

No description provided.

// to have this be a parameter in 'borrow' and 'withdraw' that is determined in the front-end
uint256 constant GAS_LIMIT_FOR_WITHDRAWS_AND_BORROWS = 1_500_000;
// This value is larger because a request must be sent back
uint256 constant GAS_LIMIT_FOR_WITHDRAWS_AND_BORROWS = 600_000;
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems high

Copy link
Contributor Author

Choose a reason for hiding this comment

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

forwards take quite some gas :( I tried lowering it

@derpy-duck derpy-duck merged commit 037508e into main Jul 13, 2023
1 check passed
@derpy-duck derpy-duck deleted the forwarding-better-practice branch September 19, 2023 14:25
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.

None yet

2 participants