Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
osmosis
Commits
01747026
Commit
01747026
authored
2 years ago
by
mattverse
Browse files
Options
Download
Email Patches
Plain Diff
Add store
parent
6bf52f0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/upgrades/v13/constants.go
+6
-1
app/upgrades/v13/constants.go
x/swaprouter/keeper.go
+1
-1
x/swaprouter/keeper.go
with
7 additions
and
2 deletions
+7
-2
app/upgrades/v13/constants.go
+
6
-
1
View file @
01747026
...
...
@@ -4,6 +4,9 @@ import (
"github.com/osmosis-labs/osmosis/v12/app/upgrades"
store
"github.com/cosmos/cosmos-sdk/store/types"
concentratedliquiditytypes
"github.com/osmosis-labs/osmosis/v12/x/concentrated-liquidity/types"
swaproutertypes
"github.com/osmosis-labs/osmosis/v12/x/swaprouter/types"
)
// UpgradeName defines the on-chain upgrade name for the Osmosis v9 upgrade.
...
...
@@ -12,5 +15,7 @@ const UpgradeName = "v13"
var
Upgrade
=
upgrades
.
Upgrade
{
UpgradeName
:
UpgradeName
,
CreateUpgradeHandler
:
CreateUpgradeHandler
,
StoreUpgrades
:
store
.
StoreUpgrades
{},
StoreUpgrades
:
store
.
StoreUpgrades
{
Added
:
[]
string
{
swaproutertypes
.
StoreKey
,
concentratedliquiditytypes
.
StoreKey
},
},
}
This diff is collapsed.
Click to expand it.
x/swaprouter/keeper.go
+
1
-
1
View file @
01747026
...
...
@@ -26,7 +26,7 @@ func NewKeeper(storeKey sdk.StoreKey, paramSpace paramtypes.Subspace, gammKeeper
paramSpace
=
paramSpace
.
WithKeyTable
(
types
.
ParamKeyTable
())
}
return
&
Keeper
{
storeKey
:
storeKey
,
paramSpace
:
paramSpace
}
return
&
Keeper
{
storeKey
:
storeKey
,
paramSpace
:
paramSpace
,
concentratedKeeper
:
concentratedKeeper
,
gammKeeper
:
gammKeeper
}
}
// GetParams returns the total set of swaprouter parameters.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets