Skip to content

Commit

Permalink
v6 upgrade work
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrit committed Jan 27, 2025
1 parent 2b6ebe2 commit 0ad72d4
Showing 70 changed files with 2,284 additions and 2,012 deletions.
4 changes: 4 additions & 0 deletions go.work.sum
Original file line number Diff line number Diff line change
@@ -271,6 +271,7 @@ cloud.google.com/go/workflows v1.12.3 h1:qocsqETmLAl34mSa01hKZjcqAvt699gaoFbooGG
cloud.google.com/go/workflows v1.12.3/go.mod h1:fmOUeeqEwPzIU81foMjTRQIdwQHADi/vEr1cx9R1m5g=
collectd.org v0.3.0 h1:iNBHGw1VvPJxH2B6RiFWFZ+vsjo1lCdRszBeOuwGi00=
cosmossdk.io/log v1.3.0/go.mod h1:HIDyvWLqZe2ovlWabsDN4aPMpY/nUEquAhgfTf2ZzB8=
cosmossdk.io/log v1.4.1 h1:wKdjfDRbDyZRuWa8M+9nuvpVYxrEOwbD/CA8hvhU8QM=
cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0=
cosmossdk.io/simapp v0.0.0-20230323161446-0af178d721ff/go.mod h1:AKzx6Mb544LjJ9RHmGFHjY9rEOLiUAi8I0F727TR0dY=
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
@@ -530,6 +531,7 @@ github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960Bvc
github.com/cosmos/cosmos-sdk v0.47.8/go.mod h1:VTAtthIsmfplanhFfUTfT6ED4F+kkJxT7nmvmKXRthI=
github.com/cosmos/cosmos-sdk/db v1.0.0-beta.1.0.20220726092710-f848e4300a8a h1:2humuGPw3O5riJVFq/E2FRjF57UrO97W1qJcGVmK+6k=
github.com/cosmos/cosmos-sdk/db v1.0.0-beta.1.0.20220726092710-f848e4300a8a/go.mod h1:c8IO23vgNxueCCJlSI9awQtcxsvc+buzaeThB85qfBU=
github.com/cosmos/gogoproto v1.7.0 h1:79USr0oyXAbxg3rspGh/m4SWNyoz/GLaAh0QlCe2fro=
github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw=
github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
@@ -1165,6 +1167,7 @@ github.com/rs/xid v1.3.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
github.com/rs/xid v1.5.0 h1:mKX4bl4iPYJtEIxp6CYiUuLQ/8DYMoz0PUdtGgMFRVc=
github.com/rs/zerolog v1.27.0/go.mod h1:7frBqO0oezxmnO7GF86FY++uy8I0Tk/If5ni1G9Qc0U=
github.com/rs/zerolog v1.31.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss=
github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8=
github.com/russross/blackfriday v1.6.0/go.mod h1:ti0ldHuxg49ri4ksnFxlkCfN+hvslNlmVHqNRXXJNAY=
github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245 h1:K1Xf3bKttbF+koVGaX5xngRIZ5bVjbmPnaxE/dR08uY=
github.com/ryancurrah/gomodguard v1.2.4 h1:CpMSDKan0LtNGGhPrvupAoLeObRFjND8/tU1rEOtBp4=
@@ -1472,6 +1475,7 @@ golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI=
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
8 changes: 4 additions & 4 deletions integration_tests/chain.go
Original file line number Diff line number Diff line change
@@ -39,10 +39,10 @@ import (
upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"
ibctransfer "github.com/cosmos/ibc-go/v7/modules/apps/transfer"
ibc "github.com/cosmos/ibc-go/v7/modules/core"
"github.com/peggyjv/gravity-bridge/module/v5/app"
"github.com/peggyjv/gravity-bridge/module/v5/app/params"
gravityclient "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/client"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
"github.com/peggyjv/gravity-bridge/module/v6/app"
"github.com/peggyjv/gravity-bridge/module/v6/app/params"
gravityclient "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/client"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
)

const (
2 changes: 1 addition & 1 deletion integration_tests/ethereum.go
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
)

type EthereumConfig struct {
2 changes: 1 addition & 1 deletion integration_tests/ethereum/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14-alpine3.13
FROM node:23.6-alpine3.21

RUN apk update
RUN apk add --no-cache git python3 make build-base
2,607 changes: 1,234 additions & 1,373 deletions integration_tests/ethereum/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion integration_tests/happy_path_test.go
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ import (
govtypesv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
"github.com/ethereum/go-ethereum/common"
"github.com/ory/dockertest/v3"
"github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
"github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
)

func (s *IntegrationTestSuite) TestHappyPath() {
2 changes: 1 addition & 1 deletion integration_tests/setup_test.go
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/ory/dockertest/v3"
"github.com/ory/dockertest/v3/docker"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
"github.com/spf13/viper"
"github.com/stretchr/testify/suite"
)
2 changes: 1 addition & 1 deletion integration_tests/transaction_stress_test.go
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/ethereum/go-ethereum/common"
"github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
"github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
)

// We have 4 validators running so this totals to 100 tx's
4 changes: 2 additions & 2 deletions integration_tests/validator.go
Original file line number Diff line number Diff line change
@@ -28,8 +28,8 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/crypto"
"github.com/peggyjv/gravity-bridge/module/v5/app"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
"github.com/peggyjv/gravity-bridge/module/v6/app"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
)

type validator struct {
2 changes: 1 addition & 1 deletion integration_tests/validator_out.go
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/ethereum/go-ethereum/common"
"github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
"github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
)

// Validator out tests a validator that is not running the mandatory Ethereum node. This validator will be slashed and the bridge will remain functioning.
2 changes: 1 addition & 1 deletion integration_tests/valset_stress_test.go
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/staking/types"
gravity "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
gravity "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
)

// call stress_test for a range of nonce values
21 changes: 15 additions & 6 deletions module/app/app.go
Original file line number Diff line number Diff line change
@@ -94,12 +94,13 @@ import (
icaexported "github.com/cosmos/ibc-go/v7/modules/core/exported"
ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper"
"github.com/gorilla/mux"
gravityparams "github.com/peggyjv/gravity-bridge/module/v5/app/params"
v5 "github.com/peggyjv/gravity-bridge/module/v5/app/upgrades/v5"
"github.com/peggyjv/gravity-bridge/module/v5/x/gravity"
gravityclient "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/client"
"github.com/peggyjv/gravity-bridge/module/v5/x/gravity/keeper"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
gravityparams "github.com/peggyjv/gravity-bridge/module/v6/app/params"
v5 "github.com/peggyjv/gravity-bridge/module/v6/app/upgrades/v5"
v6 "github.com/peggyjv/gravity-bridge/module/v6/app/upgrades/v6"
"github.com/peggyjv/gravity-bridge/module/v6/x/gravity"
gravityclient "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/client"
"github.com/peggyjv/gravity-bridge/module/v6/x/gravity/keeper"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
"github.com/rakyll/statik/fs"
"github.com/spf13/cast"

@@ -930,4 +931,12 @@ func (app *Gravity) setupUpgradeHandlers() {
app.configurator,
),
)

app.upgradeKeeper.SetUpgradeHandler(
v6.UpgradeName,
v6.CreateUpgradeHandler(
app.mm,
app.configurator,
),
)
}
2 changes: 1 addition & 1 deletion module/app/encoding.go
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ package app

import (
"github.com/cosmos/cosmos-sdk/std"
gravityparams "github.com/peggyjv/gravity-bridge/module/v5/app/params"
gravityparams "github.com/peggyjv/gravity-bridge/module/v6/app/params"
)

// MakeEncodingConfig creates an EncodingConfig for gravity.
2 changes: 1 addition & 1 deletion module/app/upgrades/v2/upgrades.go
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/module"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
)

func CreateUpgradeHandler(
4 changes: 2 additions & 2 deletions module/app/upgrades/v2/upgrades_test.go
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/ethereum/go-ethereum/common"
"github.com/peggyjv/gravity-bridge/module/v5/x/gravity/keeper"
"github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
"github.com/peggyjv/gravity-bridge/module/v6/x/gravity/keeper"
"github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
"github.com/stretchr/testify/require"
)

3 changes: 3 additions & 0 deletions module/app/upgrades/v6/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# v6 upgrade

This upgrade contains security fixes for bugs reported through our bug bounty program.
4 changes: 4 additions & 0 deletions module/app/upgrades/v6/constants.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package v6

// UpgradeName defines the on-chain upgrade name for the Gravity v6 upgrade
const UpgradeName = "v6"
18 changes: 18 additions & 0 deletions module/app/upgrades/v6/upgrades.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package v6

import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
)

func CreateUpgradeHandler(
mm *module.Manager,
configurator module.Configurator,
) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
ctx.Logger().Info("v6 upgrade: entering handler")

return mm.RunMigrations(ctx, configurator, fromVM)
}
}
2 changes: 1 addition & 1 deletion module/cmd/gravity/cmd/gentx.go
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/genutil/types"
"github.com/cosmos/cosmos-sdk/x/staking/client/cli"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types"
)

// GenTxCmd builds the application's gentx command.
4 changes: 2 additions & 2 deletions module/cmd/gravity/cmd/root.go
Original file line number Diff line number Diff line change
@@ -31,8 +31,8 @@ import (
"github.com/spf13/cast"
"github.com/spf13/cobra"

"github.com/peggyjv/gravity-bridge/module/v5/app"
"github.com/peggyjv/gravity-bridge/module/v5/app/params"
"github.com/peggyjv/gravity-bridge/module/v6/app"
"github.com/peggyjv/gravity-bridge/module/v6/app/params"
)

// NewRootCmd creates a new root command for simd. It is called once in the
2 changes: 1 addition & 1 deletion module/cmd/gravity/cmd/root_test.go
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/keys"
"github.com/cosmos/cosmos-sdk/crypto/hd"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
"github.com/peggyjv/gravity-bridge/module/v5/app"
"github.com/peggyjv/gravity-bridge/module/v6/app"
"github.com/spf13/cobra"
"github.com/stretchr/testify/require"
)
2 changes: 1 addition & 1 deletion module/cmd/gravity/main.go
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import (
"os"

"github.com/cosmos/cosmos-sdk/server"
"github.com/peggyjv/gravity-bridge/module/v5/cmd/gravity/cmd"
"github.com/peggyjv/gravity-bridge/module/v6/cmd/gravity/cmd"
)

func main() {
14 changes: 7 additions & 7 deletions module/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/peggyjv/gravity-bridge/module/v5
module github.com/peggyjv/gravity-bridge/module/v6

go 1.22

@@ -7,12 +7,12 @@ toolchain go1.22.2
require (
cosmossdk.io/api v0.3.1
cosmossdk.io/errors v1.0.1
cosmossdk.io/math v1.3.0
cosmossdk.io/math v1.4.0
github.com/cometbft/cometbft v0.37.5
github.com/cometbft/cometbft-db v0.11.0
github.com/cosmos/cosmos-proto v1.0.0-beta.5
github.com/cosmos/cosmos-sdk v0.47.13
github.com/cosmos/gogoproto v1.4.10
github.com/cosmos/cosmos-sdk v0.47.15
github.com/cosmos/gogoproto v1.7.0
github.com/cosmos/ibc-go/v7 v7.8.0
github.com/ethereum/go-ethereum v1.10.22
github.com/golang/protobuf v1.5.4
@@ -36,7 +36,7 @@ require (
cloud.google.com/go/storage v1.36.0 // indirect
cosmossdk.io/core v0.5.1 // indirect
cosmossdk.io/depinject v1.0.0-alpha.4 // indirect
cosmossdk.io/log v1.3.1 // indirect
cosmossdk.io/log v1.4.1 // indirect
cosmossdk.io/tools/rosetta v0.2.1 // indirect
filippo.io/edwards25519 v1.0.0 // indirect
github.com/99designs/keyring v1.2.1 // indirect
@@ -149,7 +149,7 @@ require (
github.com/rjeczalik/notify v0.9.1 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/rs/cors v1.8.3 // indirect
github.com/rs/zerolog v1.32.0 // indirect
github.com/rs/zerolog v1.33.0 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sasha-s/go-deadlock v0.3.1 // indirect
@@ -177,7 +177,7 @@ require (
golang.org/x/net v0.23.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/sys v0.22.0 // indirect
golang.org/x/term v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
24 changes: 12 additions & 12 deletions module/go.sum
Original file line number Diff line number Diff line change
@@ -192,10 +192,10 @@ cosmossdk.io/depinject v1.0.0-alpha.4 h1:PLNp8ZYAMPTUKyG9IK2hsbciDWqna2z1Wsl98ok
cosmossdk.io/depinject v1.0.0-alpha.4/go.mod h1:HeDk7IkR5ckZ3lMGs/o91AVUc7E596vMaOmslGFM3yU=
cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0=
cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U=
cosmossdk.io/log v1.3.1 h1:UZx8nWIkfbbNEWusZqzAx3ZGvu54TZacWib3EzUYmGI=
cosmossdk.io/log v1.3.1/go.mod h1:2/dIomt8mKdk6vl3OWJcPk2be3pGOS8OQaLUM/3/tCM=
cosmossdk.io/math v1.3.0 h1:RC+jryuKeytIiictDslBP9i1fhkVm6ZDmZEoNP316zE=
cosmossdk.io/math v1.3.0/go.mod h1:vnRTxewy+M7BtXBNFybkuhSH4WfedVAAnERHgVFhp3k=
cosmossdk.io/log v1.4.1 h1:wKdjfDRbDyZRuWa8M+9nuvpVYxrEOwbD/CA8hvhU8QM=
cosmossdk.io/log v1.4.1/go.mod h1:k08v0Pyq+gCP6phvdI6RCGhLf/r425UT6Rk/m+o74rU=
cosmossdk.io/math v1.4.0 h1:XbgExXFnXmF/CccPPEto40gOO7FpWu9yWNAZPN3nkNQ=
cosmossdk.io/math v1.4.0/go.mod h1:O5PkD4apz2jZs4zqFdTr16e1dcaQCc5z6lkEnrrppuk=
cosmossdk.io/tools/rosetta v0.2.1 h1:ddOMatOH+pbxWbrGJKRAawdBkPYLfKXutK9IETnjYxw=
cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8MhhO9Hw=
filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek=
@@ -339,16 +339,16 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk=
github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis=
github.com/cosmos/cosmos-proto v1.0.0-beta.5 h1:eNcayDLpip+zVLRLYafhzLvQlSmyab+RC5W7ZfmxJLA=
github.com/cosmos/cosmos-proto v1.0.0-beta.5/go.mod h1:hQGLpiIUloJBMdQMMWb/4wRApmI9hjHH05nefC0Ojec=
github.com/cosmos/cosmos-sdk v0.47.13 h1:9d57rl2ilSgc8a6u1JAulqNX/E5w8lbqbRe3NON3Jb4=
github.com/cosmos/cosmos-sdk v0.47.13/go.mod h1:pYMzhTfKFn9AJB5X64Epwe9NgYk0y3v7XN8Ks5xqWoo=
github.com/cosmos/cosmos-sdk v0.47.15 h1:xuIkX4IgpnRydiwxY2fI5nWy0SkRVvWvumWtGigwJdk=
github.com/cosmos/cosmos-sdk v0.47.15/go.mod h1:6L16fRG0ZinyyYMclrVAGqTUyb5UGu/hlx5oZEI6NAY=
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y=
github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY=
github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw=
github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE=
github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ4GUkT+tbFI=
github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU=
github.com/cosmos/gogoproto v1.4.10 h1:QH/yT8X+c0F4ZDacDv3z+xE3WU1P1Z3wQoLMBRJoKuI=
github.com/cosmos/gogoproto v1.4.10/go.mod h1:3aAZzeRWpAwr+SS/LLkICX2/kDFyaYVzckBDzygIxek=
github.com/cosmos/gogoproto v1.7.0 h1:79USr0oyXAbxg3rspGh/m4SWNyoz/GLaAh0QlCe2fro=
github.com/cosmos/gogoproto v1.7.0/go.mod h1:yWChEv5IUEYURQasfyBW5ffkMHR/90hiHgbNgrtp4j0=
github.com/cosmos/iavl v0.20.1 h1:rM1kqeG3/HBT85vsZdoSNsehciqUQPWrR4BYmqE2+zg=
github.com/cosmos/iavl v0.20.1/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A=
github.com/cosmos/ibc-go/v7 v7.8.0 h1:hvnQRejkMoGiM4v2r6Va5UefNeMU3V+ooIWdG96SYoU=
@@ -927,8 +927,8 @@ github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
github.com/rs/cors v1.8.3 h1:O+qNyWn7Z+F9M0ILBHgMVPuB1xTOucVd5gtaYyXBpRo=
github.com/rs/cors v1.8.3/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
github.com/rs/zerolog v1.32.0 h1:keLypqrlIjaFsbmJOBdB/qvyF8KEtCWHwobLp5l/mQ0=
github.com/rs/zerolog v1.32.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss=
github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8=
github.com/rs/zerolog v1.33.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
@@ -1315,8 +1315,8 @@ golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI=
golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
4 changes: 2 additions & 2 deletions module/proto/buf.lock
Original file line number Diff line number Diff line change
@@ -19,5 +19,5 @@ deps:
- remote: buf.build
owner: googleapis
repository: googleapis
commit: e7f8d366f5264595bcc4cd4139af9973
digest: shake256:e5e5f1c12f82e028ea696faa43b4f9dc6258a6d1226282962a8c8b282e10946281d815884f574bd279ebd9cd7588629beb3db17b892af6c33b56f92f8f67f509
commit: e93e34f48be043dab55be31b4b47f458
digest: shake256:93dbe51c27606999eef918360df509485a4d272e79aaed6d0016940379a9b06d316fc5228b7b50cca94bb310f34c5fc5955ce7474f655f0d0a224c4121dda3c1
2 changes: 1 addition & 1 deletion module/proto/gravity/v1/genesis.proto
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import "gravity/v1/gravity.proto";
import "gravity/v1/msgs.proto";
import "google/protobuf/any.proto";

option go_package = "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types";
option go_package = "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types";
option (gogoproto.messagename_all) = true;

// Params represent the Gravity genesis and store parameters
2 changes: 1 addition & 1 deletion module/proto/gravity/v1/gravity.proto
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";

option go_package = "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types";
option go_package = "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types";
option (gogoproto.messagename_all) = true;

// EthereumEventVoteRecord is an event that is pending of confirmation by 2/3 of
2 changes: 1 addition & 1 deletion module/proto/gravity/v1/msgs.proto
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ import "gogoproto/gogo.proto";
import "google/api/annotations.proto";
import "google/protobuf/any.proto";

option go_package = "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types";
option go_package = "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types";
option (gogoproto.messagename_all) = true;

// Msg defines the state transitions possible within gravity
2 changes: 1 addition & 1 deletion module/proto/gravity/v1/query.proto
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ import "gravity/v1/genesis.proto";
import "gravity/v1/gravity.proto";
import "gravity/v1/msgs.proto";

option go_package = "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types";
option go_package = "github.com/peggyjv/gravity-bridge/module/v6/x/gravity/types";
option (gogoproto.messagename_all) = true;

// Query defines the gRPC querier service
Loading

0 comments on commit 0ad72d4

Please sign in to comment.