From d9397433b914e3c4c0ed1f6005e4ecad01100c4e Mon Sep 17 00:00:00 2001 From: dekm Date: Thu, 4 Jan 2024 18:40:57 +0100 Subject: [PATCH] update cosmos-common repo link --- go.mod | 9 ++++----- go.sum | 6 ++++++ x/pax/module/module.go | 13 +++++++------ 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/go.mod b/go.mod index 6537590..56c566b 100644 --- a/go.mod +++ b/go.mod @@ -38,9 +38,9 @@ require ( github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.17.0 github.com/stretchr/testify v1.8.4 - github.com/unigrid-project/cosmos-gridnode v0.0.7 - github.com/unigrid-project/cosmos-sdk-common v0.0.7 - github.com/unigrid-project/cosmos-ugdmint v0.0.0-00010101000000-000000000000 + github.com/unigrid-project/cosmos-common v0.0.8 + github.com/unigrid-project/cosmos-gridnode v0.0.0-00010101000000-000000000000 + github.com/unigrid-project/cosmos-ugdmint v0.0.80 google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 google.golang.org/grpc v1.59.0 google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0 @@ -219,6 +219,7 @@ require ( github.com/tetratelabs/wazero v1.5.0 // indirect github.com/tidwall/btree v1.7.0 // indirect github.com/ulikunitz/xz v0.5.11 // indirect + github.com/unigrid-project/cosmos-sdk-common v0.0.6 // indirect github.com/vbatts/tar-split v0.11.5 // indirect github.com/zondax/hid v0.9.2 // indirect github.com/zondax/ledger-go v0.14.3 // indirect @@ -257,8 +258,6 @@ require ( replace github.com/unigrid-project/cosmos-ugdmint => /home/evan/work/cosmos-sdk-ugdmint -replace github.com/unigrid-project/cosmos-sdk-common => /home/evan/work/cosmos-sdk-common - //replace github.com/unigrid-project/cosmos-sdk-unigrid-hedgehog-vesting => /home/evan/work/cosmos-sdk-unigrid-hedgehog-vesting replace github.com/unigrid-project/cosmos-gridnode => /home/evan/work/cosmos-sdk-gridnode diff --git a/go.sum b/go.sum index d2ba955..8e8600a 100644 --- a/go.sum +++ b/go.sum @@ -1095,6 +1095,12 @@ github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZ github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8= github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= +github.com/unigrid-project/cosmos-common v0.0.8 h1:u7b7NfwKHXbvXj3QGEKaghHrB1TojpaQknA8zgPM0T8= +github.com/unigrid-project/cosmos-common v0.0.8/go.mod h1:1yKYVwjFSztn3PpscSB02WKYUMkFiRpet2qlYB8OBio= +github.com/unigrid-project/cosmos-sdk-common v0.0.6 h1:nvAShtDWIYd1wbtgRW2CknrgOG0OwO4mvgINwTPaBkg= +github.com/unigrid-project/cosmos-sdk-common v0.0.6/go.mod h1:40cAkSp62OjHTtGMdUYQUMwzUEndl6va3uz9asDJl5Q= +github.com/unigrid-project/cosmos-ugdmint v0.0.80 h1:wCTJjulkSEW9d2NTRbw2krkZs4/0f9awhudF+Gl7BCg= +github.com/unigrid-project/cosmos-ugdmint v0.0.80/go.mod h1:Id/3FrQEOze5oGY4ipPee3Yd4u8ymGlceRIHa5BK4AI= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/vbatts/tar-split v0.11.5 h1:3bHCTIheBm1qFTcgh9oPu+nNBtX+XJIupG/vacinCts= diff --git a/x/pax/module/module.go b/x/pax/module/module.go index 9719a9c..68013df 100644 --- a/x/pax/module/module.go +++ b/x/pax/module/module.go @@ -2,12 +2,16 @@ package pax import ( "context" + "encoding/json" + "fmt" + "io" + "net/http" + "time" + "cosmossdk.io/core/appmodule" "cosmossdk.io/core/store" "cosmossdk.io/depinject" "cosmossdk.io/log" - "encoding/json" - "fmt" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" @@ -17,10 +21,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/viper" - "github.com/unigrid-project/cosmos-sdk-common/common/httpclient" - "io" - "net/http" - "time" + "github.com/unigrid-project/cosmos-common/common/httpclient" // this line is used by starport scaffolding # 1