Skip to content

Commit

Permalink
[fix] Reduce tokenfactory gas fee (#5468)
Browse files Browse the repository at this point in the history
* replaced tokenfactory gasfee

* added changelog

* Update x/tokenfactory/types/params.go

* Update params.go

* Update CHANGELOG.md

Co-authored-by: Matt, Park <[email protected]>

---------

Co-authored-by: Dev Ojha <[email protected]>
Co-authored-by: Matt, Park <[email protected]>
  • Loading branch information
3 people authored Jun 9, 2023
1 parent 7f7b8a5 commit 4be383b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
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 denom creation gas fee to 1_000_000

## 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
4 changes: 2 additions & 2 deletions x/tokenfactory/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ var (
KeyDenomCreationFee = []byte("DenomCreationFee")
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.
DefaultCreationGasFee = 1_000_000
)

// ParamTable for gamm module.
Expand Down

0 comments on commit 4be383b

Please sign in to comment.