Skip to content

Commit

Permalink
OTC: Use distribution keeper pointer with latest ABCI (#8)
Browse files Browse the repository at this point in the history
* Use distribution keeper pointer with latest ABCI

* Go.mod: Use updated cosmos-sdk for OTC
  • Loading branch information
wr1159 authored Sep 2, 2024
1 parent b097017 commit 533205d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ type EthermintApp struct {
StakingKeeper stakingkeeper.Keeper
SlashingKeeper slashingkeeper.Keeper
MintKeeper mintkeeper.Keeper
DistrKeeper distrkeeper.Keeper
DistrKeeper *distrkeeper.Keeper
GovKeeper govkeeper.Keeper
CrisisKeeper crisiskeeper.Keeper
UpgradeKeeper upgradekeeper.Keeper
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ require (
replace (
// use cosmos keyring
github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76
github.com/cometbft/cometbft => github.com/Switcheo/cometbft v0.38.6-0.20240610155832-d947aabd1250
github.com/cosmos/cosmos-sdk => github.com/Switcheo/cosmos-sdk v0.50.0-rc.0.0.20240611035703-d45cea2cb0b7
github.com/cometbft/cometbft => github.com/Switcheo/cometbft v0.38.6-0.20240722124433-29628c8806a8
github.com/cosmos/cosmos-sdk => github.com/Switcheo/cosmos-sdk v0.50.6-0.20240902041920-11e0bbc96faf

// Fix upstream GHSA-h395-qcrw-5vmq vulnerability.
// TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWX
github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 h1:fLjPD/aNc3UIOA6tDi6QXUemppXK3P9BI7mr2hd6gx8=
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/Switcheo/cometbft v0.38.6-0.20240610155832-d947aabd1250 h1:hX0FbEx8PvxQnSd84QAxi0XjvtzJUaSvsmuMuTY3Ttg=
github.com/Switcheo/cometbft v0.38.6-0.20240610155832-d947aabd1250/go.mod h1:0tqKin+KQs8zDwzYD8rPHzSBIDNPuB4NrwwGDNb/hUg=
github.com/Switcheo/cosmos-sdk v0.50.0-rc.0.0.20240611035703-d45cea2cb0b7 h1:z2fQ+dHix29clxtAdqLkq9sW3+35YoUMOqiOYtCXKQE=
github.com/Switcheo/cosmos-sdk v0.50.0-rc.0.0.20240611035703-d45cea2cb0b7/go.mod h1:cw8z2XRivTjjSgay7xsoTfYSL6asAko7iB2uO2EalNI=
github.com/Switcheo/cometbft v0.38.6-0.20240722124433-29628c8806a8 h1:fUFOV4miyinRQRgdZnTcfmMAyHqbf3B8SVRZehOxhc4=
github.com/Switcheo/cometbft v0.38.6-0.20240722124433-29628c8806a8/go.mod h1:0tqKin+KQs8zDwzYD8rPHzSBIDNPuB4NrwwGDNb/hUg=
github.com/Switcheo/cosmos-sdk v0.50.6-0.20240902041920-11e0bbc96faf h1:qqNkyb21YsDphScUbNQkScgHqIltFgHQJyg1pUwIa7s=
github.com/Switcheo/cosmos-sdk v0.50.6-0.20240902041920-11e0bbc96faf/go.mod h1:GaZy8yDfmrRxp85gK7fJSlmAndwivfMkhiVIjYYiaH4=
github.com/VictoriaMetrics/fastcache v1.6.0 h1:C/3Oi3EiBCqufydp1neRZkqcwmEiuRT9c3fqvvgKm5o=
github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw=
github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE=
Expand Down

0 comments on commit 533205d

Please sign in to comment.