diff --git a/app/app.go b/app/app.go index 537ff5a1..a701e587 100644 --- a/app/app.go +++ b/app/app.go @@ -149,13 +149,20 @@ var ( genutil.AppModuleBasic{}, bank.AppModuleBasic{}, capability.AppModuleBasic{}, + staking.AppModuleBasic{}, multistaking.AppModuleBasic{}, mint.AppModuleBasic{}, distr.AppModuleBasic{}, gov.NewAppModuleBasic( []govclient.ProposalHandler{ - paramsclient.ProposalHandler, distrclient.ProposalHandler, upgradeclient.LegacyProposalHandler, upgradeclient.LegacyCancelProposalHandler, - ibcclientclient.UpdateClientProposalHandler, ibcclientclient.UpgradeProposalHandler, + paramsclient.ProposalHandler, + distrclient.ProposalHandler, + upgradeclient.LegacyProposalHandler, + upgradeclient.LegacyCancelProposalHandler, + ibcclientclient.UpdateClientProposalHandler, + ibcclientclient.UpgradeProposalHandler, + multistaking.AddMultiStakingProposalHandler, + multistaking.UpdateBondWeightProposalHandler, }, ), params.AppModuleBasic{}, @@ -429,7 +436,8 @@ func New( AddRoute(paramproposal.RouterKey, params.NewParamChangeProposalHandler(app.ParamsKeeper)). AddRoute(distrtypes.RouterKey, distr.NewCommunityPoolSpendProposalHandler(app.DistrKeeper)). AddRoute(upgradetypes.RouterKey, upgrade.NewSoftwareUpgradeProposalHandler(app.UpgradeKeeper)). - AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IBCKeeper.ClientKeeper)) + AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IBCKeeper.ClientKeeper)). + AddRoute(multistakingtypes.RouterKey, multistaking.NewMultiStakingProposalHandler(&app.MultiStakingKeeper)) govConfig := govtypes.DefaultConfig() /* diff --git a/go.mod b/go.mod index 77123f96..5e68453a 100644 --- a/go.mod +++ b/go.mod @@ -205,7 +205,7 @@ replace ( // use cosmos flavored protobufs github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 - github.com/realio-tech/multi-staking-module => github.com/realiotech/multi-staking v1.0.0-rc2 + github.com/realio-tech/multi-staking-module => github.com/realiotech/multi-staking v1.0.0-rc4 // github.com/realio-tech/multi-staking-module => github.com/GNaD13/multi-staking v0.0.0-20240103093120-70811831ca3b // Informal Tendermint fork diff --git a/go.sum b/go.sum index fd4c72dd..5316944b 100644 --- a/go.sum +++ b/go.sum @@ -1032,8 +1032,8 @@ github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5X github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/realiotech/ethermint v0.21.0-realio-1 h1:x+RYL/yjTI+QTN0mppmwGR3N8h/DZAVnz8d1wTFtORM= github.com/realiotech/ethermint v0.21.0-realio-1/go.mod h1:0c+GK/UxT/wykI8InX9U1Pmnj1M4wPRMgJtibd/RnqI= -github.com/realiotech/multi-staking v1.0.0-rc2 h1:ExpH5+oR7DikN/ZZ7M+/VTrNwUAumWPUo5K2Q2Vu/uc= -github.com/realiotech/multi-staking v1.0.0-rc2/go.mod h1:GRUwhBGWtVwHX0yByxXdfpCLHm3PgWMG8dnXvhoIfog= +github.com/realiotech/multi-staking v1.0.0-rc4 h1:65d0Vp3YrqQTrBCcPtg3faeHl337szpbgEhlntvmXlo= +github.com/realiotech/multi-staking v1.0.0-rc4/go.mod h1:HRpXodvIQKZRxY8uYxF2wGdKcMZGXAlMXaeRUEERveQ= github.com/regen-network/cosmos-proto v0.3.1 h1:rV7iM4SSFAagvy8RiyhiACbWEGotmqzywPxOvwMdxcg= github.com/regen-network/cosmos-proto v0.3.1/go.mod h1:jO0sVX6a1B36nmE8C9xBFXpNwWejXC7QqCOnH3O0+YM= github.com/regen-network/protobuf v1.3.3-alpha.regen.1 h1:OHEc+q5iIAXpqiqFKeLpu5NwTIkVXUs48vFMwzqpqY4=