Skip to content

Commit

Permalink
Migrate secretcli tx sign-doc from secret-3
Browse files Browse the repository at this point in the history
This is used in query permits scrtlabs/snip20-reference-impl#22
  • Loading branch information
assafmo committed Nov 17, 2021
1 parent 075bee0 commit 0340397
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
10 changes: 6 additions & 4 deletions cmd/secretd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ package main
import (
"context"
"fmt"
"io"
"os"
"path/filepath"
"strings"

"github.com/cosmos/cosmos-sdk/codec"
serverconfig "github.com/cosmos/cosmos-sdk/server/config"
"github.com/cosmos/cosmos-sdk/types/module"
Expand All @@ -13,10 +18,6 @@ import (
"github.com/rs/zerolog"
"github.com/spf13/pflag"
"github.com/spf13/viper"
"io"
"os"
"path/filepath"
"strings"

//"github.com/tendermint/tendermint/libs/cli"

Expand Down Expand Up @@ -232,6 +233,7 @@ func txCommand() *cobra.Command {
}

cmd.AddCommand(
authcmd.GetSignDocCommand(),
authcmd.GetSignCommand(),
authcmd.GetSignBatchCommand(),
authcmd.GetMultiSignCommand(),
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ replace google.golang.org/grpc => google.golang.org/grpc v1.33.2

// replace github.com/cosmos/cosmos-sdk v0.43.0-rc2 => github.com/enigmampc/cosmos-sdk secret-0.43

replace github.com/cosmos/cosmos-sdk v0.44.3 => github.com/scrtlabs/cosmos-sdk v0.44.4-0.20211109063638-1c9dee24faa8
replace github.com/cosmos/cosmos-sdk v0.44.3 => github.com/scrtlabs/cosmos-sdk v0.44.4-0.20211117100413-27366ad17d3a

//replace github.com/cosmos/cosmos-sdk v0.43.0-rc2 => github.com/enigmampc/cosmos-sdk v0.0.0-cc218f2182fb
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,8 @@ github.com/sanposhiho/wastedassign/v2 v2.0.6/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dms
github.com/sasha-s/go-deadlock v0.2.0/go.mod h1:StQn567HiB1fF2yJ44N9au7wOhrPS3iZqiDbRupzT10=
github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa h1:0U2s5loxrTy6/VgfVoLuVLFJcURKLH49ie0zSch7gh4=
github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM=
github.com/scrtlabs/cosmos-sdk v0.44.4-0.20211109063638-1c9dee24faa8 h1:li+siDKD+2WfykJEg0OOfOxPc3SjvoSstVNyXY6XiI0=
github.com/scrtlabs/cosmos-sdk v0.44.4-0.20211109063638-1c9dee24faa8/go.mod h1:bA3+VenaR/l/vDiYzaiwbWvRPWHMBX2jG0ygiFtiBp0=
github.com/scrtlabs/cosmos-sdk v0.44.4-0.20211117100413-27366ad17d3a h1:lTleOvfinntCQ0SH/lAToaI0lXza2k6oFPbKAdrgnVo=
github.com/scrtlabs/cosmos-sdk v0.44.4-0.20211117100413-27366ad17d3a/go.mod h1:bA3+VenaR/l/vDiYzaiwbWvRPWHMBX2jG0ygiFtiBp0=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo=
github.com/securego/gosec/v2 v2.8.1/go.mod h1:pUmsq6+VyFEElJMUX+QB3p3LWNHXg1R3xh2ssVJPs8Q=
Expand Down

0 comments on commit 0340397

Please sign in to comment.