Skip to content

Commit e9e83e6

Browse files
authored
Merge pull request #451 from persistenceOne/puneet/marshalpobmsgs
chore: add pob msgs to unmarshal testnet gov
2 parents f5e6746 + 36e705c commit e9e83e6

5 files changed

Lines changed: 15 additions & 9 deletions

File tree

app/encoding.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
"github.com/persistenceOne/persistence-sdk/v6/x/lsm/distribution"
1616
"github.com/persistenceOne/persistence-sdk/v6/x/lsm/staking"
1717
oracletypes "github.com/persistenceOne/persistence-sdk/v6/x/oracle/types"
18+
pobtypes "github.com/persistenceOne/persistence-sdk/v6/x/pob/types"
1819
liquidstakeibctypes "github.com/persistenceOne/pstake-native/v6/x/liquidstakeibc/types"
1920
lscosmostypes "github.com/persistenceOne/pstake-native/v6/x/lscosmos/types"
2021
ratesynctypes "github.com/persistenceOne/pstake-native/v6/x/ratesync/types"
@@ -68,6 +69,9 @@ func AppendModuleInterfaces(interfaceRegistry codectypes.InterfaceRegistry, mbm
6869

6970
// cosmos-sdk-lsm distribution msgs
7071
distribution.RegisterInterfaces(interfaceRegistry)
72+
73+
// skip-pob - testnet
74+
pobtypes.RegisterInterfaces(interfaceRegistry)
7175
}
7276

7377
func AppendModuleLegacyCodecs(amino *codec.LegacyAmino, mbm module.BasicManager) {
@@ -98,4 +102,6 @@ func AppendModuleLegacyCodecs(amino *codec.LegacyAmino, mbm module.BasicManager)
98102
// cosmos-sdk-lsm distribution msgs
99103
distribution.RegisterLegacyAminoCodec(amino)
100104

105+
// skip-pob - testnet
106+
pobtypes.RegisterLegacyAminoCodec(amino)
101107
}

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ require (
2727
github.com/cosmos/ibc-apps/modules/ibc-hooks/v10 v10.0.0-20250919123430-5596e0a03585
2828
github.com/cosmos/ibc-go/v10 v10.4.0
2929
github.com/cosmos/rosetta v0.50.12
30-
github.com/persistenceOne/persistence-sdk/v6 v6.0.0-rc2
31-
github.com/persistenceOne/pstake-native/v6 v6.0.0-rc3
30+
github.com/persistenceOne/persistence-sdk/v6 v6.1.0
31+
github.com/persistenceOne/pstake-native/v6 v6.0.0
3232
github.com/prometheus/client_golang v1.23.0
3333
github.com/spf13/cast v1.9.2
3434
github.com/spf13/cobra v1.10.1

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,10 +1585,10 @@ github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/9
15851585
github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4=
15861586
github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY=
15871587
github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac=
1588-
github.com/persistenceOne/persistence-sdk/v6 v6.0.0-rc2 h1:Eq1FOvNsBRWYUSfPYnFPimHY+8QhTnKpXmMpig1gAkk=
1589-
github.com/persistenceOne/persistence-sdk/v6 v6.0.0-rc2/go.mod h1:84QqyRSukc7fiqKJbRNCn75g07Nd8/D+Xsv6CjlY3XE=
1590-
github.com/persistenceOne/pstake-native/v6 v6.0.0-rc3 h1:m63m4y9URll98eWU7tqXMrcNGSt+0dxNCOM9e6wcQf0=
1591-
github.com/persistenceOne/pstake-native/v6 v6.0.0-rc3/go.mod h1:wDVXmOWPju995C6QKKUOEOqli7ckpf8M70vpNWQiClo=
1588+
github.com/persistenceOne/persistence-sdk/v6 v6.1.0 h1:tzLNxG3DTkXWInEm7GDkzKfTy78Lr1J+W8cnSMHryo4=
1589+
github.com/persistenceOne/persistence-sdk/v6 v6.1.0/go.mod h1:84QqyRSukc7fiqKJbRNCn75g07Nd8/D+Xsv6CjlY3XE=
1590+
github.com/persistenceOne/pstake-native/v6 v6.0.0 h1:iFJfm9YoHUymBWBbVlFkXJvjUZTdjS86gpcO6zH27JY=
1591+
github.com/persistenceOne/pstake-native/v6 v6.0.0/go.mod h1:wDVXmOWPju995C6QKKUOEOqli7ckpf8M70vpNWQiClo=
15921592
github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc=
15931593
github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0=
15941594
github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 h1:Dx7Ovyv/SFnMFw3fD4oEoeorXc6saIiQ23LrGLth0Gw=

interchaintest/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
github.com/cosmos/go-bip39 v1.0.0
1616
github.com/cosmos/ibc-go/v10 v10.4.0
1717
github.com/cosmos/interchaintest/v10 v10.0.1
18-
github.com/persistenceOne/pstake-native/v6 v6.0.0-rc3
18+
github.com/persistenceOne/pstake-native/v6 v6.0.0
1919
github.com/pkg/errors v0.9.1
2020
github.com/stretchr/testify v1.11.1
2121
go.uber.org/zap v1.27.0

interchaintest/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,8 +1494,8 @@ github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNc
14941494
github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4=
14951495
github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY=
14961496
github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac=
1497-
github.com/persistenceOne/pstake-native/v6 v6.0.0-rc3 h1:m63m4y9URll98eWU7tqXMrcNGSt+0dxNCOM9e6wcQf0=
1498-
github.com/persistenceOne/pstake-native/v6 v6.0.0-rc3/go.mod h1:wDVXmOWPju995C6QKKUOEOqli7ckpf8M70vpNWQiClo=
1497+
github.com/persistenceOne/pstake-native/v6 v6.0.0 h1:iFJfm9YoHUymBWBbVlFkXJvjUZTdjS86gpcO6zH27JY=
1498+
github.com/persistenceOne/pstake-native/v6 v6.0.0/go.mod h1:wDVXmOWPju995C6QKKUOEOqli7ckpf8M70vpNWQiClo=
14991499
github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 h1:Dx7Ovyv/SFnMFw3fD4oEoeorXc6saIiQ23LrGLth0Gw=
15001500
github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4=
15011501
github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY=

0 commit comments

Comments
 (0)