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

Legacy proposals decoding support #79

Merged
merged 5 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
"path/filepath"

appparams "github.com/Team-Kujira/core/app/params"
legacygovalliance "github.com/Team-Kujira/core/legacygov/alliance"
legacygovscheduler "github.com/Team-Kujira/core/legacygov/scheduler"

"github.com/cosmos/cosmos-sdk/client/grpc/cmtservice"
"github.com/cosmos/gogoproto/proto"
Expand Down Expand Up @@ -297,6 +299,8 @@ func New(
std.RegisterInterfaces(interfaceRegistry)
kujiracryptocodec.RegisterCrypto(legacyAmino)
kujiracryptocodec.RegisterInterfaces(interfaceRegistry)
legacygovalliance.RegisterInterfaces(interfaceRegistry)
legacygovscheduler.RegisterInterfaces(interfaceRegistry)

bApp := baseapp.NewBaseApp(Name, logger, db, txConfig.TxDecoder(), baseAppOptions...)
bApp.SetCommitMultiStoreTracer(traceStore)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ require (
github.com/cosmos/ibc-go/modules/capability v1.0.0
github.com/cosmos/rosetta v0.50.4
github.com/hashicorp/go-metrics v0.5.3
google.golang.org/protobuf v1.33.0
)

require (
Expand Down Expand Up @@ -202,7 +203,6 @@ require (
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gotest.tools/v3 v3.5.1 // indirect
Expand Down
Loading
Loading