We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Follow up to #1903 (comment), make this fixed gas fee into a pool-level param for more customizability.
Right now we use a BalancerGasFeeForSwap fixed constant, we'll need to update that logic when we swap.
BalancerGasFeeForSwap
Add a new field to PoolParams for balancer and stableswap pools, use this field to consume gas during applySwap.
PoolParams
applySwap
pool_test.go
swap_test.go
The text was updated successfully, but these errors were encountered:
Per chain-dev call, we decided to keep this as a static-hard coded value.
Sorry, something went wrong.
alexanderbez
No branches or pull requests
Background
Follow up to #1903 (comment), make this fixed gas fee into a pool-level param for more customizability.
Right now we use a
BalancerGasFeeForSwap
fixed constant, we'll need to update that logic when we swap.Suggested Design
Add a new field to
PoolParams
for balancer and stableswap pools, use this field to consume gas duringapplySwap
.Acceptance Criteria
PoolParams
struct updated, prepare for contract migrationpool_test.go
and updated tests inswap_test.go
The text was updated successfully, but these errors were encountered: