-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: overwrite ArbitrageMinGasPrice config from .005 to 0.1 (bac…
…kport #7368) (#7383) * refactor: overwrite ArbitrageMinGasPrice config from .005 to 0.1 (#7368) Closes: #XXX ## What is the purpose of the change To address the failing arbitrage spam taking up block space, we will increase [arbitrage-min-gas-fee](https://github.com/osmosis-labs/osmosis/blob/3aaf5d117f96df0092b0375d0c8de0a12850d092/cmd/osmosisd/cmd/root.go#L540) to be near the order of magnitude of 0.1 OSMO. CL Swap is around 600K gas wanted and 340K gas used. Let's assume a middle ground of 450K and aim to have the arb pay approximately 0.05 OSMO. ``` 0.045 = 450_000 * 0.1 / 10**6 ``` As a result, 0.1 is an appropriate choice. ## Testing and Verifying Tested the following vectors: - new config - does no overwrite other values - old value is "0.005" -> overwritten - old value is ".005" -> overwritten - old value is something else -> does not change ## Documentation and Release Note - [ ] Does this pull request introduce a new feature or user-facing behavior changes? - [ ] Changelog entry added to `Unreleased` section of `CHANGELOG.md`? Where is the change documented? - [ ] Specification (`x/{module}/README.md`) - [ ] Osmosis documentation site - [ ] Code comments? - [ ] N/A (cherry picked from commit af1ed8c) * changelog --------- Co-authored-by: Roman <roman@osmosis.team>
- Loading branch information
1 parent
a467e7c
commit 7af3665
Showing
2 changed files
with
93 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters