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

[fix] Reduce tokenfactory gas fee #5468

Merged
merged 5 commits into from
Jun 9, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ and control over token transfers.
* [#4801](https://github.com/osmosis-labs/osmosis/pull/4801) refactor: remove GetTotalShares, GetTotalLiquidity and GetExitFee from PoolI
* [#4951](https://github.com/osmosis-labs/osmosis/pull/4951) feat: implement pool liquidity query in pool manager, deprecate the one in gamm
* [#5000](https://github.com/osmosis-labs/osmosis/pull/5000) osmomath.Power panics for base < 1 to temporarily restrict broken logic for such base.
* [#5468](https://github.com/osmosis-labs/osmosis/pull/5468) fix: Reduce tokenfactory gas fee
ValarDragon marked this conversation as resolved.
Show resolved Hide resolved

## Dependencies
* [#4783](https://github.com/osmosis-labs/osmosis/pull/4783) Update wasmd to 0.31
Expand Down
1 change: 1 addition & 0 deletions cmd/osmosisd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import (
"github.com/joho/godotenv"

"github.com/cosmos/cosmos-sdk/client/config"

osmosis "github.com/osmosis-labs/osmosis/v16/app"
)

Expand Down
3 changes: 2 additions & 1 deletion x/tokenfactory/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ var (
KeyDenomCreationGasConsume = []byte("DenomCreationGasConsume")

// For choice, see: https://github.com/osmosis-labs/osmosis/pull/4983
DefaultCreationGasFee = 40_000_000
// chosen as an arbitrary large number, less than the max_gas_wanted_per_tx in config.
ValarDragon marked this conversation as resolved.
Show resolved Hide resolved
DefaultCreationGasFee = 1_000_000
)

// ParamTable for gamm module.
Expand Down