Skip to content

Commit

Permalink
Merge pull request #79 from Team-Kujira/legacy_proposals
Browse files Browse the repository at this point in the history
Legacy proposals decoding support
  • Loading branch information
codehans authored Jul 31, 2024
2 parents 02cde7e + f07ffbb commit 0280c9e
Show file tree
Hide file tree
Showing 12 changed files with 4,469 additions and 1 deletion.
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

0 comments on commit 0280c9e

Please sign in to comment.