Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBC SDK Integration #5124

Closed
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
608a819
Bump gopkg.in/yaml.v2 from 2.2.2 to 2.2.3 (#5121)
dependabot-preview[bot] Oct 1, 2019
e2a3257
Merge commit 'fea2ba628ccd4a374cf7a33b0a10a5099f19bfc6' of https://gi…
fedekunze Oct 1, 2019
60aa995
Merge branch 'joon/ics-04-implementation' of https://github.com/cosmo…
fedekunze Oct 1, 2019
d53afec
changes Fede removed by accident on #5057
fedekunze Oct 1, 2019
1e45d0b
Merge PR #5137: IBC Multi-Verifier Cherry Pick
alexanderbez Oct 3, 2019
7ba0b7e
Pass in chain-id properly to second cliCtx
jackzampolin Oct 4, 2019
5719c35
Attempt to fix panic
jackzampolin Oct 4, 2019
9eaa5d7
Explicitly set chain-id before each ctx call
jackzampolin Oct 4, 2019
902cbae
Extra logging
jackzampolin Oct 4, 2019
d02becc
Change cliCtx initialization
jackzampolin Oct 4, 2019
8b5e7e6
Fix build failure for cliCtx intitialization
jackzampolin Oct 4, 2019
6e34599
Make sure right txbldr is being used
jackzampolin Oct 7, 2019
1c0ae72
Remove loggin
jackzampolin Oct 7, 2019
24877f8
Fix clictx generation in connection command
jackzampolin Oct 7, 2019
c620897
Undefined var error in channel command
jackzampolin Oct 7, 2019
42b3079
Fix chain-id issue
jackzampolin Oct 7, 2019
1addcdf
Fix chain-id issue
jackzampolin Oct 7, 2019
a927a7b
Demo working until flush
jackzampolin Oct 7, 2019
59bfb70
cli send/receive debug in progress
mossid Oct 9, 2019
b0ad578
fix packet sending
mossid Oct 10, 2019
e690291
Update IBC CLI UX
jackzampolin Oct 11, 2019
1a74d7f
Update x/ibc/02-client/msgs.go
jackzampolin Oct 11, 2019
3d5c97e
Update x/ibc/02-client/client/cli/tx.go
jackzampolin Oct 11, 2019
cf4cc59
utilize ante for packet verification
mossid Oct 12, 2019
8d74a34
Merge branch 'fedekunze/ibc-sdk-interface' of github.com:cosmos/cosmo…
mossid Oct 12, 2019
11d4258
fix typo
mossid Oct 12, 2019
142a15a
mv port.name string -> port.key *StoreKey
mossid Oct 14, 2019
d5159c6
fix next sequence query (#5187)
chengwenxi Oct 14, 2019
af28eeb
initialize map in ics-04 Manager type ensuring that demo is working
jackzampolin Oct 14, 2019
ee5d7f3
CLI UX for demo
jackzampolin Oct 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
mossid committed Oct 12, 2019
commit 11d4258d356be70eee996022f02782847dd06bd2
9 changes: 4 additions & 5 deletions x/ibc/02-client/client/cli/tx.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package cli

import (
"io/ioutil"
"fmt"
"io/ioutil"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ioutil redeclared in this block (from typecheck)

"os"
Expand All @@ -11,11 +10,11 @@ import (
cli "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/context"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/x/auth/client/utils"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/auth"
"github.com/cosmos/cosmos-sdk/x/auth/client/utils"

"github.com/cosmos/cosmos-sdk/x/ibc/02-client"
client "github.com/cosmos/cosmos-sdk/x/ibc/02-client"
)

const (
Expand Down Expand Up @@ -53,7 +52,7 @@ func GetCmdCreateClient(cdc *codec.Codec) *cobra.Command {
$ gaiacli tx ibc client create clientFoo $(gaiacli --home /path/to/chain2 q ibc client consensus-state)
$ gaiacli tx ibc client create clientFoo ./state.json
`,
Args: cobra.ExactArgs(2),
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
txBldr := auth.NewTxBuilderFromCLI().WithTxEncoder(utils.GetTxEncoder(cdc))
cliCtx := context.NewCLIContext().
Expand Down Expand Up @@ -93,7 +92,7 @@ func GetCmdUpdateClient(cdc *codec.Codec) *cobra.Command {
$ gaiacli tx ibc client update clientFoo $(gaiacli --home /path/to/chain2 q ibc client consensus-state)
$ gaiacli tx ibc client update clientFoo ./state.json
`,
Args: cobra.ExactArgs(2),
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
txBldr := auth.NewTxBuilderFromCLI().WithTxEncoder(utils.GetTxEncoder(cdc))
cliCtx := context.NewCLIContext().
Expand Down