From 0f68573819cf4b15236a43ef2a44e564a6fc5186 Mon Sep 17 00:00:00 2001 From: mossid Date: Tue, 3 Sep 2019 16:39:02 +0200 Subject: [PATCH 01/27] update mod --- app/app.go | 7 ++++++- go.mod | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/app.go b/app/app.go index 048e8d9b3c3..4175700a53e 100644 --- a/app/app.go +++ b/app/app.go @@ -22,6 +22,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/genaccounts" "github.com/cosmos/cosmos-sdk/x/genutil" "github.com/cosmos/cosmos-sdk/x/gov" + "github.com/cosmos/cosmos-sdk/x/ibc" "github.com/cosmos/cosmos-sdk/x/mint" "github.com/cosmos/cosmos-sdk/x/params" paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" @@ -55,6 +56,7 @@ var ( crisis.AppModuleBasic{}, slashing.AppModuleBasic{}, supply.AppModuleBasic{}, + ibc.AppModuleBasic{}, ) // module account permissions @@ -102,6 +104,7 @@ type GaiaApp struct { govKeeper gov.Keeper crisisKeeper crisis.Keeper paramsKeeper params.Keeper + ibcKeeper ibc.Keeper // the module manager mm *module.Manager @@ -120,7 +123,7 @@ func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest b keys := sdk.NewKVStoreKeys( bam.MainStoreKey, auth.StoreKey, staking.StoreKey, supply.StoreKey, mint.StoreKey, distr.StoreKey, slashing.StoreKey, - gov.StoreKey, params.StoreKey, + gov.StoreKey, params.StoreKey, ibc.StoreKey, ) tkeys := sdk.NewTransientStoreKeys(staking.TStoreKey, params.TStoreKey) @@ -158,6 +161,7 @@ func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest b app.cdc, keys[slashing.StoreKey], &stakingKeeper, slashingSubspace, slashing.DefaultCodespace, ) app.crisisKeeper = crisis.NewKeeper(crisisSubspace, invCheckPeriod, app.supplyKeeper, auth.FeeCollectorName) + app.ibcKeeper = ibc.NewKeeper(app.cdc, keys[ibc.StoreKey]) // register the proposal types govRouter := gov.NewRouter() @@ -189,6 +193,7 @@ func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest b mint.NewAppModule(app.mintKeeper), slashing.NewAppModule(app.slashingKeeper, app.stakingKeeper), staking.NewAppModule(app.stakingKeeper, app.distrKeeper, app.accountKeeper, app.supplyKeeper), + ibc.NewAppModule(app.ibcKeeper), ) // During begin block slashing happens after distr.BeginBlocker so that diff --git a/go.mod b/go.mod index 8e7df884710..46f57e07c55 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.12 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.28.2-0.20190813160135-f90d969ded97 + github.com/cosmos/cosmos-sdk joon/sdk-ibc-interface // indirect github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/go-kit/kit v0.9.0 // indirect github.com/golang/mock v1.3.1 // indirect From 601ea4c36d766cbc5a836d5760279fbbb73e9e53 Mon Sep 17 00:00:00 2001 From: mossid Date: Tue, 3 Sep 2019 16:39:26 +0200 Subject: [PATCH 02/27] fix mod --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 46f57e07c55..70ac087bbff 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.12 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk joon/sdk-ibc-interface // indirect + github.com/cosmos/cosmos-sdk joon/ibc-sdk-interface // indirect github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/go-kit/kit v0.9.0 // indirect github.com/golang/mock v1.3.1 // indirect From e6563ce84636ae0495b8dc37570991c322acd521 Mon Sep 17 00:00:00 2001 From: mossid Date: Tue, 17 Sep 2019 17:50:54 +0200 Subject: [PATCH 03/27] update mod --- go.mod | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 70ac087bbff..3cf6f6434b2 100644 --- a/go.mod +++ b/go.mod @@ -4,21 +4,18 @@ go 1.12 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk joon/ibc-sdk-interface // indirect + github.com/cosmos/cosmos-sdk v0.28.2-0.20190917153638-70a1c97f9486 // indirect github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/go-kit/kit v0.9.0 // indirect github.com/golang/mock v1.3.1 // indirect - github.com/gorilla/mux v1.7.3 // indirect github.com/libp2p/go-buffer-pool v0.0.2 // indirect github.com/magiconair/properties v1.8.1 // indirect - github.com/mattn/go-isatty v0.0.8 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.1 // indirect github.com/onsi/ginkgo v1.8.0 // indirect github.com/onsi/gomega v1.5.0 // indirect github.com/otiai10/copy v1.0.1 github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776 // indirect - github.com/pelletier/go-toml v1.4.0 // indirect github.com/pkg/errors v0.8.1 github.com/prometheus/client_golang v1.1.0 // indirect github.com/rcrowley/go-metrics v0.0.0-20190706150252-9beb055b7962 // indirect @@ -27,13 +24,12 @@ require ( github.com/spf13/afero v1.2.2 // indirect github.com/spf13/cobra v0.0.5 github.com/spf13/viper v1.4.0 - github.com/stretchr/testify v1.3.0 + github.com/stretchr/testify v1.4.0 github.com/tendermint/go-amino v0.15.0 - github.com/tendermint/tendermint v0.32.2 + github.com/tendermint/tendermint v0.32.3 github.com/tendermint/tm-db v0.1.1 golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 // indirect golang.org/x/net v0.0.0-20190724013045-ca1201d0de80 // indirect - golang.org/x/sys v0.0.0-20190804053845-51ab0e2deafa // indirect golang.org/x/text v0.3.2 // indirect google.golang.org/appengine v1.4.0 // indirect google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64 // indirect From 38e34ca05a5430568383b0e968f4cbd4bd5cc5d5 Mon Sep 17 00:00:00 2001 From: mossid Date: Tue, 17 Sep 2019 18:45:09 +0200 Subject: [PATCH 04/27] fix go mod problem completly --- go.mod | 2 ++ go.sum | 2 ++ 2 files changed, 4 insertions(+) diff --git a/go.mod b/go.mod index b0befef6fc9..8f9fb818f35 100644 --- a/go.mod +++ b/go.mod @@ -32,3 +32,5 @@ require ( google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64 // indirect google.golang.org/grpc v1.22.1 // indirect ) + +replace github.com/cosmos/cosmos-sdk v0.34.4-0.20190913222629-1028283e6fc1 => github.com/cosmos/cosmos-sdk v0.34.4-0.20190917153638-70a1c97f9486 diff --git a/go.sum b/go.sum index 92855c6e1de..12388baea9d 100644 --- a/go.sum +++ b/go.sum @@ -40,6 +40,8 @@ github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7 github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cosmos/cosmos-sdk v0.34.4-0.20190913222629-1028283e6fc1 h1:nvpz1FYhr4GPneKZrrIyZ5leN1p+fVeGeMp+kvku79Q= github.com/cosmos/cosmos-sdk v0.34.4-0.20190913222629-1028283e6fc1/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= +github.com/cosmos/cosmos-sdk v0.34.4-0.20190917153638-70a1c97f9486 h1:zNBuTJguBVIvhyyWvXmwuuBhbeLA+jeVvwx0idr0yig= +github.com/cosmos/cosmos-sdk v0.34.4-0.20190917153638-70a1c97f9486/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= From 609c4b8005d59e34414a76c8b9c74d8391c40371 Mon Sep 17 00:00:00 2001 From: mossid Date: Thu, 19 Sep 2019 22:40:30 +0200 Subject: [PATCH 05/27] reflect sdk commit --- go.mod | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 8f9fb818f35..48e95c68728 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.34.4-0.20190913222629-1028283e6fc1 + github.com/cosmos/cosmos-sdk v0.34.4-0.20190918175036-ffed153880dc github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/go-kit/kit v0.9.0 // indirect github.com/golang/mock v1.3.1 // indirect @@ -32,5 +32,3 @@ require ( google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64 // indirect google.golang.org/grpc v1.22.1 // indirect ) - -replace github.com/cosmos/cosmos-sdk v0.34.4-0.20190913222629-1028283e6fc1 => github.com/cosmos/cosmos-sdk v0.34.4-0.20190917153638-70a1c97f9486 From bbc7aedd8446bfcbb1d2739c7ad7053cecd8685f Mon Sep 17 00:00:00 2001 From: mossid Date: Thu, 19 Sep 2019 22:55:53 +0200 Subject: [PATCH 06/27] add shell scripts, add readme --- cmd/gaiacli/README.md | 116 ++++++++++++++++++++++++++++++++++++++ cmd/gaiacli/client.sh | 8 +++ cmd/gaiacli/connection.sh | 6 ++ 3 files changed, 130 insertions(+) create mode 100644 cmd/gaiacli/README.md create mode 100755 cmd/gaiacli/client.sh create mode 100755 cmd/gaiacli/connection.sh diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md new file mode 100644 index 00000000000..530585d96ca --- /dev/null +++ b/cmd/gaiacli/README.md @@ -0,0 +1,116 @@ +# IBC instruction + +// temporal document + +## Dependencies + +This branch uses non-canonical branch of cosmos-sdk. Run `go mod vendor` on the root directory to retrive the dependencies. + +Move to `gaiad` directory, run `./gaiad testnet --v 1` and `mv ./mytestnet/node0 ../` + +Currently the testing is done on a single chain with a pseudo-loopback connection, meaning that +- there is only one client living on single chain, pointing itself +- there are two connections living on single chain, bonded to the client and pointing each other +- there are two channels living on single chain, bonded to each connections and pointing each other + +but all lightclient verification and merkle proving are actually processed. + +Check the chain-id of the testnet under `node0/gaiad/config/genesis.json` and store it as the environment variable `CID`. + +```bash +> export CID=chain-attv4e +``` + +This will be used by the shell scripts. + +Run gaia daemon by + +```bash +> ./gaiad/gaiad --home ./node0/gaiad start +``` + +## Client + +Client can be instantiated with `client.sh` command. It will print + +```bash +creating client client-09b6 +``` + +export that identifier as an env variable. + +```bash +> export CLIENTID=client-b438 +``` + +You can query the client after creation by + +```bash +> ./gaiacli query ibc client client $CLIENTID --home ../node0/gaiacli --trust-node +{ + "type": "ibc/client/tendermint/ConsensusState", + "value": { + "ChainID": "chain-attv4e", + "Height": "1006", + "Root": { + "type": "ibc/commitment/merkle/Root", + "value": { + "hash": "RDYMrUY6z9UBtPk9+qKl2Vujm8dOyePj/9dUlh6VvWM=" + } + }, + "NextValidatorSet": { + "validators": [ + { + "address": "9A4B3DF37C5F60517397410AE705B68652275ECF", + "pub_key": { + "type": "tendermint/PubKeyEd25519", + "value": "g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4=" + }, + "voting_power": "100", + "proposer_priority": "0" + } + ], + "proposer": { + "address": "9A4B3DF37C5F60517397410AE705B68652275ECF", + "pub_key": { + "type": "tendermint/PubKeyEd25519", + "value": "g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4=" + }, + "voting_power": "100", + "proposer_priority": "0" + } + } + } +} +``` + +## Connection + +Connections can be established with `connection.sh $CLIENTID` command. + +You can query the connection after establishment by + +```bash +> ./gaiacli query ibc connection connection conn-41f4 --home ../node0/gaiacli --trust-node +{ + "connection": { + "client": "client-09b6", + "counterparty": "conn-e358", + "path": { + "type": "ibc/commitment/merkle/Path", + "value": { + "key_path": [ + "aWJj" + ], + "key_prefix": "djEv" + } + } + }, + "available": true, + "kind": "handshake" +} +``` + +## Channel + +// TODO diff --git a/cmd/gaiacli/client.sh b/cmd/gaiacli/client.sh new file mode 100755 index 00000000000..c0c6f2cf0b0 --- /dev/null +++ b/cmd/gaiacli/client.sh @@ -0,0 +1,8 @@ +echo "writing path..." +./gaiacli query ibc client path --chain-id $CID --home ../node0/gaiacli > path.json +echo "writing state..." +./gaiacli query ibc client consensus-state --chain-id $CID --home ../node0/gaiacli > state.json + +CLIENTID="client-$(openssl rand -hex 2)" +echo "creating client $CLIENTID" +./gaiacli tx ibc client create $CLIENTID ./state.json --from node0 --home ../node0/gaiacli --chain-id $CID diff --git a/cmd/gaiacli/connection.sh b/cmd/gaiacli/connection.sh new file mode 100755 index 00000000000..dc25df6cac6 --- /dev/null +++ b/cmd/gaiacli/connection.sh @@ -0,0 +1,6 @@ +CONNID1="conn-$(openssl rand -hex 2)" +CONNID2="conn-$(openssl rand -hex 2)" +echo "establishing connection..." +echo "connection 1: $CONNID1" +echo "connection 2: $CONNID2" +./gaiacli tx ibc connection handshake $CONNID1 $1 ./path.json $CONNID2 $1 ./path.json --from1 node0 --from2 node0 --home ../node0/gaiacli --chain-id $CID From d3e21d27fba399083f1e1359f6e0c5398b555ac5 Mon Sep 17 00:00:00 2001 From: mossid Date: Fri, 20 Sep 2019 18:57:41 +0200 Subject: [PATCH 07/27] add channel handshake --- cmd/gaiacli/README.md | 42 +++++++- cmd/gaiacli/chan.txt | 215 ++++++++++++++++++++++++++++++++++++++++ cmd/gaiacli/channel.sh | 6 ++ cmd/gaiacli/client.txt | 32 ++++++ cmd/gaiacli/conn.txt | 219 +++++++++++++++++++++++++++++++++++++++++ go.mod | 2 +- go.sum | 6 ++ 7 files changed, 518 insertions(+), 4 deletions(-) create mode 100644 cmd/gaiacli/chan.txt create mode 100755 cmd/gaiacli/channel.sh create mode 100644 cmd/gaiacli/client.txt create mode 100644 cmd/gaiacli/conn.txt diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index 530585d96ca..14cfc730679 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -84,14 +84,28 @@ You can query the client after creation by } ``` +See [script log](./client.txt) + ## Connection -Connections can be established with `connection.sh $CLIENTID` command. +Connections can be established with `connection.sh $CLIENTID` command. It will print + +```bash +connection 1: conn-c91b +connection 2: conn-b49a +``` + +export that identifier as an env variable. + +```bash +> export CONNID1=conn-c91b +> export CONNID2=conn-b49a +``` You can query the connection after establishment by ```bash -> ./gaiacli query ibc connection connection conn-41f4 --home ../node0/gaiacli --trust-node +> ./gaiacli query ibc connection connection $CONNID1 --home ../node0/gaiacli --trust-node { "connection": { "client": "client-09b6", @@ -111,6 +125,28 @@ You can query the connection after establishment by } ``` +See [script log](./conn.txt) + ## Channel -// TODO +Channels can be established with `channel.sh $CONNID1 $CONNID2` command. + +You can query the channel after establishment by + +```bash +> ./gaiacli query ibc channel channel ibc-mock $CHANID1 --home ../node0/gaiacli --trust-node +{ + "channel": { + "Counterparty": "chan-f7b8", + "CounterpartyPort": "ibc-mock", + "ConnectionHops": [ + "conn-c91b" + ] + }, + "available": true, + "sequence_send": "0", + "sequence_receive": "0" +} +``` + +See [script log](./chan.txt) diff --git a/cmd/gaiacli/chan.txt b/cmd/gaiacli/chan.txt new file mode 100644 index 00000000000..cf740aa21d2 --- /dev/null +++ b/cmd/gaiacli/chan.txt @@ -0,0 +1,215 @@ +joons-mbp% ./channel.sh $CONNID1 $CONNID2 +establishing channel... +channel 1: chan-59bd +channel 2: chan-f7b8 +{"chain_id":"chain-attv4e","account_number":"3","sequence":"72","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/channel/MsgOpenInit","value":{"port_id":"ibc-mock","channel_id":"chan-59bd","channel":{"Counterparty":"chan-f7b8","CounterpartyPort":"ibc-mock","ConnectionHops":["conn-c91b"]},"signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4487 +txhash: 2A32E312F996B4A9EF733925F19CB59CC7E5D2B27F49133C7DDBD6C76B455C11 +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-init"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: open-init +info: "" +gaswanted: 200000 +gasused: 19971 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: open-init + +{"chain_id":"chain-attv4e","account_number":"3","sequence":"73","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4488","time":"2019-09-20T16:41:02.551897Z","num_txs":"0","total_txs":"72","last_block_id":{"hash":"B6D51DC95A59B5822C5730EEE17679CED08236597707B33E7B0601398E9D23CB","parts":{"total":"1","hash":"8C6154C2AAB0752E487DF05B51FCE79EA7C31588A6BFD13A93F26C4B05846093"}},"last_commit_hash":"34313F0B2E60521DFFC3E8FDCF6D7F4B23E02E16E815C1E02B47E6C7BAC1FB1B","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"2144935BD94E6CA99DFD41EED5D4BE7F72D5A72D273F02598E9B870DBC97D230","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"ACB856FD3F22371F0140409869D677E0F5D5A79CFF88413EF7340FEF9FEBD0BA","parts":{"total":"1","hash":"30F6A534D1FBF2177F0BF88C8C1CEB5E559D33B27B90456687F60F872DFF7C56"}},"precommits":[{"type":2,"height":"4488","round":"0","block_id":{"hash":"ACB856FD3F22371F0140409869D677E0F5D5A79CFF88413EF7340FEF9FEBD0BA","parts":{"total":"1","hash":"30F6A534D1FBF2177F0BF88C8C1CEB5E559D33B27B90456687F60F872DFF7C56"}},"timestamp":"2019-09-20T16:41:07.598805Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"3uRw1DqtfUe+s1foj5+bC1YmXq2FkNOTIsvmRPN0jc/3lBkARNsU9Rcnl0QZWmbn/4R8W/PEIL9gqY0s0raxAQ=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4490 +txhash: 10CEF34311EDF6D2A748B4F0B3664ECB059E0B8EA962DA93B8BD6B4EA3EBB41C +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: update-client +info: "" +gaswanted: 200000 +gasused: 33770 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: update-client + +updated apphash to 2144935BD94E6CA99DFD41EED5D4BE7F72D5A72D273F02598E9B870DBC97D230 +querying from 4487 +{"chain_id":"chain-attv4e","account_number":"3","sequence":"74","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/channel/MsgOpenTry","value":{"port_id":"ibc-mock","channel_id":"chan-f7b8","channel":{"Counterparty":"chan-59bd","CounterpartyPort":"ibc-mock","ConnectionHops":["conn-b49a"]},"proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJk","data":"qQMKpgMKKggSEKgBGIcjIiC0phz7fQkW6JX6vDB9CnutcP/NkKCQVnvD3Tmbl8HcHwopCA4QRhiHIyIgwpb63EK6FKqt5/MbrKJ10qOhcy+2RvDIM0cR0Aue90YKKQgMECUYhyMiIDTFJf4Epwi/Hk0gX+r46WcMRaGLVrA0mdvNgDIeKS8UCikIChAXGIcjIiBJHPP/9615hZaEOKyJXiRP98LV4cpZmdvBG+jC519QqgopCAgQCxiHIyIgtSwxq+lvtp5/pPAzvM6A/oeHKKObwrYpzrGTCMdpRvYKKQgGEAcYhyMiILpwiSLJSOt6ZGvwWXU/L+cIiaf7OuxK8aYbBVN3MqdYCikIBBAEGIcjIiDfxTeEAwEjOgUhECzOY8run4Q0D4Z7qShH6Consg0HJwopCAIQAhiHIyogFe/v6gtf0eu7jMPt9wh9p9kQSAt0DIxkWg+NC2ABm74aSwokdjEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkEiCb4XvBXgBZcGkUoiczR6+BQJz8+GB21+06HOC9hiSFihiHIw=="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKNwoMZGlzdHJpYnV0aW9uEicKJQiHIxIgZZB5s0nmBBy2qr4aof5zDMtlP5m9yV5pmdPSsM33Lh8KLgoDYWNjEicKJQiHIxIg2OZ+71xIyKdoNfQkQg3Y+4/ma3Gy85ce0rR8E4ltDdwKMQoGcGFyYW1zEicKJQiHIxIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKMgoHc3Rha2luZxInCiUIhyMSINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCjEKBnN1cHBseRInCiUIhyMSII4kYmLxYMZIZ/AkFJedBjgxBmN5C7HYC9Qm/iZ7C0tWCi8KBG1haW4SJwolCIcjEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAouCgNpYmMSJwolCIcjEiBCzP0crsY8LAV/fNQV+hloNZ1umiO7vPyIAJBljK0rjAozCghzbGFzaGluZxInCiUIhyMSIFHO/++xzqlqSQlVXkCT9ZRYsTar2qrg+h+C26QohDXXCi8KBG1pbnQSJwolCIcjEiA24KAB5oFk8WFBH0tSyx0Zjc1IFeIKgfehW7jgOaPpEAouCgNnb3YSJwolCIcjEiBgzRN8GWLsrGFjidaANIM/KSFQnC0oWqX1FTmXzpaKdA=="}]},"key":"cG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJk"}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkL3N0YXRl","data":"rwMKrAMKKggSEKgBGIcjIiC0phz7fQkW6JX6vDB9CnutcP/NkKCQVnvD3Tmbl8HcHwopCA4QRhiHIyIgwpb63EK6FKqt5/MbrKJ10qOhcy+2RvDIM0cR0Aue90YKKQgMECUYhyMiIDTFJf4Epwi/Hk0gX+r46WcMRaGLVrA0mdvNgDIeKS8UCikIChAXGIcjIiBJHPP/9615hZaEOKyJXiRP98LV4cpZmdvBG+jC519QqgopCAgQCxiHIyIgtSwxq+lvtp5/pPAzvM6A/oeHKKObwrYpzrGTCMdpRvYKKQgGEAcYhyMiILpwiSLJSOt6ZGvwWXU/L+cIiaf7OuxK8aYbBVN3MqdYCikIBBAEGIcjIiDfxTeEAwEjOgUhECzOY8run4Q0D4Z7qShH6Consg0HJwopCAIQAhiHIyIgDBD2BzhqPbVyIlYwLnUQB0vII0/2+WgkyxeSP9xXRPMaUQoqdjEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkL3N0YXRlEiBL9RIvNEVUxTveLruM0rfj0WAK1jHDhaXXzOI8d4VFmhiHIw=="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKNwoMZGlzdHJpYnV0aW9uEicKJQiHIxIgZZB5s0nmBBy2qr4aof5zDMtlP5m9yV5pmdPSsM33Lh8KLgoDYWNjEicKJQiHIxIg2OZ+71xIyKdoNfQkQg3Y+4/ma3Gy85ce0rR8E4ltDdwKMQoGcGFyYW1zEicKJQiHIxIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKMgoHc3Rha2luZxInCiUIhyMSINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCjEKBnN1cHBseRInCiUIhyMSII4kYmLxYMZIZ/AkFJedBjgxBmN5C7HYC9Qm/iZ7C0tWCi8KBG1haW4SJwolCIcjEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAouCgNpYmMSJwolCIcjEiBCzP0crsY8LAV/fNQV+hloNZ1umiO7vPyIAJBljK0rjAozCghzbGFzaGluZxInCiUIhyMSIFHO/++xzqlqSQlVXkCT9ZRYsTar2qrg+h+C26QohDXXCi8KBG1pbnQSJwolCIcjEiA24KAB5oFk8WFBH0tSyx0Zjc1IFeIKgfehW7jgOaPpEAouCgNnb3YSJwolCIcjEiBgzRN8GWLsrGFjidaANIM/KSFQnC0oWqX1FTmXzpaKdA=="}]},"key":"cG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkL3N0YXRl"}}],"height":"4488","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4492 +txhash: 457697CBE04F4BDA45FB017A70B8660287DC1B1FFA407B2BBFE30916CA0B70AC +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-try"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: open-try +info: "" +gaswanted: 200000 +gasused: 44705 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: open-try + +{"chain_id":"chain-attv4e","account_number":"3","sequence":"75","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4493","time":"2019-09-20T16:41:27.793974Z","num_txs":"0","total_txs":"74","last_block_id":{"hash":"F9D1CC1F68D9271850EBAF1FF4FED9D4923E6B71633EE2B414270ABD99874BFE","parts":{"total":"1","hash":"0968123D6903CF93F9C354FB85D201BFDD713663E009010AE6C9798817E97499"}},"last_commit_hash":"85BC0654429AC4CBA8B00D71B097D65E1F93931976D7217B9C08AE5EE68A4800","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"0C8DD90A039DC40BFD2CC13FBE68F27D7A169E90F5DF7B076BD29F4FA29F3846","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"85D6CAB1475D0866E323AE397BFAE5C9F4E67F7F6F0B00E971A9DB74DA760160","parts":{"total":"1","hash":"246227931CF1A4F1076E628EF073575EB8AB892F9DFBC248EA696485A120DD3D"}},"precommits":[{"type":2,"height":"4493","round":"0","block_id":{"hash":"85D6CAB1475D0866E323AE397BFAE5C9F4E67F7F6F0B00E971A9DB74DA760160","parts":{"total":"1","hash":"246227931CF1A4F1076E628EF073575EB8AB892F9DFBC248EA696485A120DD3D"}},"timestamp":"2019-09-20T16:41:32.844937Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"0I7dDgkWt3FPWvRrmjFXe7wd0An0ioKPb/SwtD8PHspuDCZ9+pzlb47VPhrYQt4ags+VXDS0eI6Qqm7dxSoFCw=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4495 +txhash: 187349E9C4620C7004C5A72528200AA752BEF6EDCE32161FEA17177ABC7D8B5E +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: update-client +info: "" +gaswanted: 200000 +gasused: 33770 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: update-client + +{"chain_id":"chain-attv4e","account_number":"3","sequence":"76","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/channel/MsgOpenAck","value":{"port_id":"ibc-mock","channel_id":"chan-59bd","proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4","data":"qQMKpgMKKggSEKsBGIwjIiCrDKQBlnuG9SmFKj2aAy2Y8UEsvmy6esH6KBNElv79wgopCA4QSBiMIyIgwpb63EK6FKqt5/MbrKJ10qOhcy+2RvDIM0cR0Aue90YKKQgMECcYjCMiIDTFJf4Epwi/Hk0gX+r46WcMRaGLVrA0mdvNgDIeKS8UCikIChAZGIwjIiBJHPP/9615hZaEOKyJXiRP98LV4cpZmdvBG+jC519QqgopCAgQDRiMIyIgv/VyEJb7ewnl6piGiGgwmoz4eMlljHjun52veo3VbmYKKQgGEAYYjCMiIN/FN4QDASM6BSEQLM5jyu6fhDQPhnupKEfoKieyDQcnCikIBBAEGIwjIiBP7HbJf1mB3p3UrFJI35W6X+7zx+Ebm8OVlo+Tisal4wopCAIQAhiMIyoguX+Ea7Wozlx65WFTI1V10jF72EFyHznmss1aIwY9kSYaSwokdjEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4EiAq8z2XcxFti/lOzkRYZ75a+4IvVtw1QKR2DrnlcpWZZxiMIw=="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKNwoMZGlzdHJpYnV0aW9uEicKJQiMIxIgN8HHkNb1q6yu+NtCa4+US05dMify3BAgA2+vaUoOZaMKLgoDYWNjEicKJQiMIxIgR3xYwgun7Hwd+4dC54KIAUs8ex+2avKVUsVFGdz7qx4KMQoGcGFyYW1zEicKJQiMIxIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKMgoHc3Rha2luZxInCiUIjCMSINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCi8KBG1haW4SJwolCIwjEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAouCgNpYmMSJwolCIwjEiBeRyGy3VyOLQ21W7pmqSxHoHkezrs/1ui9EgEN9xkwoQozCghzbGFzaGluZxInCiUIjCMSIMXeX+eZvaTzttPAVUj4ZuQ9SdzeZTo9lcdU33ThhYp3Ci8KBG1pbnQSJwolCIwjEiA6YBod/18jCr7r6DkdB4sqKAvcPLobosIFWiayCvdgKAouCgNnb3YSJwolCIwjEiBgzRN8GWLsrGFjidaANIM/KSFQnC0oWqX1FTmXzpaKdAoxCgZzdXBwbHkSJwolCIwjEiAKAOcSxVB/0Gnf06gflOnYRRMyTL54VmPzFLcB1R20Qg=="}]},"key":"cG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4"}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4L3N0YXRl","data":"rwMKrAMKKggSEKsBGIwjIiCrDKQBlnuG9SmFKj2aAy2Y8UEsvmy6esH6KBNElv79wgopCA4QSBiMIyIgwpb63EK6FKqt5/MbrKJ10qOhcy+2RvDIM0cR0Aue90YKKQgMECcYjCMiIDTFJf4Epwi/Hk0gX+r46WcMRaGLVrA0mdvNgDIeKS8UCikIChAZGIwjIiBJHPP/9615hZaEOKyJXiRP98LV4cpZmdvBG+jC519QqgopCAgQDRiMIyIgv/VyEJb7ewnl6piGiGgwmoz4eMlljHjun52veo3VbmYKKQgGEAYYjCMiIN/FN4QDASM6BSEQLM5jyu6fhDQPhnupKEfoKieyDQcnCikIBBAEGIwjIiBP7HbJf1mB3p3UrFJI35W6X+7zx+Ebm8OVlo+Tisal4wopCAIQAhiMIyIg4juat60h25jK7KQf6TRrCNSF0NCBTpDldPr2TDMHErcaUQoqdjEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4L3N0YXRlEiDbwbTJAP/kjVdbXaXGOAQBJfZdsP4+JElLduqYZFfZhhiMIw=="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKNwoMZGlzdHJpYnV0aW9uEicKJQiMIxIgN8HHkNb1q6yu+NtCa4+US05dMify3BAgA2+vaUoOZaMKLgoDYWNjEicKJQiMIxIgR3xYwgun7Hwd+4dC54KIAUs8ex+2avKVUsVFGdz7qx4KMQoGcGFyYW1zEicKJQiMIxIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKMgoHc3Rha2luZxInCiUIjCMSINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCi8KBG1haW4SJwolCIwjEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAouCgNpYmMSJwolCIwjEiBeRyGy3VyOLQ21W7pmqSxHoHkezrs/1ui9EgEN9xkwoQozCghzbGFzaGluZxInCiUIjCMSIMXeX+eZvaTzttPAVUj4ZuQ9SdzeZTo9lcdU33ThhYp3Ci8KBG1pbnQSJwolCIwjEiA6YBod/18jCr7r6DkdB4sqKAvcPLobosIFWiayCvdgKAouCgNnb3YSJwolCIwjEiBgzRN8GWLsrGFjidaANIM/KSFQnC0oWqX1FTmXzpaKdAoxCgZzdXBwbHkSJwolCIwjEiAKAOcSxVB/0Gnf06gflOnYRRMyTL54VmPzFLcB1R20Qg=="}]},"key":"cG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4L3N0YXRl"}}],"height":"4493","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4497 +txhash: 04C4780AD1B7317770C2E94E0A93D558A49961A3E07A20BCC7434CF9DC7B7C56 +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-ack"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: open-ack +info: "" +gaswanted: 200000 +gasused: 45534 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: open-ack + +{"chain_id":"chain-attv4e","account_number":"3","sequence":"77","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4498","time":"2019-09-20T16:41:53.04035Z","num_txs":"0","total_txs":"76","last_block_id":{"hash":"9946DBF8D2AF2B98B375891A89A74B8C6E60BBAC9F59FE2A33FD4C07DD552075","parts":{"total":"1","hash":"051623BD07FABE6DEB4DC8F725F5ED121F286ADD808A7B09F006AFAEE22C01C3"}},"last_commit_hash":"DFD564315405E04077C056DC1745FE07D6EF9F20C4D555D3434669591949CAFA","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"D18203783F80821E3689A4A14D369B8DA3655B1892CCE3C2A0292D29DD8C7675","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"B48F9B053FFFA8FB13FDD26C01E0BA1D609409D980056670BBCD0D5AE7328C17","parts":{"total":"1","hash":"C27E2B13B2007F9400907590E69D5E09B0D298F9ADB1735D54EEB8F51449594C"}},"precommits":[{"type":2,"height":"4498","round":"0","block_id":{"hash":"B48F9B053FFFA8FB13FDD26C01E0BA1D609409D980056670BBCD0D5AE7328C17","parts":{"total":"1","hash":"C27E2B13B2007F9400907590E69D5E09B0D298F9ADB1735D54EEB8F51449594C"}},"timestamp":"2019-09-20T16:41:58.090573Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"cll1c3XmQxkDQPgAaV6xE7Z8VSSKrhABqavXxIwdDpjzrhXDOVhU9pqrGdY6SV6VfQ5QwsSXanrTsYRnxRtpBQ=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4500 +txhash: 1B97781BA3034E9C17D5BEFCA22DA5FA6D4F26E55E6EB282EEE905A85D959241 +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: update-client +info: "" +gaswanted: 200000 +gasused: 33750 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: update-client + +{"chain_id":"chain-attv4e","account_number":"3","sequence":"78","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/channel/MsgOpenConfirm","value":{"port_id":"ibc-mock","channel_id":"chan-f7b8","proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkL3N0YXRl","data":"hAMKgQMKKggSEK0BGJEjIiC8VyBmwOkJPaP75+4W5P+/GcBrZmgYvUKd6+BL1NpAZgopCA4QSRiRIyIgwpb63EK6FKqt5/MbrKJ10qOhcy+2RvDIM0cR0Aue90YKKQgMECgYkSMiIDTFJf4Epwi/Hk0gX+r46WcMRaGLVrA0mdvNgDIeKS8UCikIChAaGJEjIiBJHPP/9615hZaEOKyJXiRP98LV4cpZmdvBG+jC519QqgopCAgQDhiRIyIgv/VyEJb7ewnl6piGiGgwmoz4eMlljHjun52veo3VbmYKKQgGEAcYkSMiIBX0ze0oVXxxGJwyLQcVgSS8ZbCC3FpP2NlpNtjL6vpcCikIBBADGJEjKiBxKsjAm6L7BCKYq8lrHsWo8cOz+eekX0a3ZiGOjefXOxpRCip2MS9wb3J0cy9pYmMtbW9jay9jaGFubmVscy9jaGFuLTU5YmQvc3RhdGUSIAhP7Qi5eK9NfRlqdEaoa1gAnmNrYR2xYhG2Wpqt/ynFGJEj"},{"type":"multistore","key":"aWJj","data":"/QMK+gMKLwoEbWFpbhInCiUIkSMSIC5X75NgcQX0LlQ8dgnH0yGjA6A+mOiNJvhN1SnTkdFgCi4KA2liYxInCiUIkSMSIH0Tk4MLKXWbR63jn59qFWihjnbrhyomN4JkPGdwhzZ2CjMKCHNsYXNoaW5nEicKJQiRIxIgh2idsAJ68HKAUVx+PcIzW0OwREuMTxX6+KHck1i8ZvcKLwoEbWludBInCiUIkSMSILt+7HPF/mTs6oWkDO7mkhNyfJPQlas4bqpy40ujmFndCi4KA2dvdhInCiUIkSMSIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0CjEKBnN1cHBseRInCiUIkSMSIJMEdHm8qCO1ZYtpNtD6laL+w73SOQAgngba6UqQg5KsCjcKDGRpc3RyaWJ1dGlvbhInCiUIkSMSIL4ZvndR+x0KXjZcZmqUNFNWWysD+CQfVZZN8pBiAsmtCi4KA2FjYxInCiUIkSMSIE2X2AzM9izbpqnGmegyj/UB+aKXlEAdPkWZ071fHce6CjEKBnBhcmFtcxInCiUIkSMSINz60+hn2nySE+nY3K3qWzzXtacQQsBK338SXRLlt4AVCjIKB3N0YWtpbmcSJwolCJEjEiDVfTbVH3JbqGxbR0OCBGLlmJ7u5xp2qu1CTOKxtEHBUQ=="}]},"key":"cG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkL3N0YXRl"}}],"height":"4498","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4502 +txhash: F064B9814F93E7DF875E8FB06ED01BEEC3E512AE5F909283CE983827E704604C +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-confirm"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: open-confirm +info: "" +gaswanted: 200000 +gasused: 33404 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: open-confirm diff --git a/cmd/gaiacli/channel.sh b/cmd/gaiacli/channel.sh new file mode 100755 index 00000000000..e0ba1a03152 --- /dev/null +++ b/cmd/gaiacli/channel.sh @@ -0,0 +1,6 @@ +CHANID1="chan-$(openssl rand -hex 2)" +CHANID2="chan-$(openssl rand -hex 2)" +echo "establishing channel..." +echo "channel 1: $CHANID1" +echo "channel 2: $CHANID2" +./gaiacli tx ibc channel handshake ibc-mock $CHANID1 $1 ibc-mock $CHANID2 $2 --from1 node0 --from2 node0 --home ../node0/gaiacli --chain-id $CID diff --git a/cmd/gaiacli/client.txt b/cmd/gaiacli/client.txt new file mode 100644 index 00000000000..23ff390e622 --- /dev/null +++ b/cmd/gaiacli/client.txt @@ -0,0 +1,32 @@ +joons-mbp% export CID=chain-attv4e +joons-mbp% ./client.sh +writing path... +writing state... +creating client client-67f4 +{"chain_id":"chain-attv4e","account_number":"3","sequence":"57","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgCreateClient","value":{"ClientID":"client-67f4","ConsensusState":{"type":"ibc/client/tendermint/ConsensusState","value":{"ChainID":"chain-attv4e","Height":"4294","Root":{"type":"ibc/commitment/merkle/Root","value":{"hash":"QKAHCRcVfLMzyEhyZxp9E/NlFYHCdjGgm492uMLwzW0="}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 0 +txhash: F1CAECBB19CE90A9A27B0DCD018755CC4AB513F72C00DFA98B6B90B35B3BD78C +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"create-client"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: create-client +info: "" +gaswanted: 0 +gasused: 0 +codespace: "" +tx: null +timestamp: "" +events: [] + +joons-mbp% export CLIENTID=client-67f4 diff --git a/cmd/gaiacli/conn.txt b/cmd/gaiacli/conn.txt new file mode 100644 index 00000000000..7419aadd1b4 --- /dev/null +++ b/cmd/gaiacli/conn.txt @@ -0,0 +1,219 @@ +joons-mbp% ./connection.sh $CLIENTID +establishing connection... +connection 1: conn-c91b +connection 2: conn-b49a +3333 +{"chain_id":"chain-attv4e","account_number":"3","sequence":"58","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgOpenInit","value":{"connection_id":"conn-c91b","connection":{"client":"client-67f4","counterparty":"conn-b49a","path":{"type":"ibc/commitment/merkle/Path","value":{"key_path":["aWJj"],"key_prefix":"djEv"}}},"counterparty_client":"client-67f4","next_timeout":"5302","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4303 +txhash: EDAEA145806A595487484C4875C5C4BD0AD6E9CBE9215C4279E952B4B0D51CE7 +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-init"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: open-init +info: "" +gaswanted: 200000 +gasused: 24428 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: open-init + +{"chain_id":"chain-attv4e","account_number":"3","sequence":"59","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4304","time":"2019-09-20T16:24:51.987162Z","num_txs":"0","total_txs":"58","last_block_id":{"hash":"00D2FED681D798C17A1250B7AA76871880DAD86B84E45CA134F3BAC62FAB5C57","parts":{"total":"1","hash":"7CC72FA5F514E61D6EBDDC2E1A8C03047E3ACAD58A0A3BD73FC1C17D75F305C6"}},"last_commit_hash":"DB7FFB84C308EE5DF84B3536115F7786EBE35087DB4F1B5679257062B49F3D1D","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"20D9677ED4CC87B8C20AA104D5C42E937C78FED1A660AC95B1FE5CA3CEB4D835","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"EB40BE1F6676F4B6256D01B8DD42D107BF60D884F00F20816B70FAE9E8CB6A45","parts":{"total":"1","hash":"23C181961F708C2D0720266E55687DA76A0A7DA445DBF1D22E2F613F48E788A9"}},"precommits":[{"type":2,"height":"4304","round":"0","block_id":{"hash":"EB40BE1F6676F4B6256D01B8DD42D107BF60D884F00F20816B70FAE9E8CB6A45","parts":{"total":"1","hash":"23C181961F708C2D0720266E55687DA76A0A7DA445DBF1D22E2F613F48E788A9"}},"timestamp":"2019-09-20T16:24:57.028671Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"pvn3TDyAxaH02sL5sQbHsxZ1adlOcUMD1uFHXkErdj0bhhRxVUK/eEZhoOxKv2kQURbYH/yrkNbK/TkxsmO6Dg=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4312 +txhash: ACF62A37280E14C5C2D1CDC74AA035F812CC549F8C9F4C2EC88EF328AD350C1E +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: update-client +info: "" +gaswanted: 200000 +gasused: 33760 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: update-client + +updated apphash to 20D9677ED4CC87B8C20AA104D5C42E937C78FED1A660AC95B1FE5CA3CEB4D835 +querying from 4303 +{"chain_id":"chain-attv4e","account_number":"3","sequence":"60","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgOpenTry","value":{"connection_id":"conn-b49a","connection":{"client":"client-67f4","counterparty":"conn-c91b","path":{"type":"ibc/commitment/merkle/Path","value":{"key_path":["aWJj"],"key_prefix":"djEv"}}},"counterparty_client":"client-67f4","timeout":"5302","next_timeout":"5312","proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWI=","data":"nAMKmQMKKggSEJQBGM8hIiA1uu18bvWW/FcBbVeDFXo2XqcJvawz/Z0KIh3KRSmbhQopCA4QOBjPISIgh81q9q9zOyLcx/SrvYmgu/EPHFkeTO8nzgKsmvOcmtkKKQgMECYYzyEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikIChAWGM8hIiAam4sJASUzHMKA/RQD/ngbTSa4ikEofQy7TNWBTEZhEQopCAgQDRjPISogA5EIGvZtcuZpSQRa+faLeV6oGEHZeTjbiSxA1YMYLXgKKQgGEAYYzyEqIOlZjcFw6ccNrQBd6YizSe7ZJD34ScfC5qLkPk3w8GCACikIBBAEGM8hIiDieDGSvr5nYeyHgfDMSLA1LYL3yyIzdcq6359YUUF3MwopCAIQAhjPISIgYOTrVYlfwodvPVJqf1OQlPg/Sx15T1Qsjkp3cKmxjMkaPgoXdjEvY29ubmVjdGlvbi9jb25uLWM5MWISICbl5EPm0bHiy90TynRiAjNMd2stzOJZHvrI79ZwDRtFGM8h"},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMwoIc2xhc2hpbmcSJwolCM8hEiAQHdQGhiHLVYLjMJiE0d+SrYdl5UnKSUQvDEOrJ14zdgoyCgdzdGFraW5nEicKJQjPIRIg1X021R9yW6hsW0dDggRi5Zie7ucadqrtQkzisbRBwVEKLgoDYWNjEicKJQjPIRIgFFplpJIWY9BxSZz7U7X8O/nc8igjv48uMBWb1xfdPmQKLgoDaWJjEicKJQjPIRIg97XvcXEPTRGOCUXT6yfuuIeoGC/G14LxKbLGe0oqW+YKLgoDZ292EicKJQjPIRIgYM0TfBli7KxhY4nWgDSDPykhUJwtKFql9RU5l86WinQKLwoEbWFpbhInCiUIzyESIC5X75NgcQX0LlQ8dgnH0yGjA6A+mOiNJvhN1SnTkdFgCi8KBG1pbnQSJwolCM8hEiANZO1mEbc+HQcAul1Wuakw9VkfZGjs+ESzGO1T6xx2gQoxCgZzdXBwbHkSJwolCM8hEiB3+zNG7PnGHH+zboXgHHKHNlgnr9X4sj2+ds1OoTSpewo3CgxkaXN0cmlidXRpb24SJwolCM8hEiC6lukdRT65FpBydbFcDySpmQHDo6j8r4AMaBqE/1qoLAoxCgZwYXJhbXMSJwolCM8hEiDc+tPoZ9p8khPp2Nyt6ls817WnEELASt9/El0S5beAFQ=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWI="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWIvc3RhdGU=","data":"ogMKnwMKKggSEJQBGM8hIiA1uu18bvWW/FcBbVeDFXo2XqcJvawz/Z0KIh3KRSmbhQopCA4QOBjPISIgh81q9q9zOyLcx/SrvYmgu/EPHFkeTO8nzgKsmvOcmtkKKQgMECYYzyEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikIChAWGM8hIiAam4sJASUzHMKA/RQD/ngbTSa4ikEofQy7TNWBTEZhEQopCAgQDRjPISIgWsJmz4BpAVPzONMBNlMcJ+atd4t8BHYtHkEUte3deVwKKQgGEAcYzyEqIPKBvRA3CF7P3PbN/qiFQmHJgMBRxV4q2yC9+BTA3fiRCikIBBADGM8hKiDXI1/6iiwU+UeP4P2nnYCfsB9Ptdobd5PO6Plccm2RNQopCAIQAhjPISogWQu3LXzAbx0wWC9Y5L6NCOB29PgIiXf20XNfQ6Ddp7IaRAoddjEvY29ubmVjdGlvbi9jb25uLWM5MWIvc3RhdGUSIEv1Ei80RVTFO94uu4zSt+PRYArWMcOFpdfM4jx3hUWaGM8h"},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMwoIc2xhc2hpbmcSJwolCM8hEiAQHdQGhiHLVYLjMJiE0d+SrYdl5UnKSUQvDEOrJ14zdgoyCgdzdGFraW5nEicKJQjPIRIg1X021R9yW6hsW0dDggRi5Zie7ucadqrtQkzisbRBwVEKLgoDYWNjEicKJQjPIRIgFFplpJIWY9BxSZz7U7X8O/nc8igjv48uMBWb1xfdPmQKLgoDaWJjEicKJQjPIRIg97XvcXEPTRGOCUXT6yfuuIeoGC/G14LxKbLGe0oqW+YKLgoDZ292EicKJQjPIRIgYM0TfBli7KxhY4nWgDSDPykhUJwtKFql9RU5l86WinQKLwoEbWFpbhInCiUIzyESIC5X75NgcQX0LlQ8dgnH0yGjA6A+mOiNJvhN1SnTkdFgCi8KBG1pbnQSJwolCM8hEiANZO1mEbc+HQcAul1Wuakw9VkfZGjs+ESzGO1T6xx2gQoxCgZzdXBwbHkSJwolCM8hEiB3+zNG7PnGHH+zboXgHHKHNlgnr9X4sj2+ds1OoTSpewo3CgxkaXN0cmlidXRpb24SJwolCM8hEiC6lukdRT65FpBydbFcDySpmQHDo6j8r4AMaBqE/1qoLAoxCgZwYXJhbXMSJwolCM8hEiDc+tPoZ9p8khPp2Nyt6ls817WnEELASt9/El0S5beAFQ=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWIvc3RhdGU="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWIvdGltZW91dA==","data":"pAMKoQMKKggSEJQBGM8hIiA1uu18bvWW/FcBbVeDFXo2XqcJvawz/Z0KIh3KRSmbhQopCA4QOBjPISIgh81q9q9zOyLcx/SrvYmgu/EPHFkeTO8nzgKsmvOcmtkKKQgMECYYzyEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikIChAWGM8hIiAam4sJASUzHMKA/RQD/ngbTSa4ikEofQy7TNWBTEZhEQopCAgQDRjPISIgWsJmz4BpAVPzONMBNlMcJ+atd4t8BHYtHkEUte3deVwKKQgGEAcYzyEqIPKBvRA3CF7P3PbN/qiFQmHJgMBRxV4q2yC9+BTA3fiRCikIBBADGM8hKiDXI1/6iiwU+UeP4P2nnYCfsB9Ptdobd5PO6Plccm2RNQopCAIQAhjPISIgareqlchGk+fq/tEkWKD8Jxwu3cNYV9WwMhL7mOYIEicaRgofdjEvY29ubmVjdGlvbi9jb25uLWM5MWIvdGltZW91dBIgnnwEWyOgFGr5Vdg16qMrD3CyCKBG7ftgzmAEnAqA4cwYzyE="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMwoIc2xhc2hpbmcSJwolCM8hEiAQHdQGhiHLVYLjMJiE0d+SrYdl5UnKSUQvDEOrJ14zdgoyCgdzdGFraW5nEicKJQjPIRIg1X021R9yW6hsW0dDggRi5Zie7ucadqrtQkzisbRBwVEKLgoDYWNjEicKJQjPIRIgFFplpJIWY9BxSZz7U7X8O/nc8igjv48uMBWb1xfdPmQKLgoDaWJjEicKJQjPIRIg97XvcXEPTRGOCUXT6yfuuIeoGC/G14LxKbLGe0oqW+YKLgoDZ292EicKJQjPIRIgYM0TfBli7KxhY4nWgDSDPykhUJwtKFql9RU5l86WinQKLwoEbWFpbhInCiUIzyESIC5X75NgcQX0LlQ8dgnH0yGjA6A+mOiNJvhN1SnTkdFgCi8KBG1pbnQSJwolCM8hEiANZO1mEbc+HQcAul1Wuakw9VkfZGjs+ESzGO1T6xx2gQoxCgZzdXBwbHkSJwolCM8hEiB3+zNG7PnGHH+zboXgHHKHNlgnr9X4sj2+ds1OoTSpewo3CgxkaXN0cmlidXRpb24SJwolCM8hEiC6lukdRT65FpBydbFcDySpmQHDo6j8r4AMaBqE/1qoLAoxCgZwYXJhbXMSJwolCM8hEiDc+tPoZ9p8khPp2Nyt6ls817WnEELASt9/El0S5beAFQ=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWIvdGltZW91dA=="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWIvY291bnRlcnBhcnR5Q2xpZW50","data":"hAMKgQMKKggSEJQBGM8hIiA1uu18bvWW/FcBbVeDFXo2XqcJvawz/Z0KIh3KRSmbhQopCA4QOBjPISIgh81q9q9zOyLcx/SrvYmgu/EPHFkeTO8nzgKsmvOcmtkKKQgMECYYzyEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikIChAWGM8hIiAam4sJASUzHMKA/RQD/ngbTSa4ikEofQy7TNWBTEZhEQopCAgQDRjPISogA5EIGvZtcuZpSQRa+faLeV6oGEHZeTjbiSxA1YMYLXgKKQgGEAYYzyEiIMmQAFBaGqK676nlA5nkl8p+JcHm/3h3jmXhpE62xowoCikIAhACGM8hKiC9iUlGVA0kBvtRw7n1XF0Ork+5UMRIVS68Wp2iHViWIxpRCip2MS9jb25uZWN0aW9uL2Nvbm4tYzkxYi9jb3VudGVycGFydHlDbGllbnQSIF6jG/vAVoASRkZtFzcrf+zRtjBNKX+AcZfu0S5Jw1LGGM8h"},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMwoIc2xhc2hpbmcSJwolCM8hEiAQHdQGhiHLVYLjMJiE0d+SrYdl5UnKSUQvDEOrJ14zdgoyCgdzdGFraW5nEicKJQjPIRIg1X021R9yW6hsW0dDggRi5Zie7ucadqrtQkzisbRBwVEKLgoDYWNjEicKJQjPIRIgFFplpJIWY9BxSZz7U7X8O/nc8igjv48uMBWb1xfdPmQKLgoDaWJjEicKJQjPIRIg97XvcXEPTRGOCUXT6yfuuIeoGC/G14LxKbLGe0oqW+YKLgoDZ292EicKJQjPIRIgYM0TfBli7KxhY4nWgDSDPykhUJwtKFql9RU5l86WinQKLwoEbWFpbhInCiUIzyESIC5X75NgcQX0LlQ8dgnH0yGjA6A+mOiNJvhN1SnTkdFgCi8KBG1pbnQSJwolCM8hEiANZO1mEbc+HQcAul1Wuakw9VkfZGjs+ESzGO1T6xx2gQoxCgZzdXBwbHkSJwolCM8hEiB3+zNG7PnGHH+zboXgHHKHNlgnr9X4sj2+ds1OoTSpewo3CgxkaXN0cmlidXRpb24SJwolCM8hEiC6lukdRT65FpBydbFcDySpmQHDo6j8r4AMaBqE/1qoLAoxCgZwYXJhbXMSJwolCM8hEiDc+tPoZ9p8khPp2Nyt6ls817WnEELASt9/El0S5beAFQ=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWIvY291bnRlcnBhcnR5Q2xpZW50"}}],"height":"4304","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4313 +txhash: 5979418C2ADCD4697DDCE82EB2E62314C2CC8F1552446897EA4130F8320BC6E1 +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-try"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: open-try +info: "" +gaswanted: 200000 +gasused: 68052 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: open-try + +{"chain_id":"chain-attv4e","account_number":"3","sequence":"61","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4314","time":"2019-09-20T16:25:42.469457Z","num_txs":"0","total_txs":"60","last_block_id":{"hash":"AAC9CB0328819849A64710B15D1499688F7F36787397C19A07ACE5A980CA1CE9","parts":{"total":"1","hash":"EFB5B37EFB485E710CBBC4EBA61B6B40F4BFA99A11DA6AADE2C2697A67F79BF6"}},"last_commit_hash":"FFF4EA75B854EDD976A27A3C2421B7E61322C85A37E3B645DBB2169ACA580A0F","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"86856C846F36A63E2ECB51570CD41A87F284DF9F9AE898A4C3D759441A82337E","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"529503F7E75C7A7E894718F82CAE993BA3664D6903295F5CB9ACF882DB64F491","parts":{"total":"1","hash":"47D76A5AC6F9123D908FF84FEC2B426DDB888E8290AEA409B20D42B780CC871E"}},"precommits":[{"type":2,"height":"4314","round":"0","block_id":{"hash":"529503F7E75C7A7E894718F82CAE993BA3664D6903295F5CB9ACF882DB64F491","parts":{"total":"1","hash":"47D76A5AC6F9123D908FF84FEC2B426DDB888E8290AEA409B20D42B780CC871E"}},"timestamp":"2019-09-20T16:25:47.519984Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"xOVVdbDBhvXlqSHWNNbV2pVxND7ChgUa4ywh8jwSIo77kQWliR121TMvILEXdgBH6mP7fbk09Amd26We+UZuBw=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4316 +txhash: 7C02928EA0E65A7802167190E6B5FD8028DCD060B6B3DBE87BF5CD36455B8D06 +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: update-client +info: "" +gaswanted: 200000 +gasused: 33770 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: update-client + +{"chain_id":"chain-attv4e","account_number":"3","sequence":"62","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgOpenAck","value":{"connection_id":"conn-c91b","timeout":"5312","next_timeout":"5316","proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWI0OWE=","data":"8QIK7gIKKggSEJoBGNkhIiDOCl0CweIZtlvn4w6AgbleIgVPj4f/b+eD0xprb1uF2QopCA4QPRjZISog1/1pHFCJ2E6HZHmkkn0Kdcjuiebq66EDjs0RwOysaOMKKQgMECAY2SEiIIfNavavczsi3Mf0q72JoLvxDxxZHkzvJ84CrJrznJrZCikIChAOGNkhIiD8hL7wXm0cZ3TuEcrAma6oBbJCAYYDfKoGeDu+guhqwAopCAgQCBjZISogBtocM8BFKgTK0dzMy3p3yaB2cl0EQk/K/IPmIpZuApwKKQgEEAMY2SEqIF9tJVgG/Zj0c8Qi+fvxPWgzyK+UCmTac9TWY15LsJpnCikIAhACGNkhIiBn6wJi17X3S9ZcJ+1R64sh2xH/5QVokSUdo7lEIOIjvBo+Chd2MS9jb25uZWN0aW9uL2Nvbm4tYjQ5YRIg8MeXTkqaf+/s95K/G8gxCZoWff3CFbocqCC0JKbUnPwY2SE="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMQoGc3VwcGx5EicKJQjZIRIghjEhdfxigOZ59MmV4d+7CVD0Nhw3rquaNAbMt0m1ji4KNwoMZGlzdHJpYnV0aW9uEicKJQjZIRIgZ8+vYqYspyIrbdyKW2i+29la1zZB+YUr6pJQgUCFusAKMQoGcGFyYW1zEicKJQjZIRIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKLwoEbWludBInCiUI2SESIPnEfUHJkYnklc0nIOis/KLHlCHR41fEmh6G03G8tdX4Ci4KA2liYxInCiUI2SESIPaRYk+cdI/5YYUzFBnbjuTBXgrApk5a35H1jmeSnk1jCi4KA2dvdhInCiUI2SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCNkhEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAozCghzbGFzaGluZxInCiUI2SESIP/a1keDPW0ymPhgTnZgOPI0BJf1NTJSasNBIy2HA+tfCjIKB3N0YWtpbmcSJwolCNkhEiDVfTbVH3JbqGxbR0OCBGLlmJ7u5xp2qu1CTOKxtEHBUQouCgNhY2MSJwolCNkhEiBVMveX/WFQIiLPA4tEmrNc9MkV9FR0PLN+mmkRHtS3Lw=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWI0OWE="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWI0OWEvc3RhdGU=","data":"ogMKnwMKKggSEJoBGNkhIiDOCl0CweIZtlvn4w6AgbleIgVPj4f/b+eD0xprb1uF2QopCA4QPRjZISog1/1pHFCJ2E6HZHmkkn0Kdcjuiebq66EDjs0RwOysaOMKKQgMECAY2SEiIIfNavavczsi3Mf0q72JoLvxDxxZHkzvJ84CrJrznJrZCikIChAOGNkhIiD8hL7wXm0cZ3TuEcrAma6oBbJCAYYDfKoGeDu+guhqwAopCAgQCBjZISIg4aLFz4MnigbGIyglWS6ijEXY8UPZAGRuS2mh4IQLHdgKKQgGEAUY2SEqIDe9WbpLErzS631XxbN+WKkU7A4RHzYQpGwqUCmzPxVnCikIBBADGNkhIiDZbGeCv2ypyzwQUML5YHc2JDw/NW/CSesmaL6MiGDmnQopCAIQAhjZISogKh6YdX8SZN/hTYXsFIyI8L717mh4cuNI8B5g3YbYy3caRAoddjEvY29ubmVjdGlvbi9jb25uLWI0OWEvc3RhdGUSINvBtMkA/+SNV1tdpcY4BAEl9l2w/j4kSUt26phkV9mGGNkh"},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMQoGc3VwcGx5EicKJQjZIRIghjEhdfxigOZ59MmV4d+7CVD0Nhw3rquaNAbMt0m1ji4KNwoMZGlzdHJpYnV0aW9uEicKJQjZIRIgZ8+vYqYspyIrbdyKW2i+29la1zZB+YUr6pJQgUCFusAKMQoGcGFyYW1zEicKJQjZIRIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKLwoEbWludBInCiUI2SESIPnEfUHJkYnklc0nIOis/KLHlCHR41fEmh6G03G8tdX4Ci4KA2liYxInCiUI2SESIPaRYk+cdI/5YYUzFBnbjuTBXgrApk5a35H1jmeSnk1jCi4KA2dvdhInCiUI2SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCNkhEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAozCghzbGFzaGluZxInCiUI2SESIP/a1keDPW0ymPhgTnZgOPI0BJf1NTJSasNBIy2HA+tfCjIKB3N0YWtpbmcSJwolCNkhEiDVfTbVH3JbqGxbR0OCBGLlmJ7u5xp2qu1CTOKxtEHBUQouCgNhY2MSJwolCNkhEiBVMveX/WFQIiLPA4tEmrNc9MkV9FR0PLN+mmkRHtS3Lw=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWI0OWEvc3RhdGU="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWI0OWEvdGltZW91dA==","data":"pAMKoQMKKggSEJoBGNkhIiDOCl0CweIZtlvn4w6AgbleIgVPj4f/b+eD0xprb1uF2QopCA4QPRjZISog1/1pHFCJ2E6HZHmkkn0Kdcjuiebq66EDjs0RwOysaOMKKQgMECAY2SEiIIfNavavczsi3Mf0q72JoLvxDxxZHkzvJ84CrJrznJrZCikIChAOGNkhIiD8hL7wXm0cZ3TuEcrAma6oBbJCAYYDfKoGeDu+guhqwAopCAgQCBjZISIg4aLFz4MnigbGIyglWS6ijEXY8UPZAGRuS2mh4IQLHdgKKQgGEAUY2SEqIDe9WbpLErzS631XxbN+WKkU7A4RHzYQpGwqUCmzPxVnCikIBBADGNkhIiDZbGeCv2ypyzwQUML5YHc2JDw/NW/CSesmaL6MiGDmnQopCAIQAhjZISIgsFdixzoKA5Wo1mtP8DOidS0/ZgejUXixwG0Ekly5jukaRgofdjEvY29ubmVjdGlvbi9jb25uLWI0OWEvdGltZW91dBIgAnNgTmeUhqKUyoBvq5dNdv5DOfkVlZs9RE5xJ6qerGAY2SE="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMQoGc3VwcGx5EicKJQjZIRIghjEhdfxigOZ59MmV4d+7CVD0Nhw3rquaNAbMt0m1ji4KNwoMZGlzdHJpYnV0aW9uEicKJQjZIRIgZ8+vYqYspyIrbdyKW2i+29la1zZB+YUr6pJQgUCFusAKMQoGcGFyYW1zEicKJQjZIRIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKLwoEbWludBInCiUI2SESIPnEfUHJkYnklc0nIOis/KLHlCHR41fEmh6G03G8tdX4Ci4KA2liYxInCiUI2SESIPaRYk+cdI/5YYUzFBnbjuTBXgrApk5a35H1jmeSnk1jCi4KA2dvdhInCiUI2SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCNkhEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAozCghzbGFzaGluZxInCiUI2SESIP/a1keDPW0ymPhgTnZgOPI0BJf1NTJSasNBIy2HA+tfCjIKB3N0YWtpbmcSJwolCNkhEiDVfTbVH3JbqGxbR0OCBGLlmJ7u5xp2qu1CTOKxtEHBUQouCgNhY2MSJwolCNkhEiBVMveX/WFQIiLPA4tEmrNc9MkV9FR0PLN+mmkRHtS3Lw=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWI0OWEvdGltZW91dA=="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWI0OWEvY291bnRlcnBhcnR5Q2xpZW50","data":"2QIK1gIKKggSEJoBGNkhIiDOCl0CweIZtlvn4w6AgbleIgVPj4f/b+eD0xprb1uF2QopCA4QPRjZISog1/1pHFCJ2E6HZHmkkn0Kdcjuiebq66EDjs0RwOysaOMKKQgMECAY2SEiIIfNavavczsi3Mf0q72JoLvxDxxZHkzvJ84CrJrznJrZCikIChAOGNkhIiD8hL7wXm0cZ3TuEcrAma6oBbJCAYYDfKoGeDu+guhqwAopCAgQCBjZISogBtocM8BFKgTK0dzMy3p3yaB2cl0EQk/K/IPmIpZuApwKKQgEEAMY2SEiIBSlsEVpPCPCCpi7SmQARgqMZmcwQlIzslAe3AYAUe1JGlEKKnYxL2Nvbm5lY3Rpb24vY29ubi1iNDlhL2NvdW50ZXJwYXJ0eUNsaWVudBIgXqMb+8BWgBJGRm0XNyt/7NG2ME0pf4Bxl+7RLknDUsYY2SE="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMQoGc3VwcGx5EicKJQjZIRIghjEhdfxigOZ59MmV4d+7CVD0Nhw3rquaNAbMt0m1ji4KNwoMZGlzdHJpYnV0aW9uEicKJQjZIRIgZ8+vYqYspyIrbdyKW2i+29la1zZB+YUr6pJQgUCFusAKMQoGcGFyYW1zEicKJQjZIRIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKLwoEbWludBInCiUI2SESIPnEfUHJkYnklc0nIOis/KLHlCHR41fEmh6G03G8tdX4Ci4KA2liYxInCiUI2SESIPaRYk+cdI/5YYUzFBnbjuTBXgrApk5a35H1jmeSnk1jCi4KA2dvdhInCiUI2SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCNkhEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAozCghzbGFzaGluZxInCiUI2SESIP/a1keDPW0ymPhgTnZgOPI0BJf1NTJSasNBIy2HA+tfCjIKB3N0YWtpbmcSJwolCNkhEiDVfTbVH3JbqGxbR0OCBGLlmJ7u5xp2qu1CTOKxtEHBUQouCgNhY2MSJwolCNkhEiBVMveX/WFQIiLPA4tEmrNc9MkV9FR0PLN+mmkRHtS3Lw=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWI0OWEvY291bnRlcnBhcnR5Q2xpZW50"}}],"height":"4314","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4317 +txhash: E1F2BC73D93B733F47E89A785FBD1B5D2C4072C8A4C2AFE3A1B34097AE5F62FD +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-ack"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: open-ack +info: "" +gaswanted: 200000 +gasused: 67295 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: open-ack + +{"chain_id":"chain-attv4e","account_number":"3","sequence":"63","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4318","time":"2019-09-20T16:26:02.673235Z","num_txs":"0","total_txs":"62","last_block_id":{"hash":"5F28C3D4D1E1F8327ABFBF1DF7684FCFBE1BDDE491F02268E567AEEF26DCEDB0","parts":{"total":"1","hash":"57BE2C831336FAEA8704F4B1F7CF2C0776793AB75EC8F45A992091404574ECC1"}},"last_commit_hash":"8B167E59C768641FB454CFDA46915F23CCA6E312FB0349302E5E7295A77F7C40","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"5C10648BADD4F821C7AD53F6FF5CEB5FE85153DBC8922C6696960BDFE1F6487F","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"51756967589D9C297C7B0F636D8BFBE0DF115D8E401165EB7042AF16DC9DB2E8","parts":{"total":"1","hash":"C7AFAE6517E933D6DFD88ED26A86AD9114964CCA9A3BB588889D8CE345C1AD09"}},"precommits":[{"type":2,"height":"4318","round":"0","block_id":{"hash":"51756967589D9C297C7B0F636D8BFBE0DF115D8E401165EB7042AF16DC9DB2E8","parts":{"total":"1","hash":"C7AFAE6517E933D6DFD88ED26A86AD9114964CCA9A3BB588889D8CE345C1AD09"}},"timestamp":"2019-09-20T16:26:07.727843Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"trMvINrisNV+/9rOg6bvPNg3DX9ROo7LfGjLgM+cZie8dfKa4SOJTn/mHPE+XQc+49DN3tg4k5k1rjihd9kyAQ=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4320 +txhash: 45347A715789AE66EBB3E0495CE61576222804B594C6FA37A46B98BB5E87CECB +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: update-client +info: "" +gaswanted: 200000 +gasused: 33770 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: update-client + +{"chain_id":"chain-attv4e","account_number":"3","sequence":"64","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgOpenConfirm","value":{"connection_id":"conn-b49a","timeout":"5316","proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWIvc3RhdGU=","data":"9wIK9AIKKggSEJwBGN0hIiDfr3shSwh9gjZWVxxYMQFwNFu1HASUdQsL0dbDlBNqAwopCA4QPhjdISIgZasYTqGloDN5356H6z5+FyF29yAeXtySTalo2cShmJ0KKQgMEB4Y3SEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikICBAOGN0hIiDW7bL+RIc2iv5ikhIJ76rbTW7Gvwp9vyELE6aMpsRS8QopCAYQBxjdISog8oG9EDcIXs/c9s3+qIVCYcmAwFHFXirbIL34FMDd+JEKKQgEEAMY3SEqINcjX/qKLBT5R4/g/aedgJ+wH0+12ht3k87o+VxybZE1CikIAhACGN0hKiBc73ao1tnh/3lnngoVEvOiPvSkXgYzyHs7TSfzT6K1QxpECh12MS9jb25uZWN0aW9uL2Nvbm4tYzkxYi9zdGF0ZRIgCE/tCLl4r019GWp0RqhrWACeY2thHbFiEbZamq3/KcUY3SE="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKLwoEbWludBInCiUI3SESIPZWxhqqFQgXw86rdEiJOvet9O1EJMQnP2xzIs/OCaBECjEKBnN1cHBseRInCiUI3SESIJua97I7SIzWT+fVkmiWswp8qHEMbugeHD6ylME4CMiECjcKDGRpc3RyaWJ1dGlvbhInCiUI3SESICttMC+Zw+pcpK6RI4lsi3JtxdB8heucLcOCaE7zM0M1CjEKBnBhcmFtcxInCiUI3SESINz60+hn2nySE+nY3K3qWzzXtacQQsBK338SXRLlt4AVCjMKCHNsYXNoaW5nEicKJQjdIRIgcLWuVktV/zoDogiXsFfXu9BciTZf/1wyDj1ZrzjPjF8KMgoHc3Rha2luZxInCiUI3SESINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCi4KA2FjYxInCiUI3SESILR9yjBdOBzwwhBibEuDdnJnCRb0JQtELDYGR8EImcZPCi4KA2liYxInCiUI3SESIHm+tbe0sE+j3LzKgfnUkegg3UiAbgB7on8pOIVLeIn3Ci4KA2dvdhInCiUI3SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCN0hEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYA=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWIvc3RhdGU="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWIvdGltZW91dA==","data":"+QIK9gIKKggSEJwBGN0hIiDfr3shSwh9gjZWVxxYMQFwNFu1HASUdQsL0dbDlBNqAwopCA4QPhjdISIgZasYTqGloDN5356H6z5+FyF29yAeXtySTalo2cShmJ0KKQgMEB4Y3SEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikICBAOGN0hIiDW7bL+RIc2iv5ikhIJ76rbTW7Gvwp9vyELE6aMpsRS8QopCAYQBxjdISog8oG9EDcIXs/c9s3+qIVCYcmAwFHFXirbIL34FMDd+JEKKQgEEAMY3SEqINcjX/qKLBT5R4/g/aedgJ+wH0+12ht3k87o+VxybZE1CikIAhACGN0hIiB0ShmjUiWOT/xFS5Bka3Kqy74aZbJEZrEz0dg+QUfhLhpGCh92MS9jb25uZWN0aW9uL2Nvbm4tYzkxYi90aW1lb3V0EiBFINxDhRSRrOSB/DGAw9NqiO5T7aoQmu1TEAvZ6DUURRjdIQ=="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKLwoEbWludBInCiUI3SESIPZWxhqqFQgXw86rdEiJOvet9O1EJMQnP2xzIs/OCaBECjEKBnN1cHBseRInCiUI3SESIJua97I7SIzWT+fVkmiWswp8qHEMbugeHD6ylME4CMiECjcKDGRpc3RyaWJ1dGlvbhInCiUI3SESICttMC+Zw+pcpK6RI4lsi3JtxdB8heucLcOCaE7zM0M1CjEKBnBhcmFtcxInCiUI3SESINz60+hn2nySE+nY3K3qWzzXtacQQsBK338SXRLlt4AVCjMKCHNsYXNoaW5nEicKJQjdIRIgcLWuVktV/zoDogiXsFfXu9BciTZf/1wyDj1ZrzjPjF8KMgoHc3Rha2luZxInCiUI3SESINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCi4KA2FjYxInCiUI3SESILR9yjBdOBzwwhBibEuDdnJnCRb0JQtELDYGR8EImcZPCi4KA2liYxInCiUI3SESIHm+tbe0sE+j3LzKgfnUkegg3UiAbgB7on8pOIVLeIn3Ci4KA2dvdhInCiUI3SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCN0hEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYA=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWIvdGltZW91dA=="}}],"height":"4318","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} + +confirm transaction before signing and broadcasting [y/N]: y +Password to sign with 'node0': +height: 4321 +txhash: 5C7BADF2B5D83F33EEA832B404B6563577C1A6838152C2A53F32D8BAC88632CD +code: 0 +data: "" +rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-confirm"}]}]}]' +logs: +- msgindex: 0 + success: true + log: "" + events: + - type: message + attributes: + - key: action + value: open-confirm +info: "" +gaswanted: 200000 +gasused: 44592 +codespace: "" +tx: null +timestamp: "" +events: +- type: message + attributes: + - key: action + value: open-confirm + +joons-mbp% export CONN1=conn-c91b +joons-mbp% export CONN2=conn-b49a diff --git a/go.mod b/go.mod index 48e95c68728..65334b6a92c 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.34.4-0.20190918175036-ffed153880dc + github.com/cosmos/cosmos-sdk v0.34.4-0.20190920165639-3866942f3343 github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/go-kit/kit v0.9.0 // indirect github.com/golang/mock v1.3.1 // indirect diff --git a/go.sum b/go.sum index 12388baea9d..02de9d5217c 100644 --- a/go.sum +++ b/go.sum @@ -42,6 +42,12 @@ github.com/cosmos/cosmos-sdk v0.34.4-0.20190913222629-1028283e6fc1 h1:nvpz1FYhr4 github.com/cosmos/cosmos-sdk v0.34.4-0.20190913222629-1028283e6fc1/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= github.com/cosmos/cosmos-sdk v0.34.4-0.20190917153638-70a1c97f9486 h1:zNBuTJguBVIvhyyWvXmwuuBhbeLA+jeVvwx0idr0yig= github.com/cosmos/cosmos-sdk v0.34.4-0.20190917153638-70a1c97f9486/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= +github.com/cosmos/cosmos-sdk v0.34.4-0.20190918175036-ffed153880dc h1:tOZbt7jL9OaGvUISRawBSBWCLkAi4RhcWU/Oszxe/Sc= +github.com/cosmos/cosmos-sdk v0.34.4-0.20190918175036-ffed153880dc/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= +github.com/cosmos/cosmos-sdk v0.34.4-0.20190920161833-4b81cb5431d4 h1:4BPNJsbHpFoQhKtlT/hCO3XFJ6BCO9uCgwBHa3u2IHU= +github.com/cosmos/cosmos-sdk v0.34.4-0.20190920161833-4b81cb5431d4/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= +github.com/cosmos/cosmos-sdk v0.34.4-0.20190920165639-3866942f3343 h1:VGHV5e6LFeilXgkp+T1CuGBc5O1n/H3dfedo+jnKkB4= +github.com/cosmos/cosmos-sdk v0.34.4-0.20190920165639-3866942f3343/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= From e5837069fefff100477220f8df9b70fdc95eadd0 Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Mon, 30 Sep 2019 16:53:50 -0700 Subject: [PATCH 08/27] Fix IBC docs --- cmd/gaiacli/README.md | 105 ++++++++++++++++++------------------------ 1 file changed, 46 insertions(+), 59 deletions(-) diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index 14cfc730679..310f7e3b26a 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -4,88 +4,75 @@ ## Dependencies -This branch uses non-canonical branch of cosmos-sdk. Run `go mod vendor` on the root directory to retrive the dependencies. +This branch uses non-canonical branch of cosmos-sdk. Before building, run `go mod vendor` on the root directory to retrive the dependencies. To build: + +```shell +git clone git@github.com:cosmos/gaia +cd gaia +go mod vendor +make install +gaiad version +gaiacli version +``` -Move to `gaiad` directory, run `./gaiad testnet --v 1` and `mv ./mytestnet/node0 ../` +Stub out testnet files for 2 nodes, this example does so in your $HOME directory: -Currently the testing is done on a single chain with a pseudo-loopback connection, meaning that -- there is only one client living on single chain, pointing itself -- there are two connections living on single chain, bonded to the client and pointing each other -- there are two channels living on single chain, bonded to each connections and pointing each other +```shell +cd ~ && mkdir ibc-testnets && cd ibc-testnet +gaiad testnet -o ibc0 --v 1 --chain-id ibc0 --node-dir-prefix n +gaiad testnet -o ibc1 --v 1 --chain-id ibc1 --node-dir-prefix n +``` -but all lightclient verification and merkle proving are actually processed. +Fix the configuration files to allow both chains/nodes to run on the same machine -Check the chain-id of the testnet under `node0/gaiad/config/genesis.json` and store it as the environment variable `CID`. +```shell +# Configure the proper database backend for each node +sed -i '' 's/"leveldb"/"goleveldb"/g' ibc0/n0/gaiad/config/config.toml +sed -i '' 's/"leveldb"/"goleveldb"/g' ibc1/n0/gaiad/config/config.toml -```bash -> export CID=chain-attv4e +# Configure chain ibc1 to have different listening ports +sed -i '' 's#"tcp://0.0.0.0:26656"#"tcp://0.0.0.0:26556"#g' ibc1/n0/gaiad/config/config.toml +sed -i '' 's#"tcp://0.0.0.0:26657"#"tcp://0.0.0.0:26557"#g' ibc1/n0/gaiad/config/config.toml +sed -i '' 's#"localhost:6060"#"localhost:6061"#g' ibc1/n0/gaiad/config/config.toml +sed -i '' 's#"tcp://127.0.0.1:26658"#"tcp://127.0.0.1:26558"#g' ibc1/n0/gaiad/config/config.toml ``` -This will be used by the shell scripts. - -Run gaia daemon by +Then configure your `gaiacli` instances for each chain: ```bash -> ./gaiad/gaiad --home ./node0/gaiad start +gaiacli config --home ibc0/n0/gaiacli/ chain-id ibc0 +gaiacli config --home ibc1/n0/gaiacli/ chain-id ibc1 +gaiacli config --home ibc0/n0/gaiacli/ node http://localhost:26657 +gaiacli config --home ibc1/n0/gaiacli/ node http://localhost:26557 ``` -## Client - -Client can be instantiated with `client.sh` command. It will print +After configuration is complete, start each node in a seperate terminal window: ```bash -creating client client-09b6 +gaiad --home ibc0/n0/gaiad start +gaiad --home ibc1/n0/gaiad start ``` -export that identifier as an env variable. +## Client + +Create a client on ibc0: ```bash -> export CLIENTID=client-b438 +gaiacli --home ibc0/n0/gaiacli q ibc client path > path.json +gaiacli --home ibc0/n0/gaiacli q ibc client consensus-state > state0.json +gaiacli --home ibc0/n0/gaiacli tx ibc client create c0 ./state0.json --from n0 +gaiacli --home ibc0/n0/gaiacli q ibc client client c0 ``` -You can query the client after creation by +Create a client on ibc1: ```bash -> ./gaiacli query ibc client client $CLIENTID --home ../node0/gaiacli --trust-node -{ - "type": "ibc/client/tendermint/ConsensusState", - "value": { - "ChainID": "chain-attv4e", - "Height": "1006", - "Root": { - "type": "ibc/commitment/merkle/Root", - "value": { - "hash": "RDYMrUY6z9UBtPk9+qKl2Vujm8dOyePj/9dUlh6VvWM=" - } - }, - "NextValidatorSet": { - "validators": [ - { - "address": "9A4B3DF37C5F60517397410AE705B68652275ECF", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4=" - }, - "voting_power": "100", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "9A4B3DF37C5F60517397410AE705B68652275ECF", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4=" - }, - "voting_power": "100", - "proposer_priority": "0" - } - } - } -} +gaiacli --home ibc1/n0/gaiacli q ibc client path > path.json +gaiacli --home ibc1/n0/gaiacli q ibc client consensus-state > state1.json +gaiacli --home ibc1/n0/gaiacli tx ibc client create c1 ./state1.json --from n0 +gaiacli --home ibc1/n0/gaiacli q ibc client client c1 ``` -See [script log](./client.txt) - ## Connection Connections can be established with `connection.sh $CLIENTID` command. It will print From 6102c5512ec04acab471cd6a47bb72e12da69566 Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Mon, 30 Sep 2019 18:02:41 -0700 Subject: [PATCH 09/27] Update docs --- cmd/gaiacli/README.md | 81 ++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 48 deletions(-) diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index 310f7e3b26a..b163dbf37f6 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -44,6 +44,12 @@ gaiacli config --home ibc0/n0/gaiacli/ chain-id ibc0 gaiacli config --home ibc1/n0/gaiacli/ chain-id ibc1 gaiacli config --home ibc0/n0/gaiacli/ node http://localhost:26657 gaiacli config --home ibc1/n0/gaiacli/ node http://localhost:26557 + +# Add the key from ibc1 to the ibc0 cli +jq -r '.secret' ibc1/n0/gaiacli/key_seed.json | pbcopy + +# Paste the mnemonic from the above command after setting password (12345678) +gaiacli --home ibc0/n0/gaiacli keys add n1 --recover ``` After configuration is complete, start each node in a seperate terminal window: @@ -58,7 +64,7 @@ gaiad --home ibc1/n0/gaiad start Create a client on ibc0: ```bash -gaiacli --home ibc0/n0/gaiacli q ibc client path > path.json +gaiacli --home ibc0/n0/gaiacli q ibc client path > path0.json gaiacli --home ibc0/n0/gaiacli q ibc client consensus-state > state0.json gaiacli --home ibc0/n0/gaiacli tx ibc client create c0 ./state0.json --from n0 gaiacli --home ibc0/n0/gaiacli q ibc client client c0 @@ -67,7 +73,7 @@ gaiacli --home ibc0/n0/gaiacli q ibc client client c0 Create a client on ibc1: ```bash -gaiacli --home ibc1/n0/gaiacli q ibc client path > path.json +gaiacli --home ibc1/n0/gaiacli q ibc client path > path1.json gaiacli --home ibc1/n0/gaiacli q ibc client consensus-state > state1.json gaiacli --home ibc1/n0/gaiacli tx ibc client create c1 ./state1.json --from n0 gaiacli --home ibc1/n0/gaiacli q ibc client client c1 @@ -77,63 +83,42 @@ gaiacli --home ibc1/n0/gaiacli q ibc client client c1 Connections can be established with `connection.sh $CLIENTID` command. It will print -```bash -connection 1: conn-c91b -connection 2: conn-b49a -``` - -export that identifier as an env variable. - -```bash -> export CONNID1=conn-c91b -> export CONNID2=conn-b49a +```shell +gaiacli \ + --home ibc0/n0/gaiacli \ + tx ibc connection handshake \ + conn0 c0 path0.json \ + conn1 c1 path1.json \ + --from1 n0 --from2 n1 \ + --node1 tcp://localhost:26657 \ + --node2 tcp://localhost:26557 ``` -You can query the connection after establishment by +Once the connection is established you should be able to query it: ```bash -> ./gaiacli query ibc connection connection $CONNID1 --home ../node0/gaiacli --trust-node -{ - "connection": { - "client": "client-09b6", - "counterparty": "conn-e358", - "path": { - "type": "ibc/commitment/merkle/Path", - "value": { - "key_path": [ - "aWJj" - ], - "key_prefix": "djEv" - } - } - }, - "available": true, - "kind": "handshake" -} +gaiacli --home ibc0/n0/gaiacli q ibc connection connection conn0 --trust-node ``` -See [script log](./conn.txt) - ## Channel -Channels can be established with `channel.sh $CONNID1 $CONNID2` command. +To establish a channel using the `ibc-mock` application protocol run the following command: + +``` +gaiacli \ + --home ibc0/n0/gaiacli \ + tx ibc channel handshake \ + ibc-mock chan0 conn0 \ + ibc-mock chan1 conn1 \ + --from1 n0 --from2 n1 +``` You can query the channel after establishment by ```bash -> ./gaiacli query ibc channel channel ibc-mock $CHANID1 --home ../node0/gaiacli --trust-node -{ - "channel": { - "Counterparty": "chan-f7b8", - "CounterpartyPort": "ibc-mock", - "ConnectionHops": [ - "conn-c91b" - ] - }, - "available": true, - "sequence_send": "0", - "sequence_receive": "0" -} +gaiacli --home ibc0/n0/gaiacli query ibc channel channel ibc-mock chan0 --trust-node ``` -See [script log](./chan.txt) +## Send + +TODO From 90abacc620c7a75bebb7be370dcc2b73faa1bf3b Mon Sep 17 00:00:00 2001 From: mossid Date: Mon, 30 Sep 2019 20:43:28 -0700 Subject: [PATCH 10/27] fix handshake --- cmd/gaiacli/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index b163dbf37f6..8942f588ad8 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -61,22 +61,22 @@ gaiad --home ibc1/n0/gaiad start ## Client -Create a client on ibc0: +Create a client on ibc1: ```bash gaiacli --home ibc0/n0/gaiacli q ibc client path > path0.json gaiacli --home ibc0/n0/gaiacli q ibc client consensus-state > state0.json -gaiacli --home ibc0/n0/gaiacli tx ibc client create c0 ./state0.json --from n0 -gaiacli --home ibc0/n0/gaiacli q ibc client client c0 +gaiacli --home ibc1/n0/gaiacli tx ibc client create c1 ./state0.json --from n0 +gaiacli --home ibc1/n0/gaiacli q ibc client client c1 ``` -Create a client on ibc1: +Create a client on ibc0: ```bash gaiacli --home ibc1/n0/gaiacli q ibc client path > path1.json gaiacli --home ibc1/n0/gaiacli q ibc client consensus-state > state1.json -gaiacli --home ibc1/n0/gaiacli tx ibc client create c1 ./state1.json --from n0 -gaiacli --home ibc1/n0/gaiacli q ibc client client c1 +gaiacli --home ibc0/n0/gaiacli tx ibc client create c0 ./state1.json --from n0 +gaiacli --home ibc0/n0/gaiacli q ibc client client c0 ``` ## Connection @@ -87,8 +87,8 @@ Connections can be established with `connection.sh $CLIENTID` command. It will p gaiacli \ --home ibc0/n0/gaiacli \ tx ibc connection handshake \ - conn0 c0 path0.json \ - conn1 c1 path1.json \ + conn0 c0 path1.json \ + conn1 c1 path0.json \ --from1 n0 --from2 n1 \ --node1 tcp://localhost:26657 \ --node2 tcp://localhost:26557 From 114be934ff500cd5b94c8dea49cd1e2394ddb3b4 Mon Sep 17 00:00:00 2001 From: mossid Date: Mon, 30 Sep 2019 22:49:58 -0700 Subject: [PATCH 11/27] add mocksend/mockrecv apps --- app/app.go | 32 ++++++++++++++++++++------------ cmd/gaiacli/README.md | 28 ++++++++++++++++++++++++++-- go.mod | 2 +- 3 files changed, 47 insertions(+), 15 deletions(-) diff --git a/app/app.go b/app/app.go index 00ddac3e23f..94c1fdfe034 100644 --- a/app/app.go +++ b/app/app.go @@ -22,6 +22,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil" "github.com/cosmos/cosmos-sdk/x/gov" "github.com/cosmos/cosmos-sdk/x/ibc" + mockrecv "github.com/cosmos/cosmos-sdk/x/ibc/mock/recv" + mocksend "github.com/cosmos/cosmos-sdk/x/ibc/mock/send" "github.com/cosmos/cosmos-sdk/x/mint" "github.com/cosmos/cosmos-sdk/x/params" paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" @@ -93,17 +95,19 @@ type GaiaApp struct { tkeys map[string]*sdk.TransientStoreKey // keepers - accountKeeper auth.AccountKeeper - bankKeeper bank.Keeper - supplyKeeper supply.Keeper - stakingKeeper staking.Keeper - slashingKeeper slashing.Keeper - mintKeeper mint.Keeper - distrKeeper distr.Keeper - govKeeper gov.Keeper - crisisKeeper crisis.Keeper - paramsKeeper params.Keeper - ibcKeeper ibc.Keeper + accountKeeper auth.AccountKeeper + bankKeeper bank.Keeper + supplyKeeper supply.Keeper + stakingKeeper staking.Keeper + slashingKeeper slashing.Keeper + mintKeeper mint.Keeper + distrKeeper distr.Keeper + govKeeper gov.Keeper + crisisKeeper crisis.Keeper + paramsKeeper params.Keeper + ibcKeeper ibc.Keeper + ibcMockSendKeeper mocksend.Keeper + ibcMockRecvKeeper mockrecv.Keeper // the module manager mm *module.Manager @@ -125,7 +129,7 @@ func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest b keys := sdk.NewKVStoreKeys( bam.MainStoreKey, auth.StoreKey, staking.StoreKey, supply.StoreKey, mint.StoreKey, distr.StoreKey, slashing.StoreKey, - gov.StoreKey, params.StoreKey, ibc.StoreKey, + gov.StoreKey, params.StoreKey, ibc.StoreKey, mocksend.ModuleName, mockrecv.ModuleName, ) tkeys := sdk.NewTransientStoreKeys(staking.TStoreKey, params.TStoreKey) @@ -164,6 +168,8 @@ func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest b ) app.crisisKeeper = crisis.NewKeeper(crisisSubspace, invCheckPeriod, app.supplyKeeper, auth.FeeCollectorName) app.ibcKeeper = ibc.NewKeeper(app.cdc, keys[ibc.StoreKey]) + app.ibcMockSendKeeper = mocksend.NewKeeper(app.cdc, keys[mocksend.ModuleName], app.ibcKeeper.Port(mocksend.ModuleName)) + app.ibcMockRecvKeeper = mockrecv.NewKeeper(app.cdc, keys[mockrecv.ModuleName], app.ibcKeeper.Port(mockrecv.ModuleName)) // register the proposal types govRouter := gov.NewRouter() @@ -195,6 +201,8 @@ func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest b slashing.NewAppModule(app.slashingKeeper, app.stakingKeeper), staking.NewAppModule(app.stakingKeeper, app.accountKeeper, app.supplyKeeper), ibc.NewAppModule(app.ibcKeeper), + mocksend.NewAppModule(app.ibcMockSendKeeper), + mockrecv.NewAppModule(app.ibcMockRecvKeeper), ) // During begin block slashing happens after distr.BeginBlocker so that diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index 8942f588ad8..488c5dce76c 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -119,6 +119,30 @@ You can query the channel after establishment by gaiacli --home ibc0/n0/gaiacli query ibc channel channel ibc-mock chan0 --trust-node ``` -## Send +## Send Packet -TODO +To send a packet using the `ibc-mock` application protocol run the following command: + +``` +gaiacli --home ibc0/n0/gaiacli q ibcmocksend sequence chan0 +``` + +The command will return the latest sent sequence(0 if not exists). Run command with next sequence. + +``` +gaiacli --home ibc0/n0/gaiacli tx ibcmocksend sequence chan0 (sequence+1) +``` + +## Receive Packet + +To receive packets using the `ibc-mock` application protocol run the following command: + +``` +gaiacli --home ibc0/n0/gaiacli tx ibc channel flush ibcmocksend chan0 --trust-node +``` + +To see the updated sequence run the following command: + +``` +gaiacli --home ibc1/n0/gaiacli q ibcmockrecv sequence chan1 --trust-node +``` diff --git a/go.mod b/go.mod index 65334b6a92c..fcacdd4f0c7 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.34.4-0.20190920165639-3866942f3343 + github.com/cosmos/cosmos-sdk v0.34.4-0.20191001054705-fea2ba628ccd github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/go-kit/kit v0.9.0 // indirect github.com/golang/mock v1.3.1 // indirect From 18a6b528c405136ba5b6b3a42793c0455ab1ff22 Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Tue, 1 Oct 2019 08:49:58 -0700 Subject: [PATCH 12/27] remove -mod=readonly --- Makefile | 4 ++-- go.sum | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9b6854b7f69..4bcfe1395a1 100644 --- a/Makefile +++ b/Makefile @@ -87,8 +87,8 @@ else endif install: go.sum check-ledger - go install -mod=readonly $(BUILD_FLAGS) ./cmd/gaiad - go install -mod=readonly $(BUILD_FLAGS) ./cmd/gaiacli + go install $(BUILD_FLAGS) ./cmd/gaiad + go install $(BUILD_FLAGS) ./cmd/gaiacli install-debug: go.sum go install -mod=readonly $(BUILD_FLAGS) ./cmd/gaiadebug diff --git a/go.sum b/go.sum index 02de9d5217c..053784c015a 100644 --- a/go.sum +++ b/go.sum @@ -48,6 +48,8 @@ github.com/cosmos/cosmos-sdk v0.34.4-0.20190920161833-4b81cb5431d4 h1:4BPNJsbHpF github.com/cosmos/cosmos-sdk v0.34.4-0.20190920161833-4b81cb5431d4/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= github.com/cosmos/cosmos-sdk v0.34.4-0.20190920165639-3866942f3343 h1:VGHV5e6LFeilXgkp+T1CuGBc5O1n/H3dfedo+jnKkB4= github.com/cosmos/cosmos-sdk v0.34.4-0.20190920165639-3866942f3343/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191001054705-fea2ba628ccd h1:0xkZ3jxLyUS5Ln0un2WlTK7vMC9OnCeNcaOe302yZAo= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191001054705-fea2ba628ccd/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= From edffb9c89177fe04ddcda7fb717cef124694ad75 Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Thu, 3 Oct 2019 20:59:02 +0200 Subject: [PATCH 13/27] use cosmos/cosmos-sdk#5124 as SDK-IBC interface --- app/app.go | 5 +---- go.mod | 5 +++-- go.sum | 25 +++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 6 deletions(-) diff --git a/app/app.go b/app/app.go index 94c1fdfe034..66055280951 100644 --- a/app/app.go +++ b/app/app.go @@ -156,10 +156,7 @@ func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest b app.accountKeeper = auth.NewAccountKeeper(app.cdc, keys[auth.StoreKey], authSubspace, auth.ProtoBaseAccount) app.bankKeeper = bank.NewBaseKeeper(app.accountKeeper, bankSubspace, bank.DefaultCodespace, app.ModuleAccountAddrs()) app.supplyKeeper = supply.NewKeeper(app.cdc, keys[supply.StoreKey], app.accountKeeper, app.bankKeeper, maccPerms) - stakingKeeper := staking.NewKeeper( - app.cdc, keys[staking.StoreKey], tkeys[staking.TStoreKey], - app.supplyKeeper, stakingSubspace, staking.DefaultCodespace, - ) + stakingKeeper := staking.NewKeeper(app.cdc, keys[staking.StoreKey], app.supplyKeeper, stakingSubspace, staking.DefaultCodespace) app.mintKeeper = mint.NewKeeper(app.cdc, keys[mint.StoreKey], mintSubspace, &stakingKeeper, app.supplyKeeper, auth.FeeCollectorName) app.distrKeeper = distr.NewKeeper(app.cdc, keys[distr.StoreKey], distrSubspace, &stakingKeeper, app.supplyKeeper, distr.DefaultCodespace, auth.FeeCollectorName, app.ModuleAccountAddrs()) diff --git a/go.mod b/go.mod index fcacdd4f0c7..020cd86f89e 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.34.4-0.20191001054705-fea2ba628ccd + github.com/cosmos/cosmos-sdk v0.34.4-0.20191003163327-1e45d0bc4bd0 github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/go-kit/kit v0.9.0 // indirect github.com/golang/mock v1.3.1 // indirect @@ -25,10 +25,11 @@ require ( github.com/stretchr/testify v1.4.0 github.com/tendermint/go-amino v0.15.0 github.com/tendermint/tendermint v0.32.3 - github.com/tendermint/tm-db v0.1.1 + github.com/tendermint/tm-db v0.2.0 golang.org/x/crypto v0.0.0-20190909091759-094676da4a83 // indirect golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 // indirect golang.org/x/text v0.3.2 // indirect + golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64 // indirect google.golang.org/grpc v1.22.1 // indirect ) diff --git a/go.sum b/go.sum index 053784c015a..92249f07b22 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,8 @@ bou.ke/monkey v1.0.1 h1:zEMLInw9xvNakzUUPjfS4Ds6jYPqCFx3m7bRmG5NH2U= bou.ke/monkey v1.0.1/go.mod h1:FgHuK96Rv2Nlf+0u1OOVDpCMdsWyOFmeeketDHE7LIg= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/99designs/keyring v1.1.2 h1:JJauROcU6x6Nh9uZb+8JgXFvyo0GUESLo1ixhpA0Kmw= +github.com/99designs/keyring v1.1.2/go.mod h1:657DQuMrBZRtuL/voxVyiyb6zpMehlm5vLB9Qwrv904= github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= @@ -50,6 +52,8 @@ github.com/cosmos/cosmos-sdk v0.34.4-0.20190920165639-3866942f3343 h1:VGHV5e6LFe github.com/cosmos/cosmos-sdk v0.34.4-0.20190920165639-3866942f3343/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= github.com/cosmos/cosmos-sdk v0.34.4-0.20191001054705-fea2ba628ccd h1:0xkZ3jxLyUS5Ln0un2WlTK7vMC9OnCeNcaOe302yZAo= github.com/cosmos/cosmos-sdk v0.34.4-0.20191001054705-fea2ba628ccd/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191003163327-1e45d0bc4bd0 h1:TKX9DPfYhjrMNIqEi23opXGiyso9xMsbgCtpeJE4T5c= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191003163327-1e45d0bc4bd0/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= @@ -58,6 +62,7 @@ github.com/cosmos/ledger-cosmos-go v0.10.3/go.mod h1:J8//BsAGTo3OC/vDLjMRFLW6q0W github.com/cosmos/ledger-go v0.9.2 h1:Nnao/dLwaVTk1Q5U9THldpUMMXU94BOTWPddSmVB6pI= github.com/cosmos/ledger-go v0.9.2/go.mod h1:oZJ2hHAZROdlHiwTg4t7kP+GKIIkBT+o6c9QWFanOyI= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= +github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -65,9 +70,14 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= +github.com/dvsekhvalnov/jose2go v0.0.0-20180829124132-7f401d37b68a h1:mq+R6XEM6lJX5VlLyZIrUSP8tSuJp82xTK89hvBwJbU= +github.com/dvsekhvalnov/jose2go v0.0.0-20180829124132-7f401d37b68a/go.mod h1:7BvyPhdbLxMXIYTFPLsyJRFMsKmOZnQmzh6Gb+uquuM= github.com/etcd-io/bbolt v1.3.2/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= github.com/etcd-io/bbolt v1.3.3 h1:gSJmxrs37LgTqR/oyJBWok6k6SvXEUerFTbltIhXkBM= github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= +github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51/go.mod h1:Yg+htXGokKKdzcwhuNDwVvN+uBxDGXJ7G/VN1d8fa64= +github.com/facebookgo/stack v0.0.0-20160209184415-751773369052/go.mod h1:UbMTZqLaRiH3MsBH8va0n7s1pQYcu3uTb8G4tygF4Zg= +github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0= github.com/fortytw2/leaktest v1.2.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= @@ -83,6 +93,7 @@ github.com/go-logfmt/logfmt v0.4.0 h1:MP4Eh7ZCb31lleYCFuwm0oe4/YGak+5l1vA2NOE80n github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= @@ -118,6 +129,7 @@ github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/ad github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0= github.com/hashicorp/golang-lru v0.5.3 h1:YPkqC67at8FYaadspW/6uE0COsBxS2656RLEr8Bppgk= github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= @@ -134,6 +146,8 @@ github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlT github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d h1:Z+RDyXzjKE0i2sTjZ/b1uxiGtPhFy34Ou/Tk0qwN0kM= +github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNrCn9otv/2QP4D7SMJBgaleKpOf66PnW6F5WGNRIc= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= @@ -156,6 +170,7 @@ github.com/mattn/go-isatty v0.0.9 h1:d5US/mDsogSGW37IV293h//ZFaeajb69h+EHFsv2xGg github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= @@ -238,16 +253,20 @@ github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmq github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.0.0/go.mod h1:A8kyI5cUJhb8N+3pkfONlcEcZbueH6nhAm0Fq7SrnBM= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/spf13/viper v1.4.0 h1:yXHLWeravcrgGyFSyCgdYpXQ9dR9c/WED3pg1RhxqEU= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stumble/gorocksdb v0.0.3/go.mod h1:v6IHdFBXk5DJ1K4FZ0xi+eY737quiiBxYtSWXadLybY= github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965 h1:1oFLiOyVl+W7bnBzGhf7BbIv9loSFQcieWWYIjLqcAw= github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965/go.mod h1:9OrXJhf154huy1nPWmuSrkgjPUtUNhA+Zmy+6AESzuA= github.com/tendermint/btcd v0.1.1 h1:0VcxPfflS2zZ3RiOAHkBiFUcPvbtRj5O7zHmcJWHV7s= @@ -264,6 +283,8 @@ github.com/tendermint/tendermint v0.32.3 h1:GEnWpGQ795h5oTFNbfBLsY0LW/CW2j6p6Hti github.com/tendermint/tendermint v0.32.3/go.mod h1:ZK2c29jl1QRYznIRyRWRDsmm1yvtPzBRT00x4t1JToY= github.com/tendermint/tm-db v0.1.1 h1:G3Xezy3sOk9+ekhjZ/kjArYIs1SmwV+1OUgNkj7RgV0= github.com/tendermint/tm-db v0.1.1/go.mod h1:0cPKWu2Mou3IlxecH+MEUSYc1Ch537alLe6CpFrKzgw= +github.com/tendermint/tm-db v0.2.0 h1:rJxgdqn6fIiVJZy4zLpY1qVlyD0TU6vhkT4kEf71TQQ= +github.com/tendermint/tm-db v0.2.0/go.mod h1:0cPKWu2Mou3IlxecH+MEUSYc1Ch537alLe6CpFrKzgw= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= @@ -283,6 +304,7 @@ golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnf golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190909091759-094676da4a83 h1:mgAKeshyNqWKdENOnQsg+8dRTwZFIwFaO3HNl52sweA= golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -316,6 +338,7 @@ golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3 h1:4y9KwBHBgBNwDbtu44R5o1fdOCQUEXhbk/P4A9WmJq0= golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a h1:aYOabOQFp6Vj6W1F80affTUvO9UxmJRx8K0gsfABByQ= @@ -360,5 +383,7 @@ gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bl gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.3 h1:fvjTMHxHEw/mxHbtzPi3JCcKXQRAnQTBRo6YCJSVHKI= +gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= From dd2f1e9f56d92606d6b96363c1db9b910207fcb5 Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Thu, 3 Oct 2019 21:16:28 +0200 Subject: [PATCH 14/27] remove -mod=readonly again --- Makefile | 12 ++++++------ go.sum | 6 ++++++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 0df09ade34e..55f774f8bcf 100644 --- a/Makefile +++ b/Makefile @@ -69,11 +69,11 @@ all: install lint check build: go.sum ifeq ($(OS),Windows_NT) - go build -mod=readonly $(BUILD_FLAGS) -o build/gaiad.exe ./cmd/gaiad - go build -mod=readonly $(BUILD_FLAGS) -o build/gaiacli.exe ./cmd/gaiacli + go build $(BUILD_FLAGS) -o build/gaiad.exe ./cmd/gaiad + go build $(BUILD_FLAGS) -o build/gaiacli.exe ./cmd/gaiacli else - go build -mod=readonly $(BUILD_FLAGS) -o build/gaiad ./cmd/gaiad - go build -mod=readonly $(BUILD_FLAGS) -o build/gaiacli ./cmd/gaiacli + go build $(BUILD_FLAGS) -o build/gaiad ./cmd/gaiad + go build $(BUILD_FLAGS) -o build/gaiacli ./cmd/gaiacli endif build-linux: go.sum @@ -87,8 +87,8 @@ else endif install: go.sum - go install -mod=readonly $(BUILD_FLAGS) ./cmd/gaiad - go install -mod=readonly $(BUILD_FLAGS) ./cmd/gaiacli + go install $(BUILD_FLAGS) ./cmd/gaiad + go install $(BUILD_FLAGS) ./cmd/gaiacli install-debug: go.sum go install -mod=readonly $(BUILD_FLAGS) ./cmd/gaiadebug diff --git a/go.sum b/go.sum index 769fd4d0cad..57181c82f98 100644 --- a/go.sum +++ b/go.sum @@ -85,6 +85,7 @@ github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-kit/kit v0.6.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.8.0 h1:Wz+5lgoB0kkuqLEc6NVmwRknTKP6dTGbSqvhZtBI/j0= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0 h1:wDJmvq38kDhkVxi50ni9ykkdUr1PKgqKOoi01fa0Mdk= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= @@ -160,9 +161,11 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/libp2p/go-buffer-pool v0.0.1 h1:9Rrn/H46cXjaA2HQ5Y8lyhOS1NhTkZ4yuEs2r3Eechg= github.com/libp2p/go-buffer-pool v0.0.1/go.mod h1:xtyIz9PMobb13WaxR6Zo1Pd1zXJKYg0a8KiIvDp3TzQ= github.com/libp2p/go-buffer-pool v0.0.2 h1:QNK2iAFa8gjAe1SPz6mHSMuCcjs+X1wlHzeOSqcmlfs= github.com/libp2p/go-buffer-pool v0.0.2/go.mod h1:MvaB6xw5vOrDl8rYZGLFdKAuk/hRoRZd1Vi32+RXyFM= +github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= @@ -189,6 +192,7 @@ github.com/onsi/gomega v1.5.0 h1:izbySO9zDPmjJ8rDjLvkA2zJHIo+HkYXHnf7eN7SSyo= github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/otiai10/copy v1.0.1 h1:gtBjD8aq4nychvRZ2CyJvFWAw0aja+VHazDdruZKGZA= github.com/otiai10/copy v1.0.1/go.mod h1:8bMCJrAqOtN/d9oyh5HR7HhLQMvcGMpGdwRDYsfOCHc= +github.com/otiai10/copy v1.0.2 h1:DDNipYy6RkIkjMwy+AWzgKiNTyj2RUI9yEMeETEpVyc= github.com/otiai10/copy v1.0.2/go.mod h1:c7RpqBkwMom4bYTSkLSym4VSJz/XtncWRAj/J4PEIMY= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776 h1:o59bHXu8Ejas8Kq6pjoVJQ9/neN66SM8AKh6wI42BBs= @@ -232,6 +236,7 @@ github.com/rcrowley/go-metrics v0.0.0-20180503174638-e2704e165165/go.mod h1:bCqn github.com/rcrowley/go-metrics v0.0.0-20190706150252-9beb055b7962 h1:eUm8ma4+yPknhXtkYlWh3tMkE6gBjXZToDned9s2gbQ= github.com/rcrowley/go-metrics v0.0.0-20190706150252-9beb055b7962/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/rs/cors v1.6.0 h1:G9tHG9lebljV9mfp9SNPDL36nCDxmo3zTlAf1YgvzmI= github.com/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= @@ -369,6 +374,7 @@ google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98 google.golang.org/grpc v1.13.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.22.0 h1:J0UbZOIrCAl+fpTOf8YLs4dJo8L/owV4LYVtAXQoPkw= google.golang.org/grpc v1.22.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.22.1 h1:/7cs52RnTJmD43s3uxzlq2U7nqVTd/37viQwMrMNlOM= google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= From 3dcbc39ccc88ad4ad782e85eca3579342bc68af6 Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Fri, 4 Oct 2019 10:18:35 -0700 Subject: [PATCH 15/27] WIP 2chainz tutorial, verifier still blockin --- cmd/gaiacli/README.md | 3 ++- go.mod | 3 +-- go.sum | 39 +++++++++++---------------------------- 3 files changed, 14 insertions(+), 31 deletions(-) diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index 488c5dce76c..828c31f86ba 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -81,7 +81,7 @@ gaiacli --home ibc0/n0/gaiacli q ibc client client c0 ## Connection -Connections can be established with `connection.sh $CLIENTID` command. It will print +Create a connection with the following command: ```shell gaiacli \ @@ -89,6 +89,7 @@ gaiacli \ tx ibc connection handshake \ conn0 c0 path1.json \ conn1 c1 path0.json \ + --chain-id2 ibc1 \ --from1 n0 --from2 n1 \ --node1 tcp://localhost:26657 \ --node2 tcp://localhost:26557 diff --git a/go.mod b/go.mod index c2332615982..154fe04c2b8 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.34.4-0.20191003163327-1e45d0bc4bd0 + github.com/cosmos/cosmos-sdk v0.34.4-0.20191004171340-902cbae39507 github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/golang/mock v1.3.1 // indirect github.com/onsi/ginkgo v1.8.0 // indirect @@ -25,6 +25,5 @@ require ( golang.org/x/crypto v0.0.0-20190909091759-094676da4a83 // indirect golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 // indirect golang.org/x/text v0.3.2 // indirect - golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64 // indirect ) diff --git a/go.sum b/go.sum index 57181c82f98..16b6cdc38d3 100644 --- a/go.sum +++ b/go.sum @@ -40,20 +40,8 @@ github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8Nz github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cosmos/cosmos-sdk v0.34.4-0.20190913222629-1028283e6fc1 h1:nvpz1FYhr4GPneKZrrIyZ5leN1p+fVeGeMp+kvku79Q= -github.com/cosmos/cosmos-sdk v0.34.4-0.20190913222629-1028283e6fc1/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= -github.com/cosmos/cosmos-sdk v0.34.4-0.20190917153638-70a1c97f9486 h1:zNBuTJguBVIvhyyWvXmwuuBhbeLA+jeVvwx0idr0yig= -github.com/cosmos/cosmos-sdk v0.34.4-0.20190917153638-70a1c97f9486/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= -github.com/cosmos/cosmos-sdk v0.34.4-0.20190918175036-ffed153880dc h1:tOZbt7jL9OaGvUISRawBSBWCLkAi4RhcWU/Oszxe/Sc= -github.com/cosmos/cosmos-sdk v0.34.4-0.20190918175036-ffed153880dc/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= -github.com/cosmos/cosmos-sdk v0.34.4-0.20190920161833-4b81cb5431d4 h1:4BPNJsbHpFoQhKtlT/hCO3XFJ6BCO9uCgwBHa3u2IHU= -github.com/cosmos/cosmos-sdk v0.34.4-0.20190920161833-4b81cb5431d4/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= -github.com/cosmos/cosmos-sdk v0.34.4-0.20190920165639-3866942f3343 h1:VGHV5e6LFeilXgkp+T1CuGBc5O1n/H3dfedo+jnKkB4= -github.com/cosmos/cosmos-sdk v0.34.4-0.20190920165639-3866942f3343/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191001054705-fea2ba628ccd h1:0xkZ3jxLyUS5Ln0un2WlTK7vMC9OnCeNcaOe302yZAo= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191001054705-fea2ba628ccd/go.mod h1:WFgmzqlpCWWhon5UF59Nu3olrxCUB3+S/GzTeUyfs1U= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191003163327-1e45d0bc4bd0 h1:TKX9DPfYhjrMNIqEi23opXGiyso9xMsbgCtpeJE4T5c= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191003163327-1e45d0bc4bd0/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191004171340-902cbae39507 h1:/2p6cAEETEVRrE0occwD69r+4h4Z1Il748hvcSPOQhs= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191004171340-902cbae39507/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= @@ -62,6 +50,7 @@ github.com/cosmos/ledger-cosmos-go v0.10.3/go.mod h1:J8//BsAGTo3OC/vDLjMRFLW6q0W github.com/cosmos/ledger-go v0.9.2 h1:Nnao/dLwaVTk1Q5U9THldpUMMXU94BOTWPddSmVB6pI= github.com/cosmos/ledger-go v0.9.2/go.mod h1:oZJ2hHAZROdlHiwTg4t7kP+GKIIkBT+o6c9QWFanOyI= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= +github.com/danieljoos/wincred v1.0.2 h1:zf4bhty2iLuwgjgpraD2E9UbvO+fe54XXGJbOwe23fU= github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -75,8 +64,11 @@ github.com/dvsekhvalnov/jose2go v0.0.0-20180829124132-7f401d37b68a/go.mod h1:7Bv github.com/etcd-io/bbolt v1.3.2/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= github.com/etcd-io/bbolt v1.3.3 h1:gSJmxrs37LgTqR/oyJBWok6k6SvXEUerFTbltIhXkBM= github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= +github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51 h1:0JZ+dUmQeA8IIVUMzysrX4/AKuQwWhV2dYQuPZdvdSQ= github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51/go.mod h1:Yg+htXGokKKdzcwhuNDwVvN+uBxDGXJ7G/VN1d8fa64= +github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 h1:JWuenKqqX8nojtoVVWjGfOF9635RETekkoH6Cc9SX0A= github.com/facebookgo/stack v0.0.0-20160209184415-751773369052/go.mod h1:UbMTZqLaRiH3MsBH8va0n7s1pQYcu3uTb8G4tygF4Zg= +github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870 h1:E2s37DuLxFhQDg5gKsWoLBOB0n+ZW8s599zru8FJ2/Y= github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0= github.com/fortytw2/leaktest v1.2.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= @@ -87,13 +79,12 @@ github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeME github.com/go-kit/kit v0.6.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.8.0 h1:Wz+5lgoB0kkuqLEc6NVmwRknTKP6dTGbSqvhZtBI/j0= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.9.0 h1:wDJmvq38kDhkVxi50ni9ykkdUr1PKgqKOoi01fa0Mdk= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0 h1:MP4Eh7ZCb31lleYCFuwm0oe4/YGak+5l1vA2NOE80nA= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE= @@ -130,6 +121,7 @@ github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/ad github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0= github.com/hashicorp/golang-lru v0.5.3 h1:YPkqC67at8FYaadspW/6uE0COsBxS2656RLEr8Bppgk= github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= @@ -163,12 +155,8 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/libp2p/go-buffer-pool v0.0.1 h1:9Rrn/H46cXjaA2HQ5Y8lyhOS1NhTkZ4yuEs2r3Eechg= github.com/libp2p/go-buffer-pool v0.0.1/go.mod h1:xtyIz9PMobb13WaxR6Zo1Pd1zXJKYg0a8KiIvDp3TzQ= -github.com/libp2p/go-buffer-pool v0.0.2 h1:QNK2iAFa8gjAe1SPz6mHSMuCcjs+X1wlHzeOSqcmlfs= -github.com/libp2p/go-buffer-pool v0.0.2/go.mod h1:MvaB6xw5vOrDl8rYZGLFdKAuk/hRoRZd1Vi32+RXyFM= github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4= -github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/mattn/go-isatty v0.0.9 h1:d5US/mDsogSGW37IV293h//ZFaeajb69h+EHFsv2xGg= github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= @@ -190,16 +178,14 @@ github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.5.0 h1:izbySO9zDPmjJ8rDjLvkA2zJHIo+HkYXHnf7eN7SSyo= github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/otiai10/copy v1.0.1 h1:gtBjD8aq4nychvRZ2CyJvFWAw0aja+VHazDdruZKGZA= -github.com/otiai10/copy v1.0.1/go.mod h1:8bMCJrAqOtN/d9oyh5HR7HhLQMvcGMpGdwRDYsfOCHc= github.com/otiai10/copy v1.0.2 h1:DDNipYy6RkIkjMwy+AWzgKiNTyj2RUI9yEMeETEpVyc= github.com/otiai10/copy v1.0.2/go.mod h1:c7RpqBkwMom4bYTSkLSym4VSJz/XtncWRAj/J4PEIMY= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776 h1:o59bHXu8Ejas8Kq6pjoVJQ9/neN66SM8AKh6wI42BBs= github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776/go.mod h1:3HNVkVOU7vZeFXocWuvtcS0XSFLcf2XUSDHkq9t1jU4= -github.com/otiai10/mint v1.2.3/go.mod h1:YnfyPNhBvnY8bW4SGQHCs/aAFhkgySlMZbrF5U0bOVw= github.com/otiai10/mint v1.2.4 h1:DxYL0itZyPaR5Z9HILdxSoHx+gNs6Yx+neOGS3IVUk0= github.com/otiai10/mint v1.2.4/go.mod h1:d+b7n/0R3tdyUYYylALXpWQ/kTN+QobSq/4SRGBkR3M= +github.com/otiai10/mint v1.3.0 h1:Ady6MKVezQwHBkGzLFbrsywyp09Ah7rkmfjV3Bcr5uc= github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= @@ -238,8 +224,6 @@ github.com/rcrowley/go-metrics v0.0.0-20190706150252-9beb055b7962/go.mod h1:bCqn github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rs/cors v1.6.0 h1:G9tHG9lebljV9mfp9SNPDL36nCDxmo3zTlAf1YgvzmI= github.com/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= -github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik= -github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/snikch/goodman v0.0.0-20171125024755-10e37e294daa h1:YJfZp12Z3AFhSBeXOlv4BO55RMwPn2NoQeDsrdWnBtY= @@ -268,11 +252,13 @@ github.com/spf13/viper v1.4.0 h1:yXHLWeravcrgGyFSyCgdYpXQ9dR9c/WED3pg1RhxqEU= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0 h1:Hbg2NidpLE8veEBkEZTL3CvlkUIVzuU9jDplZO54c48= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stumble/gorocksdb v0.0.3 h1:9UU+QA1pqFYJuf9+5p7z1IqdE5k0mma4UAeu2wmX8kA= github.com/stumble/gorocksdb v0.0.3/go.mod h1:v6IHdFBXk5DJ1K4FZ0xi+eY737quiiBxYtSWXadLybY= github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965 h1:1oFLiOyVl+W7bnBzGhf7BbIv9loSFQcieWWYIjLqcAw= github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965/go.mod h1:9OrXJhf154huy1nPWmuSrkgjPUtUNhA+Zmy+6AESzuA= @@ -363,7 +349,6 @@ golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3 golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135 h1:5Beo0mZN8dRzgrMMkDp0jc8YXQKx9DiJ2k1dkvGsn5A= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -376,8 +361,6 @@ google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZi google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.22.0 h1:J0UbZOIrCAl+fpTOf8YLs4dJo8L/owV4LYVtAXQoPkw= google.golang.org/grpc v1.22.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.22.1 h1:/7cs52RnTJmD43s3uxzlq2U7nqVTd/37viQwMrMNlOM= -google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= From 0d7afc9cff6ed2cd80480fdbcc269950280fdaaa Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Fri, 4 Oct 2019 10:41:22 -0700 Subject: [PATCH 16/27] Verifier creation working properly, debugging panic on store query before 4th transaction in the handshake --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 154fe04c2b8..7494d3bdb3f 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.34.4-0.20191004171340-902cbae39507 + github.com/cosmos/cosmos-sdk v0.34.4-0.20191004173707-8b5e7e69473d github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/golang/mock v1.3.1 // indirect github.com/onsi/ginkgo v1.8.0 // indirect diff --git a/go.sum b/go.sum index 16b6cdc38d3..d96c92d6fb7 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,8 @@ github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8Nz github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191004171340-902cbae39507 h1:/2p6cAEETEVRrE0occwD69r+4h4Z1Il748hvcSPOQhs= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191004171340-902cbae39507/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191004173707-8b5e7e69473d h1:6bWiu+MoqOCTkXbZv0YC5Fl2EgledrPYU5/Wj3tnK04= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191004173707-8b5e7e69473d/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= From 4848be2440e985f91a38309f00ab9a10f49346c0 Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Mon, 7 Oct 2019 16:04:33 -0700 Subject: [PATCH 17/27] Just need to be able to flush packet from channel --- app/app.go | 2 + cmd/gaiacli/README.md | 27 +++-- cmd/gaiacli/chan.txt | 215 ------------------------------------- cmd/gaiacli/channel.sh | 6 -- cmd/gaiacli/client.sh | 8 -- cmd/gaiacli/client.txt | 32 ------ cmd/gaiacli/conn.txt | 219 -------------------------------------- cmd/gaiacli/connection.sh | 6 -- go.mod | 2 +- go.sum | 6 +- 10 files changed, 25 insertions(+), 498 deletions(-) delete mode 100644 cmd/gaiacli/chan.txt delete mode 100755 cmd/gaiacli/channel.sh delete mode 100755 cmd/gaiacli/client.sh delete mode 100644 cmd/gaiacli/client.txt delete mode 100644 cmd/gaiacli/conn.txt delete mode 100755 cmd/gaiacli/connection.sh diff --git a/app/app.go b/app/app.go index adc24646343..2062569e617 100644 --- a/app/app.go +++ b/app/app.go @@ -57,6 +57,8 @@ var ( slashing.AppModuleBasic{}, supply.AppModuleBasic{}, ibc.AppModuleBasic{}, + mocksend.AppModuleBasic{}, + mockrecv.AppModuleBasic{}, ) // module account permissions diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index 828c31f86ba..027e7e0f2b6 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -26,11 +26,9 @@ gaiad testnet -o ibc1 --v 1 --chain-id ibc1 --node-dir-prefix n Fix the configuration files to allow both chains/nodes to run on the same machine ```shell -# Configure the proper database backend for each node +# Configure the proper database backend for each node and different listening ports sed -i '' 's/"leveldb"/"goleveldb"/g' ibc0/n0/gaiad/config/config.toml sed -i '' 's/"leveldb"/"goleveldb"/g' ibc1/n0/gaiad/config/config.toml - -# Configure chain ibc1 to have different listening ports sed -i '' 's#"tcp://0.0.0.0:26656"#"tcp://0.0.0.0:26556"#g' ibc1/n0/gaiad/config/config.toml sed -i '' 's#"tcp://0.0.0.0:26657"#"tcp://0.0.0.0:26557"#g' ibc1/n0/gaiad/config/config.toml sed -i '' 's#"localhost:6060"#"localhost:6061"#g' ibc1/n0/gaiad/config/config.toml @@ -66,7 +64,7 @@ Create a client on ibc1: ```bash gaiacli --home ibc0/n0/gaiacli q ibc client path > path0.json gaiacli --home ibc0/n0/gaiacli q ibc client consensus-state > state0.json -gaiacli --home ibc1/n0/gaiacli tx ibc client create c1 ./state0.json --from n0 +gaiacli --home ibc1/n0/gaiacli tx ibc client create c1 ./state0.json --from n0 -y gaiacli --home ibc1/n0/gaiacli q ibc client client c1 ``` @@ -75,7 +73,7 @@ Create a client on ibc0: ```bash gaiacli --home ibc1/n0/gaiacli q ibc client path > path1.json gaiacli --home ibc1/n0/gaiacli q ibc client consensus-state > state1.json -gaiacli --home ibc0/n0/gaiacli tx ibc client create c0 ./state1.json --from n0 +gaiacli --home ibc0/n0/gaiacli tx ibc client create c0 ./state1.json --from n0 -y gaiacli --home ibc0/n0/gaiacli q ibc client client c0 ``` @@ -99,6 +97,7 @@ Once the connection is established you should be able to query it: ```bash gaiacli --home ibc0/n0/gaiacli q ibc connection connection conn0 --trust-node +gaiacli --home ibc1/n0/gaiacli q ibc connection connection conn1 --trust-node ``` ## Channel @@ -111,13 +110,17 @@ gaiacli \ tx ibc channel handshake \ ibc-mock chan0 conn0 \ ibc-mock chan1 conn1 \ + --node1 tcp://localhost:26657 \ + --node2 tcp://localhost:26557 \ + --chain-id2 ibc1 \ --from1 n0 --from2 n1 ``` -You can query the channel after establishment by +You can query the channel after establishment by running the following command ```bash gaiacli --home ibc0/n0/gaiacli query ibc channel channel ibc-mock chan0 --trust-node +gaiacli --home ibc1/n0/gaiacli query ibc channel channel ibc-mock chan1 --trust-node ``` ## Send Packet @@ -128,10 +131,10 @@ To send a packet using the `ibc-mock` application protocol run the following com gaiacli --home ibc0/n0/gaiacli q ibcmocksend sequence chan0 ``` -The command will return the latest sent sequence(0 if not exists). Run command with next sequence. +The command will return the latest sent sequence, `0` if not exists. Run command with next sequence (n+1). ``` -gaiacli --home ibc0/n0/gaiacli tx ibcmocksend sequence chan0 (sequence+1) +gaiacli --home ibc0/n0/gaiacli tx ibcmocksend sequence chan0 1 --from n0 ``` ## Receive Packet @@ -139,7 +142,13 @@ gaiacli --home ibc0/n0/gaiacli tx ibcmocksend sequence chan0 (sequence+1) To receive packets using the `ibc-mock` application protocol run the following command: ``` -gaiacli --home ibc0/n0/gaiacli tx ibc channel flush ibcmocksend chan0 --trust-node +gaiacli \ + --home ibc0/n0/gaiacli \ + tx ibc channel flush ibc-mock chan0 \ + --node1 tcp://localhost:26657 \ + --node2 tcp://localhost:26557 \ + --chain-id2 ibc1 \ + --from1 n0 --from2 n1 ``` To see the updated sequence run the following command: diff --git a/cmd/gaiacli/chan.txt b/cmd/gaiacli/chan.txt deleted file mode 100644 index cf740aa21d2..00000000000 --- a/cmd/gaiacli/chan.txt +++ /dev/null @@ -1,215 +0,0 @@ -joons-mbp% ./channel.sh $CONNID1 $CONNID2 -establishing channel... -channel 1: chan-59bd -channel 2: chan-f7b8 -{"chain_id":"chain-attv4e","account_number":"3","sequence":"72","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/channel/MsgOpenInit","value":{"port_id":"ibc-mock","channel_id":"chan-59bd","channel":{"Counterparty":"chan-f7b8","CounterpartyPort":"ibc-mock","ConnectionHops":["conn-c91b"]},"signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4487 -txhash: 2A32E312F996B4A9EF733925F19CB59CC7E5D2B27F49133C7DDBD6C76B455C11 -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-init"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: open-init -info: "" -gaswanted: 200000 -gasused: 19971 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: open-init - -{"chain_id":"chain-attv4e","account_number":"3","sequence":"73","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4488","time":"2019-09-20T16:41:02.551897Z","num_txs":"0","total_txs":"72","last_block_id":{"hash":"B6D51DC95A59B5822C5730EEE17679CED08236597707B33E7B0601398E9D23CB","parts":{"total":"1","hash":"8C6154C2AAB0752E487DF05B51FCE79EA7C31588A6BFD13A93F26C4B05846093"}},"last_commit_hash":"34313F0B2E60521DFFC3E8FDCF6D7F4B23E02E16E815C1E02B47E6C7BAC1FB1B","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"2144935BD94E6CA99DFD41EED5D4BE7F72D5A72D273F02598E9B870DBC97D230","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"ACB856FD3F22371F0140409869D677E0F5D5A79CFF88413EF7340FEF9FEBD0BA","parts":{"total":"1","hash":"30F6A534D1FBF2177F0BF88C8C1CEB5E559D33B27B90456687F60F872DFF7C56"}},"precommits":[{"type":2,"height":"4488","round":"0","block_id":{"hash":"ACB856FD3F22371F0140409869D677E0F5D5A79CFF88413EF7340FEF9FEBD0BA","parts":{"total":"1","hash":"30F6A534D1FBF2177F0BF88C8C1CEB5E559D33B27B90456687F60F872DFF7C56"}},"timestamp":"2019-09-20T16:41:07.598805Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"3uRw1DqtfUe+s1foj5+bC1YmXq2FkNOTIsvmRPN0jc/3lBkARNsU9Rcnl0QZWmbn/4R8W/PEIL9gqY0s0raxAQ=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4490 -txhash: 10CEF34311EDF6D2A748B4F0B3664ECB059E0B8EA962DA93B8BD6B4EA3EBB41C -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: update-client -info: "" -gaswanted: 200000 -gasused: 33770 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: update-client - -updated apphash to 2144935BD94E6CA99DFD41EED5D4BE7F72D5A72D273F02598E9B870DBC97D230 -querying from 4487 -{"chain_id":"chain-attv4e","account_number":"3","sequence":"74","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/channel/MsgOpenTry","value":{"port_id":"ibc-mock","channel_id":"chan-f7b8","channel":{"Counterparty":"chan-59bd","CounterpartyPort":"ibc-mock","ConnectionHops":["conn-b49a"]},"proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJk","data":"qQMKpgMKKggSEKgBGIcjIiC0phz7fQkW6JX6vDB9CnutcP/NkKCQVnvD3Tmbl8HcHwopCA4QRhiHIyIgwpb63EK6FKqt5/MbrKJ10qOhcy+2RvDIM0cR0Aue90YKKQgMECUYhyMiIDTFJf4Epwi/Hk0gX+r46WcMRaGLVrA0mdvNgDIeKS8UCikIChAXGIcjIiBJHPP/9615hZaEOKyJXiRP98LV4cpZmdvBG+jC519QqgopCAgQCxiHIyIgtSwxq+lvtp5/pPAzvM6A/oeHKKObwrYpzrGTCMdpRvYKKQgGEAcYhyMiILpwiSLJSOt6ZGvwWXU/L+cIiaf7OuxK8aYbBVN3MqdYCikIBBAEGIcjIiDfxTeEAwEjOgUhECzOY8run4Q0D4Z7qShH6Consg0HJwopCAIQAhiHIyogFe/v6gtf0eu7jMPt9wh9p9kQSAt0DIxkWg+NC2ABm74aSwokdjEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkEiCb4XvBXgBZcGkUoiczR6+BQJz8+GB21+06HOC9hiSFihiHIw=="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKNwoMZGlzdHJpYnV0aW9uEicKJQiHIxIgZZB5s0nmBBy2qr4aof5zDMtlP5m9yV5pmdPSsM33Lh8KLgoDYWNjEicKJQiHIxIg2OZ+71xIyKdoNfQkQg3Y+4/ma3Gy85ce0rR8E4ltDdwKMQoGcGFyYW1zEicKJQiHIxIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKMgoHc3Rha2luZxInCiUIhyMSINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCjEKBnN1cHBseRInCiUIhyMSII4kYmLxYMZIZ/AkFJedBjgxBmN5C7HYC9Qm/iZ7C0tWCi8KBG1haW4SJwolCIcjEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAouCgNpYmMSJwolCIcjEiBCzP0crsY8LAV/fNQV+hloNZ1umiO7vPyIAJBljK0rjAozCghzbGFzaGluZxInCiUIhyMSIFHO/++xzqlqSQlVXkCT9ZRYsTar2qrg+h+C26QohDXXCi8KBG1pbnQSJwolCIcjEiA24KAB5oFk8WFBH0tSyx0Zjc1IFeIKgfehW7jgOaPpEAouCgNnb3YSJwolCIcjEiBgzRN8GWLsrGFjidaANIM/KSFQnC0oWqX1FTmXzpaKdA=="}]},"key":"cG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJk"}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkL3N0YXRl","data":"rwMKrAMKKggSEKgBGIcjIiC0phz7fQkW6JX6vDB9CnutcP/NkKCQVnvD3Tmbl8HcHwopCA4QRhiHIyIgwpb63EK6FKqt5/MbrKJ10qOhcy+2RvDIM0cR0Aue90YKKQgMECUYhyMiIDTFJf4Epwi/Hk0gX+r46WcMRaGLVrA0mdvNgDIeKS8UCikIChAXGIcjIiBJHPP/9615hZaEOKyJXiRP98LV4cpZmdvBG+jC519QqgopCAgQCxiHIyIgtSwxq+lvtp5/pPAzvM6A/oeHKKObwrYpzrGTCMdpRvYKKQgGEAcYhyMiILpwiSLJSOt6ZGvwWXU/L+cIiaf7OuxK8aYbBVN3MqdYCikIBBAEGIcjIiDfxTeEAwEjOgUhECzOY8run4Q0D4Z7qShH6Consg0HJwopCAIQAhiHIyIgDBD2BzhqPbVyIlYwLnUQB0vII0/2+WgkyxeSP9xXRPMaUQoqdjEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkL3N0YXRlEiBL9RIvNEVUxTveLruM0rfj0WAK1jHDhaXXzOI8d4VFmhiHIw=="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKNwoMZGlzdHJpYnV0aW9uEicKJQiHIxIgZZB5s0nmBBy2qr4aof5zDMtlP5m9yV5pmdPSsM33Lh8KLgoDYWNjEicKJQiHIxIg2OZ+71xIyKdoNfQkQg3Y+4/ma3Gy85ce0rR8E4ltDdwKMQoGcGFyYW1zEicKJQiHIxIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKMgoHc3Rha2luZxInCiUIhyMSINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCjEKBnN1cHBseRInCiUIhyMSII4kYmLxYMZIZ/AkFJedBjgxBmN5C7HYC9Qm/iZ7C0tWCi8KBG1haW4SJwolCIcjEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAouCgNpYmMSJwolCIcjEiBCzP0crsY8LAV/fNQV+hloNZ1umiO7vPyIAJBljK0rjAozCghzbGFzaGluZxInCiUIhyMSIFHO/++xzqlqSQlVXkCT9ZRYsTar2qrg+h+C26QohDXXCi8KBG1pbnQSJwolCIcjEiA24KAB5oFk8WFBH0tSyx0Zjc1IFeIKgfehW7jgOaPpEAouCgNnb3YSJwolCIcjEiBgzRN8GWLsrGFjidaANIM/KSFQnC0oWqX1FTmXzpaKdA=="}]},"key":"cG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkL3N0YXRl"}}],"height":"4488","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4492 -txhash: 457697CBE04F4BDA45FB017A70B8660287DC1B1FFA407B2BBFE30916CA0B70AC -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-try"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: open-try -info: "" -gaswanted: 200000 -gasused: 44705 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: open-try - -{"chain_id":"chain-attv4e","account_number":"3","sequence":"75","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4493","time":"2019-09-20T16:41:27.793974Z","num_txs":"0","total_txs":"74","last_block_id":{"hash":"F9D1CC1F68D9271850EBAF1FF4FED9D4923E6B71633EE2B414270ABD99874BFE","parts":{"total":"1","hash":"0968123D6903CF93F9C354FB85D201BFDD713663E009010AE6C9798817E97499"}},"last_commit_hash":"85BC0654429AC4CBA8B00D71B097D65E1F93931976D7217B9C08AE5EE68A4800","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"0C8DD90A039DC40BFD2CC13FBE68F27D7A169E90F5DF7B076BD29F4FA29F3846","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"85D6CAB1475D0866E323AE397BFAE5C9F4E67F7F6F0B00E971A9DB74DA760160","parts":{"total":"1","hash":"246227931CF1A4F1076E628EF073575EB8AB892F9DFBC248EA696485A120DD3D"}},"precommits":[{"type":2,"height":"4493","round":"0","block_id":{"hash":"85D6CAB1475D0866E323AE397BFAE5C9F4E67F7F6F0B00E971A9DB74DA760160","parts":{"total":"1","hash":"246227931CF1A4F1076E628EF073575EB8AB892F9DFBC248EA696485A120DD3D"}},"timestamp":"2019-09-20T16:41:32.844937Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"0I7dDgkWt3FPWvRrmjFXe7wd0An0ioKPb/SwtD8PHspuDCZ9+pzlb47VPhrYQt4ags+VXDS0eI6Qqm7dxSoFCw=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4495 -txhash: 187349E9C4620C7004C5A72528200AA752BEF6EDCE32161FEA17177ABC7D8B5E -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: update-client -info: "" -gaswanted: 200000 -gasused: 33770 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: update-client - -{"chain_id":"chain-attv4e","account_number":"3","sequence":"76","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/channel/MsgOpenAck","value":{"port_id":"ibc-mock","channel_id":"chan-59bd","proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4","data":"qQMKpgMKKggSEKsBGIwjIiCrDKQBlnuG9SmFKj2aAy2Y8UEsvmy6esH6KBNElv79wgopCA4QSBiMIyIgwpb63EK6FKqt5/MbrKJ10qOhcy+2RvDIM0cR0Aue90YKKQgMECcYjCMiIDTFJf4Epwi/Hk0gX+r46WcMRaGLVrA0mdvNgDIeKS8UCikIChAZGIwjIiBJHPP/9615hZaEOKyJXiRP98LV4cpZmdvBG+jC519QqgopCAgQDRiMIyIgv/VyEJb7ewnl6piGiGgwmoz4eMlljHjun52veo3VbmYKKQgGEAYYjCMiIN/FN4QDASM6BSEQLM5jyu6fhDQPhnupKEfoKieyDQcnCikIBBAEGIwjIiBP7HbJf1mB3p3UrFJI35W6X+7zx+Ebm8OVlo+Tisal4wopCAIQAhiMIyoguX+Ea7Wozlx65WFTI1V10jF72EFyHznmss1aIwY9kSYaSwokdjEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4EiAq8z2XcxFti/lOzkRYZ75a+4IvVtw1QKR2DrnlcpWZZxiMIw=="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKNwoMZGlzdHJpYnV0aW9uEicKJQiMIxIgN8HHkNb1q6yu+NtCa4+US05dMify3BAgA2+vaUoOZaMKLgoDYWNjEicKJQiMIxIgR3xYwgun7Hwd+4dC54KIAUs8ex+2avKVUsVFGdz7qx4KMQoGcGFyYW1zEicKJQiMIxIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKMgoHc3Rha2luZxInCiUIjCMSINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCi8KBG1haW4SJwolCIwjEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAouCgNpYmMSJwolCIwjEiBeRyGy3VyOLQ21W7pmqSxHoHkezrs/1ui9EgEN9xkwoQozCghzbGFzaGluZxInCiUIjCMSIMXeX+eZvaTzttPAVUj4ZuQ9SdzeZTo9lcdU33ThhYp3Ci8KBG1pbnQSJwolCIwjEiA6YBod/18jCr7r6DkdB4sqKAvcPLobosIFWiayCvdgKAouCgNnb3YSJwolCIwjEiBgzRN8GWLsrGFjidaANIM/KSFQnC0oWqX1FTmXzpaKdAoxCgZzdXBwbHkSJwolCIwjEiAKAOcSxVB/0Gnf06gflOnYRRMyTL54VmPzFLcB1R20Qg=="}]},"key":"cG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4"}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4L3N0YXRl","data":"rwMKrAMKKggSEKsBGIwjIiCrDKQBlnuG9SmFKj2aAy2Y8UEsvmy6esH6KBNElv79wgopCA4QSBiMIyIgwpb63EK6FKqt5/MbrKJ10qOhcy+2RvDIM0cR0Aue90YKKQgMECcYjCMiIDTFJf4Epwi/Hk0gX+r46WcMRaGLVrA0mdvNgDIeKS8UCikIChAZGIwjIiBJHPP/9615hZaEOKyJXiRP98LV4cpZmdvBG+jC519QqgopCAgQDRiMIyIgv/VyEJb7ewnl6piGiGgwmoz4eMlljHjun52veo3VbmYKKQgGEAYYjCMiIN/FN4QDASM6BSEQLM5jyu6fhDQPhnupKEfoKieyDQcnCikIBBAEGIwjIiBP7HbJf1mB3p3UrFJI35W6X+7zx+Ebm8OVlo+Tisal4wopCAIQAhiMIyIg4juat60h25jK7KQf6TRrCNSF0NCBTpDldPr2TDMHErcaUQoqdjEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4L3N0YXRlEiDbwbTJAP/kjVdbXaXGOAQBJfZdsP4+JElLduqYZFfZhhiMIw=="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKNwoMZGlzdHJpYnV0aW9uEicKJQiMIxIgN8HHkNb1q6yu+NtCa4+US05dMify3BAgA2+vaUoOZaMKLgoDYWNjEicKJQiMIxIgR3xYwgun7Hwd+4dC54KIAUs8ex+2avKVUsVFGdz7qx4KMQoGcGFyYW1zEicKJQiMIxIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKMgoHc3Rha2luZxInCiUIjCMSINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCi8KBG1haW4SJwolCIwjEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAouCgNpYmMSJwolCIwjEiBeRyGy3VyOLQ21W7pmqSxHoHkezrs/1ui9EgEN9xkwoQozCghzbGFzaGluZxInCiUIjCMSIMXeX+eZvaTzttPAVUj4ZuQ9SdzeZTo9lcdU33ThhYp3Ci8KBG1pbnQSJwolCIwjEiA6YBod/18jCr7r6DkdB4sqKAvcPLobosIFWiayCvdgKAouCgNnb3YSJwolCIwjEiBgzRN8GWLsrGFjidaANIM/KSFQnC0oWqX1FTmXzpaKdAoxCgZzdXBwbHkSJwolCIwjEiAKAOcSxVB/0Gnf06gflOnYRRMyTL54VmPzFLcB1R20Qg=="}]},"key":"cG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi1mN2I4L3N0YXRl"}}],"height":"4493","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4497 -txhash: 04C4780AD1B7317770C2E94E0A93D558A49961A3E07A20BCC7434CF9DC7B7C56 -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-ack"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: open-ack -info: "" -gaswanted: 200000 -gasused: 45534 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: open-ack - -{"chain_id":"chain-attv4e","account_number":"3","sequence":"77","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4498","time":"2019-09-20T16:41:53.04035Z","num_txs":"0","total_txs":"76","last_block_id":{"hash":"9946DBF8D2AF2B98B375891A89A74B8C6E60BBAC9F59FE2A33FD4C07DD552075","parts":{"total":"1","hash":"051623BD07FABE6DEB4DC8F725F5ED121F286ADD808A7B09F006AFAEE22C01C3"}},"last_commit_hash":"DFD564315405E04077C056DC1745FE07D6EF9F20C4D555D3434669591949CAFA","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"D18203783F80821E3689A4A14D369B8DA3655B1892CCE3C2A0292D29DD8C7675","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"B48F9B053FFFA8FB13FDD26C01E0BA1D609409D980056670BBCD0D5AE7328C17","parts":{"total":"1","hash":"C27E2B13B2007F9400907590E69D5E09B0D298F9ADB1735D54EEB8F51449594C"}},"precommits":[{"type":2,"height":"4498","round":"0","block_id":{"hash":"B48F9B053FFFA8FB13FDD26C01E0BA1D609409D980056670BBCD0D5AE7328C17","parts":{"total":"1","hash":"C27E2B13B2007F9400907590E69D5E09B0D298F9ADB1735D54EEB8F51449594C"}},"timestamp":"2019-09-20T16:41:58.090573Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"cll1c3XmQxkDQPgAaV6xE7Z8VSSKrhABqavXxIwdDpjzrhXDOVhU9pqrGdY6SV6VfQ5QwsSXanrTsYRnxRtpBQ=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4500 -txhash: 1B97781BA3034E9C17D5BEFCA22DA5FA6D4F26E55E6EB282EEE905A85D959241 -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: update-client -info: "" -gaswanted: 200000 -gasused: 33750 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: update-client - -{"chain_id":"chain-attv4e","account_number":"3","sequence":"78","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/channel/MsgOpenConfirm","value":{"port_id":"ibc-mock","channel_id":"chan-f7b8","proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvcG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkL3N0YXRl","data":"hAMKgQMKKggSEK0BGJEjIiC8VyBmwOkJPaP75+4W5P+/GcBrZmgYvUKd6+BL1NpAZgopCA4QSRiRIyIgwpb63EK6FKqt5/MbrKJ10qOhcy+2RvDIM0cR0Aue90YKKQgMECgYkSMiIDTFJf4Epwi/Hk0gX+r46WcMRaGLVrA0mdvNgDIeKS8UCikIChAaGJEjIiBJHPP/9615hZaEOKyJXiRP98LV4cpZmdvBG+jC519QqgopCAgQDhiRIyIgv/VyEJb7ewnl6piGiGgwmoz4eMlljHjun52veo3VbmYKKQgGEAcYkSMiIBX0ze0oVXxxGJwyLQcVgSS8ZbCC3FpP2NlpNtjL6vpcCikIBBADGJEjKiBxKsjAm6L7BCKYq8lrHsWo8cOz+eekX0a3ZiGOjefXOxpRCip2MS9wb3J0cy9pYmMtbW9jay9jaGFubmVscy9jaGFuLTU5YmQvc3RhdGUSIAhP7Qi5eK9NfRlqdEaoa1gAnmNrYR2xYhG2Wpqt/ynFGJEj"},{"type":"multistore","key":"aWJj","data":"/QMK+gMKLwoEbWFpbhInCiUIkSMSIC5X75NgcQX0LlQ8dgnH0yGjA6A+mOiNJvhN1SnTkdFgCi4KA2liYxInCiUIkSMSIH0Tk4MLKXWbR63jn59qFWihjnbrhyomN4JkPGdwhzZ2CjMKCHNsYXNoaW5nEicKJQiRIxIgh2idsAJ68HKAUVx+PcIzW0OwREuMTxX6+KHck1i8ZvcKLwoEbWludBInCiUIkSMSILt+7HPF/mTs6oWkDO7mkhNyfJPQlas4bqpy40ujmFndCi4KA2dvdhInCiUIkSMSIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0CjEKBnN1cHBseRInCiUIkSMSIJMEdHm8qCO1ZYtpNtD6laL+w73SOQAgngba6UqQg5KsCjcKDGRpc3RyaWJ1dGlvbhInCiUIkSMSIL4ZvndR+x0KXjZcZmqUNFNWWysD+CQfVZZN8pBiAsmtCi4KA2FjYxInCiUIkSMSIE2X2AzM9izbpqnGmegyj/UB+aKXlEAdPkWZ071fHce6CjEKBnBhcmFtcxInCiUIkSMSINz60+hn2nySE+nY3K3qWzzXtacQQsBK338SXRLlt4AVCjIKB3N0YWtpbmcSJwolCJEjEiDVfTbVH3JbqGxbR0OCBGLlmJ7u5xp2qu1CTOKxtEHBUQ=="}]},"key":"cG9ydHMvaWJjLW1vY2svY2hhbm5lbHMvY2hhbi01OWJkL3N0YXRl"}}],"height":"4498","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4502 -txhash: F064B9814F93E7DF875E8FB06ED01BEEC3E512AE5F909283CE983827E704604C -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-confirm"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: open-confirm -info: "" -gaswanted: 200000 -gasused: 33404 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: open-confirm diff --git a/cmd/gaiacli/channel.sh b/cmd/gaiacli/channel.sh deleted file mode 100755 index e0ba1a03152..00000000000 --- a/cmd/gaiacli/channel.sh +++ /dev/null @@ -1,6 +0,0 @@ -CHANID1="chan-$(openssl rand -hex 2)" -CHANID2="chan-$(openssl rand -hex 2)" -echo "establishing channel..." -echo "channel 1: $CHANID1" -echo "channel 2: $CHANID2" -./gaiacli tx ibc channel handshake ibc-mock $CHANID1 $1 ibc-mock $CHANID2 $2 --from1 node0 --from2 node0 --home ../node0/gaiacli --chain-id $CID diff --git a/cmd/gaiacli/client.sh b/cmd/gaiacli/client.sh deleted file mode 100755 index c0c6f2cf0b0..00000000000 --- a/cmd/gaiacli/client.sh +++ /dev/null @@ -1,8 +0,0 @@ -echo "writing path..." -./gaiacli query ibc client path --chain-id $CID --home ../node0/gaiacli > path.json -echo "writing state..." -./gaiacli query ibc client consensus-state --chain-id $CID --home ../node0/gaiacli > state.json - -CLIENTID="client-$(openssl rand -hex 2)" -echo "creating client $CLIENTID" -./gaiacli tx ibc client create $CLIENTID ./state.json --from node0 --home ../node0/gaiacli --chain-id $CID diff --git a/cmd/gaiacli/client.txt b/cmd/gaiacli/client.txt deleted file mode 100644 index 23ff390e622..00000000000 --- a/cmd/gaiacli/client.txt +++ /dev/null @@ -1,32 +0,0 @@ -joons-mbp% export CID=chain-attv4e -joons-mbp% ./client.sh -writing path... -writing state... -creating client client-67f4 -{"chain_id":"chain-attv4e","account_number":"3","sequence":"57","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgCreateClient","value":{"ClientID":"client-67f4","ConsensusState":{"type":"ibc/client/tendermint/ConsensusState","value":{"ChainID":"chain-attv4e","Height":"4294","Root":{"type":"ibc/commitment/merkle/Root","value":{"hash":"QKAHCRcVfLMzyEhyZxp9E/NlFYHCdjGgm492uMLwzW0="}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 0 -txhash: F1CAECBB19CE90A9A27B0DCD018755CC4AB513F72C00DFA98B6B90B35B3BD78C -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"create-client"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: create-client -info: "" -gaswanted: 0 -gasused: 0 -codespace: "" -tx: null -timestamp: "" -events: [] - -joons-mbp% export CLIENTID=client-67f4 diff --git a/cmd/gaiacli/conn.txt b/cmd/gaiacli/conn.txt deleted file mode 100644 index 7419aadd1b4..00000000000 --- a/cmd/gaiacli/conn.txt +++ /dev/null @@ -1,219 +0,0 @@ -joons-mbp% ./connection.sh $CLIENTID -establishing connection... -connection 1: conn-c91b -connection 2: conn-b49a -3333 -{"chain_id":"chain-attv4e","account_number":"3","sequence":"58","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgOpenInit","value":{"connection_id":"conn-c91b","connection":{"client":"client-67f4","counterparty":"conn-b49a","path":{"type":"ibc/commitment/merkle/Path","value":{"key_path":["aWJj"],"key_prefix":"djEv"}}},"counterparty_client":"client-67f4","next_timeout":"5302","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4303 -txhash: EDAEA145806A595487484C4875C5C4BD0AD6E9CBE9215C4279E952B4B0D51CE7 -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-init"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: open-init -info: "" -gaswanted: 200000 -gasused: 24428 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: open-init - -{"chain_id":"chain-attv4e","account_number":"3","sequence":"59","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4304","time":"2019-09-20T16:24:51.987162Z","num_txs":"0","total_txs":"58","last_block_id":{"hash":"00D2FED681D798C17A1250B7AA76871880DAD86B84E45CA134F3BAC62FAB5C57","parts":{"total":"1","hash":"7CC72FA5F514E61D6EBDDC2E1A8C03047E3ACAD58A0A3BD73FC1C17D75F305C6"}},"last_commit_hash":"DB7FFB84C308EE5DF84B3536115F7786EBE35087DB4F1B5679257062B49F3D1D","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"20D9677ED4CC87B8C20AA104D5C42E937C78FED1A660AC95B1FE5CA3CEB4D835","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"EB40BE1F6676F4B6256D01B8DD42D107BF60D884F00F20816B70FAE9E8CB6A45","parts":{"total":"1","hash":"23C181961F708C2D0720266E55687DA76A0A7DA445DBF1D22E2F613F48E788A9"}},"precommits":[{"type":2,"height":"4304","round":"0","block_id":{"hash":"EB40BE1F6676F4B6256D01B8DD42D107BF60D884F00F20816B70FAE9E8CB6A45","parts":{"total":"1","hash":"23C181961F708C2D0720266E55687DA76A0A7DA445DBF1D22E2F613F48E788A9"}},"timestamp":"2019-09-20T16:24:57.028671Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"pvn3TDyAxaH02sL5sQbHsxZ1adlOcUMD1uFHXkErdj0bhhRxVUK/eEZhoOxKv2kQURbYH/yrkNbK/TkxsmO6Dg=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4312 -txhash: ACF62A37280E14C5C2D1CDC74AA035F812CC549F8C9F4C2EC88EF328AD350C1E -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: update-client -info: "" -gaswanted: 200000 -gasused: 33760 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: update-client - -updated apphash to 20D9677ED4CC87B8C20AA104D5C42E937C78FED1A660AC95B1FE5CA3CEB4D835 -querying from 4303 -{"chain_id":"chain-attv4e","account_number":"3","sequence":"60","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgOpenTry","value":{"connection_id":"conn-b49a","connection":{"client":"client-67f4","counterparty":"conn-c91b","path":{"type":"ibc/commitment/merkle/Path","value":{"key_path":["aWJj"],"key_prefix":"djEv"}}},"counterparty_client":"client-67f4","timeout":"5302","next_timeout":"5312","proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWI=","data":"nAMKmQMKKggSEJQBGM8hIiA1uu18bvWW/FcBbVeDFXo2XqcJvawz/Z0KIh3KRSmbhQopCA4QOBjPISIgh81q9q9zOyLcx/SrvYmgu/EPHFkeTO8nzgKsmvOcmtkKKQgMECYYzyEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikIChAWGM8hIiAam4sJASUzHMKA/RQD/ngbTSa4ikEofQy7TNWBTEZhEQopCAgQDRjPISogA5EIGvZtcuZpSQRa+faLeV6oGEHZeTjbiSxA1YMYLXgKKQgGEAYYzyEqIOlZjcFw6ccNrQBd6YizSe7ZJD34ScfC5qLkPk3w8GCACikIBBAEGM8hIiDieDGSvr5nYeyHgfDMSLA1LYL3yyIzdcq6359YUUF3MwopCAIQAhjPISIgYOTrVYlfwodvPVJqf1OQlPg/Sx15T1Qsjkp3cKmxjMkaPgoXdjEvY29ubmVjdGlvbi9jb25uLWM5MWISICbl5EPm0bHiy90TynRiAjNMd2stzOJZHvrI79ZwDRtFGM8h"},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMwoIc2xhc2hpbmcSJwolCM8hEiAQHdQGhiHLVYLjMJiE0d+SrYdl5UnKSUQvDEOrJ14zdgoyCgdzdGFraW5nEicKJQjPIRIg1X021R9yW6hsW0dDggRi5Zie7ucadqrtQkzisbRBwVEKLgoDYWNjEicKJQjPIRIgFFplpJIWY9BxSZz7U7X8O/nc8igjv48uMBWb1xfdPmQKLgoDaWJjEicKJQjPIRIg97XvcXEPTRGOCUXT6yfuuIeoGC/G14LxKbLGe0oqW+YKLgoDZ292EicKJQjPIRIgYM0TfBli7KxhY4nWgDSDPykhUJwtKFql9RU5l86WinQKLwoEbWFpbhInCiUIzyESIC5X75NgcQX0LlQ8dgnH0yGjA6A+mOiNJvhN1SnTkdFgCi8KBG1pbnQSJwolCM8hEiANZO1mEbc+HQcAul1Wuakw9VkfZGjs+ESzGO1T6xx2gQoxCgZzdXBwbHkSJwolCM8hEiB3+zNG7PnGHH+zboXgHHKHNlgnr9X4sj2+ds1OoTSpewo3CgxkaXN0cmlidXRpb24SJwolCM8hEiC6lukdRT65FpBydbFcDySpmQHDo6j8r4AMaBqE/1qoLAoxCgZwYXJhbXMSJwolCM8hEiDc+tPoZ9p8khPp2Nyt6ls817WnEELASt9/El0S5beAFQ=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWI="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWIvc3RhdGU=","data":"ogMKnwMKKggSEJQBGM8hIiA1uu18bvWW/FcBbVeDFXo2XqcJvawz/Z0KIh3KRSmbhQopCA4QOBjPISIgh81q9q9zOyLcx/SrvYmgu/EPHFkeTO8nzgKsmvOcmtkKKQgMECYYzyEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikIChAWGM8hIiAam4sJASUzHMKA/RQD/ngbTSa4ikEofQy7TNWBTEZhEQopCAgQDRjPISIgWsJmz4BpAVPzONMBNlMcJ+atd4t8BHYtHkEUte3deVwKKQgGEAcYzyEqIPKBvRA3CF7P3PbN/qiFQmHJgMBRxV4q2yC9+BTA3fiRCikIBBADGM8hKiDXI1/6iiwU+UeP4P2nnYCfsB9Ptdobd5PO6Plccm2RNQopCAIQAhjPISogWQu3LXzAbx0wWC9Y5L6NCOB29PgIiXf20XNfQ6Ddp7IaRAoddjEvY29ubmVjdGlvbi9jb25uLWM5MWIvc3RhdGUSIEv1Ei80RVTFO94uu4zSt+PRYArWMcOFpdfM4jx3hUWaGM8h"},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMwoIc2xhc2hpbmcSJwolCM8hEiAQHdQGhiHLVYLjMJiE0d+SrYdl5UnKSUQvDEOrJ14zdgoyCgdzdGFraW5nEicKJQjPIRIg1X021R9yW6hsW0dDggRi5Zie7ucadqrtQkzisbRBwVEKLgoDYWNjEicKJQjPIRIgFFplpJIWY9BxSZz7U7X8O/nc8igjv48uMBWb1xfdPmQKLgoDaWJjEicKJQjPIRIg97XvcXEPTRGOCUXT6yfuuIeoGC/G14LxKbLGe0oqW+YKLgoDZ292EicKJQjPIRIgYM0TfBli7KxhY4nWgDSDPykhUJwtKFql9RU5l86WinQKLwoEbWFpbhInCiUIzyESIC5X75NgcQX0LlQ8dgnH0yGjA6A+mOiNJvhN1SnTkdFgCi8KBG1pbnQSJwolCM8hEiANZO1mEbc+HQcAul1Wuakw9VkfZGjs+ESzGO1T6xx2gQoxCgZzdXBwbHkSJwolCM8hEiB3+zNG7PnGHH+zboXgHHKHNlgnr9X4sj2+ds1OoTSpewo3CgxkaXN0cmlidXRpb24SJwolCM8hEiC6lukdRT65FpBydbFcDySpmQHDo6j8r4AMaBqE/1qoLAoxCgZwYXJhbXMSJwolCM8hEiDc+tPoZ9p8khPp2Nyt6ls817WnEELASt9/El0S5beAFQ=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWIvc3RhdGU="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWIvdGltZW91dA==","data":"pAMKoQMKKggSEJQBGM8hIiA1uu18bvWW/FcBbVeDFXo2XqcJvawz/Z0KIh3KRSmbhQopCA4QOBjPISIgh81q9q9zOyLcx/SrvYmgu/EPHFkeTO8nzgKsmvOcmtkKKQgMECYYzyEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikIChAWGM8hIiAam4sJASUzHMKA/RQD/ngbTSa4ikEofQy7TNWBTEZhEQopCAgQDRjPISIgWsJmz4BpAVPzONMBNlMcJ+atd4t8BHYtHkEUte3deVwKKQgGEAcYzyEqIPKBvRA3CF7P3PbN/qiFQmHJgMBRxV4q2yC9+BTA3fiRCikIBBADGM8hKiDXI1/6iiwU+UeP4P2nnYCfsB9Ptdobd5PO6Plccm2RNQopCAIQAhjPISIgareqlchGk+fq/tEkWKD8Jxwu3cNYV9WwMhL7mOYIEicaRgofdjEvY29ubmVjdGlvbi9jb25uLWM5MWIvdGltZW91dBIgnnwEWyOgFGr5Vdg16qMrD3CyCKBG7ftgzmAEnAqA4cwYzyE="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMwoIc2xhc2hpbmcSJwolCM8hEiAQHdQGhiHLVYLjMJiE0d+SrYdl5UnKSUQvDEOrJ14zdgoyCgdzdGFraW5nEicKJQjPIRIg1X021R9yW6hsW0dDggRi5Zie7ucadqrtQkzisbRBwVEKLgoDYWNjEicKJQjPIRIgFFplpJIWY9BxSZz7U7X8O/nc8igjv48uMBWb1xfdPmQKLgoDaWJjEicKJQjPIRIg97XvcXEPTRGOCUXT6yfuuIeoGC/G14LxKbLGe0oqW+YKLgoDZ292EicKJQjPIRIgYM0TfBli7KxhY4nWgDSDPykhUJwtKFql9RU5l86WinQKLwoEbWFpbhInCiUIzyESIC5X75NgcQX0LlQ8dgnH0yGjA6A+mOiNJvhN1SnTkdFgCi8KBG1pbnQSJwolCM8hEiANZO1mEbc+HQcAul1Wuakw9VkfZGjs+ESzGO1T6xx2gQoxCgZzdXBwbHkSJwolCM8hEiB3+zNG7PnGHH+zboXgHHKHNlgnr9X4sj2+ds1OoTSpewo3CgxkaXN0cmlidXRpb24SJwolCM8hEiC6lukdRT65FpBydbFcDySpmQHDo6j8r4AMaBqE/1qoLAoxCgZwYXJhbXMSJwolCM8hEiDc+tPoZ9p8khPp2Nyt6ls817WnEELASt9/El0S5beAFQ=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWIvdGltZW91dA=="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWIvY291bnRlcnBhcnR5Q2xpZW50","data":"hAMKgQMKKggSEJQBGM8hIiA1uu18bvWW/FcBbVeDFXo2XqcJvawz/Z0KIh3KRSmbhQopCA4QOBjPISIgh81q9q9zOyLcx/SrvYmgu/EPHFkeTO8nzgKsmvOcmtkKKQgMECYYzyEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikIChAWGM8hIiAam4sJASUzHMKA/RQD/ngbTSa4ikEofQy7TNWBTEZhEQopCAgQDRjPISogA5EIGvZtcuZpSQRa+faLeV6oGEHZeTjbiSxA1YMYLXgKKQgGEAYYzyEiIMmQAFBaGqK676nlA5nkl8p+JcHm/3h3jmXhpE62xowoCikIAhACGM8hKiC9iUlGVA0kBvtRw7n1XF0Ork+5UMRIVS68Wp2iHViWIxpRCip2MS9jb25uZWN0aW9uL2Nvbm4tYzkxYi9jb3VudGVycGFydHlDbGllbnQSIF6jG/vAVoASRkZtFzcrf+zRtjBNKX+AcZfu0S5Jw1LGGM8h"},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMwoIc2xhc2hpbmcSJwolCM8hEiAQHdQGhiHLVYLjMJiE0d+SrYdl5UnKSUQvDEOrJ14zdgoyCgdzdGFraW5nEicKJQjPIRIg1X021R9yW6hsW0dDggRi5Zie7ucadqrtQkzisbRBwVEKLgoDYWNjEicKJQjPIRIgFFplpJIWY9BxSZz7U7X8O/nc8igjv48uMBWb1xfdPmQKLgoDaWJjEicKJQjPIRIg97XvcXEPTRGOCUXT6yfuuIeoGC/G14LxKbLGe0oqW+YKLgoDZ292EicKJQjPIRIgYM0TfBli7KxhY4nWgDSDPykhUJwtKFql9RU5l86WinQKLwoEbWFpbhInCiUIzyESIC5X75NgcQX0LlQ8dgnH0yGjA6A+mOiNJvhN1SnTkdFgCi8KBG1pbnQSJwolCM8hEiANZO1mEbc+HQcAul1Wuakw9VkfZGjs+ESzGO1T6xx2gQoxCgZzdXBwbHkSJwolCM8hEiB3+zNG7PnGHH+zboXgHHKHNlgnr9X4sj2+ds1OoTSpewo3CgxkaXN0cmlidXRpb24SJwolCM8hEiC6lukdRT65FpBydbFcDySpmQHDo6j8r4AMaBqE/1qoLAoxCgZwYXJhbXMSJwolCM8hEiDc+tPoZ9p8khPp2Nyt6ls817WnEELASt9/El0S5beAFQ=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWIvY291bnRlcnBhcnR5Q2xpZW50"}}],"height":"4304","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4313 -txhash: 5979418C2ADCD4697DDCE82EB2E62314C2CC8F1552446897EA4130F8320BC6E1 -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-try"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: open-try -info: "" -gaswanted: 200000 -gasused: 68052 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: open-try - -{"chain_id":"chain-attv4e","account_number":"3","sequence":"61","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4314","time":"2019-09-20T16:25:42.469457Z","num_txs":"0","total_txs":"60","last_block_id":{"hash":"AAC9CB0328819849A64710B15D1499688F7F36787397C19A07ACE5A980CA1CE9","parts":{"total":"1","hash":"EFB5B37EFB485E710CBBC4EBA61B6B40F4BFA99A11DA6AADE2C2697A67F79BF6"}},"last_commit_hash":"FFF4EA75B854EDD976A27A3C2421B7E61322C85A37E3B645DBB2169ACA580A0F","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"86856C846F36A63E2ECB51570CD41A87F284DF9F9AE898A4C3D759441A82337E","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"529503F7E75C7A7E894718F82CAE993BA3664D6903295F5CB9ACF882DB64F491","parts":{"total":"1","hash":"47D76A5AC6F9123D908FF84FEC2B426DDB888E8290AEA409B20D42B780CC871E"}},"precommits":[{"type":2,"height":"4314","round":"0","block_id":{"hash":"529503F7E75C7A7E894718F82CAE993BA3664D6903295F5CB9ACF882DB64F491","parts":{"total":"1","hash":"47D76A5AC6F9123D908FF84FEC2B426DDB888E8290AEA409B20D42B780CC871E"}},"timestamp":"2019-09-20T16:25:47.519984Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"xOVVdbDBhvXlqSHWNNbV2pVxND7ChgUa4ywh8jwSIo77kQWliR121TMvILEXdgBH6mP7fbk09Amd26We+UZuBw=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4316 -txhash: 7C02928EA0E65A7802167190E6B5FD8028DCD060B6B3DBE87BF5CD36455B8D06 -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: update-client -info: "" -gaswanted: 200000 -gasused: 33770 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: update-client - -{"chain_id":"chain-attv4e","account_number":"3","sequence":"62","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgOpenAck","value":{"connection_id":"conn-c91b","timeout":"5312","next_timeout":"5316","proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWI0OWE=","data":"8QIK7gIKKggSEJoBGNkhIiDOCl0CweIZtlvn4w6AgbleIgVPj4f/b+eD0xprb1uF2QopCA4QPRjZISog1/1pHFCJ2E6HZHmkkn0Kdcjuiebq66EDjs0RwOysaOMKKQgMECAY2SEiIIfNavavczsi3Mf0q72JoLvxDxxZHkzvJ84CrJrznJrZCikIChAOGNkhIiD8hL7wXm0cZ3TuEcrAma6oBbJCAYYDfKoGeDu+guhqwAopCAgQCBjZISogBtocM8BFKgTK0dzMy3p3yaB2cl0EQk/K/IPmIpZuApwKKQgEEAMY2SEqIF9tJVgG/Zj0c8Qi+fvxPWgzyK+UCmTac9TWY15LsJpnCikIAhACGNkhIiBn6wJi17X3S9ZcJ+1R64sh2xH/5QVokSUdo7lEIOIjvBo+Chd2MS9jb25uZWN0aW9uL2Nvbm4tYjQ5YRIg8MeXTkqaf+/s95K/G8gxCZoWff3CFbocqCC0JKbUnPwY2SE="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMQoGc3VwcGx5EicKJQjZIRIghjEhdfxigOZ59MmV4d+7CVD0Nhw3rquaNAbMt0m1ji4KNwoMZGlzdHJpYnV0aW9uEicKJQjZIRIgZ8+vYqYspyIrbdyKW2i+29la1zZB+YUr6pJQgUCFusAKMQoGcGFyYW1zEicKJQjZIRIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKLwoEbWludBInCiUI2SESIPnEfUHJkYnklc0nIOis/KLHlCHR41fEmh6G03G8tdX4Ci4KA2liYxInCiUI2SESIPaRYk+cdI/5YYUzFBnbjuTBXgrApk5a35H1jmeSnk1jCi4KA2dvdhInCiUI2SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCNkhEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAozCghzbGFzaGluZxInCiUI2SESIP/a1keDPW0ymPhgTnZgOPI0BJf1NTJSasNBIy2HA+tfCjIKB3N0YWtpbmcSJwolCNkhEiDVfTbVH3JbqGxbR0OCBGLlmJ7u5xp2qu1CTOKxtEHBUQouCgNhY2MSJwolCNkhEiBVMveX/WFQIiLPA4tEmrNc9MkV9FR0PLN+mmkRHtS3Lw=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWI0OWE="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWI0OWEvc3RhdGU=","data":"ogMKnwMKKggSEJoBGNkhIiDOCl0CweIZtlvn4w6AgbleIgVPj4f/b+eD0xprb1uF2QopCA4QPRjZISog1/1pHFCJ2E6HZHmkkn0Kdcjuiebq66EDjs0RwOysaOMKKQgMECAY2SEiIIfNavavczsi3Mf0q72JoLvxDxxZHkzvJ84CrJrznJrZCikIChAOGNkhIiD8hL7wXm0cZ3TuEcrAma6oBbJCAYYDfKoGeDu+guhqwAopCAgQCBjZISIg4aLFz4MnigbGIyglWS6ijEXY8UPZAGRuS2mh4IQLHdgKKQgGEAUY2SEqIDe9WbpLErzS631XxbN+WKkU7A4RHzYQpGwqUCmzPxVnCikIBBADGNkhIiDZbGeCv2ypyzwQUML5YHc2JDw/NW/CSesmaL6MiGDmnQopCAIQAhjZISogKh6YdX8SZN/hTYXsFIyI8L717mh4cuNI8B5g3YbYy3caRAoddjEvY29ubmVjdGlvbi9jb25uLWI0OWEvc3RhdGUSINvBtMkA/+SNV1tdpcY4BAEl9l2w/j4kSUt26phkV9mGGNkh"},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMQoGc3VwcGx5EicKJQjZIRIghjEhdfxigOZ59MmV4d+7CVD0Nhw3rquaNAbMt0m1ji4KNwoMZGlzdHJpYnV0aW9uEicKJQjZIRIgZ8+vYqYspyIrbdyKW2i+29la1zZB+YUr6pJQgUCFusAKMQoGcGFyYW1zEicKJQjZIRIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKLwoEbWludBInCiUI2SESIPnEfUHJkYnklc0nIOis/KLHlCHR41fEmh6G03G8tdX4Ci4KA2liYxInCiUI2SESIPaRYk+cdI/5YYUzFBnbjuTBXgrApk5a35H1jmeSnk1jCi4KA2dvdhInCiUI2SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCNkhEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAozCghzbGFzaGluZxInCiUI2SESIP/a1keDPW0ymPhgTnZgOPI0BJf1NTJSasNBIy2HA+tfCjIKB3N0YWtpbmcSJwolCNkhEiDVfTbVH3JbqGxbR0OCBGLlmJ7u5xp2qu1CTOKxtEHBUQouCgNhY2MSJwolCNkhEiBVMveX/WFQIiLPA4tEmrNc9MkV9FR0PLN+mmkRHtS3Lw=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWI0OWEvc3RhdGU="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWI0OWEvdGltZW91dA==","data":"pAMKoQMKKggSEJoBGNkhIiDOCl0CweIZtlvn4w6AgbleIgVPj4f/b+eD0xprb1uF2QopCA4QPRjZISog1/1pHFCJ2E6HZHmkkn0Kdcjuiebq66EDjs0RwOysaOMKKQgMECAY2SEiIIfNavavczsi3Mf0q72JoLvxDxxZHkzvJ84CrJrznJrZCikIChAOGNkhIiD8hL7wXm0cZ3TuEcrAma6oBbJCAYYDfKoGeDu+guhqwAopCAgQCBjZISIg4aLFz4MnigbGIyglWS6ijEXY8UPZAGRuS2mh4IQLHdgKKQgGEAUY2SEqIDe9WbpLErzS631XxbN+WKkU7A4RHzYQpGwqUCmzPxVnCikIBBADGNkhIiDZbGeCv2ypyzwQUML5YHc2JDw/NW/CSesmaL6MiGDmnQopCAIQAhjZISIgsFdixzoKA5Wo1mtP8DOidS0/ZgejUXixwG0Ekly5jukaRgofdjEvY29ubmVjdGlvbi9jb25uLWI0OWEvdGltZW91dBIgAnNgTmeUhqKUyoBvq5dNdv5DOfkVlZs9RE5xJ6qerGAY2SE="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMQoGc3VwcGx5EicKJQjZIRIghjEhdfxigOZ59MmV4d+7CVD0Nhw3rquaNAbMt0m1ji4KNwoMZGlzdHJpYnV0aW9uEicKJQjZIRIgZ8+vYqYspyIrbdyKW2i+29la1zZB+YUr6pJQgUCFusAKMQoGcGFyYW1zEicKJQjZIRIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKLwoEbWludBInCiUI2SESIPnEfUHJkYnklc0nIOis/KLHlCHR41fEmh6G03G8tdX4Ci4KA2liYxInCiUI2SESIPaRYk+cdI/5YYUzFBnbjuTBXgrApk5a35H1jmeSnk1jCi4KA2dvdhInCiUI2SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCNkhEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAozCghzbGFzaGluZxInCiUI2SESIP/a1keDPW0ymPhgTnZgOPI0BJf1NTJSasNBIy2HA+tfCjIKB3N0YWtpbmcSJwolCNkhEiDVfTbVH3JbqGxbR0OCBGLlmJ7u5xp2qu1CTOKxtEHBUQouCgNhY2MSJwolCNkhEiBVMveX/WFQIiLPA4tEmrNc9MkV9FR0PLN+mmkRHtS3Lw=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWI0OWEvdGltZW91dA=="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWI0OWEvY291bnRlcnBhcnR5Q2xpZW50","data":"2QIK1gIKKggSEJoBGNkhIiDOCl0CweIZtlvn4w6AgbleIgVPj4f/b+eD0xprb1uF2QopCA4QPRjZISog1/1pHFCJ2E6HZHmkkn0Kdcjuiebq66EDjs0RwOysaOMKKQgMECAY2SEiIIfNavavczsi3Mf0q72JoLvxDxxZHkzvJ84CrJrznJrZCikIChAOGNkhIiD8hL7wXm0cZ3TuEcrAma6oBbJCAYYDfKoGeDu+guhqwAopCAgQCBjZISogBtocM8BFKgTK0dzMy3p3yaB2cl0EQk/K/IPmIpZuApwKKQgEEAMY2SEiIBSlsEVpPCPCCpi7SmQARgqMZmcwQlIzslAe3AYAUe1JGlEKKnYxL2Nvbm5lY3Rpb24vY29ubi1iNDlhL2NvdW50ZXJwYXJ0eUNsaWVudBIgXqMb+8BWgBJGRm0XNyt/7NG2ME0pf4Bxl+7RLknDUsYY2SE="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKMQoGc3VwcGx5EicKJQjZIRIghjEhdfxigOZ59MmV4d+7CVD0Nhw3rquaNAbMt0m1ji4KNwoMZGlzdHJpYnV0aW9uEicKJQjZIRIgZ8+vYqYspyIrbdyKW2i+29la1zZB+YUr6pJQgUCFusAKMQoGcGFyYW1zEicKJQjZIRIg3PrT6GfafJIT6djcrepbPNe1pxBCwErffxJdEuW3gBUKLwoEbWludBInCiUI2SESIPnEfUHJkYnklc0nIOis/KLHlCHR41fEmh6G03G8tdX4Ci4KA2liYxInCiUI2SESIPaRYk+cdI/5YYUzFBnbjuTBXgrApk5a35H1jmeSnk1jCi4KA2dvdhInCiUI2SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCNkhEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYAozCghzbGFzaGluZxInCiUI2SESIP/a1keDPW0ymPhgTnZgOPI0BJf1NTJSasNBIy2HA+tfCjIKB3N0YWtpbmcSJwolCNkhEiDVfTbVH3JbqGxbR0OCBGLlmJ7u5xp2qu1CTOKxtEHBUQouCgNhY2MSJwolCNkhEiBVMveX/WFQIiLPA4tEmrNc9MkV9FR0PLN+mmkRHtS3Lw=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWI0OWEvY291bnRlcnBhcnR5Q2xpZW50"}}],"height":"4314","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4317 -txhash: E1F2BC73D93B733F47E89A785FBD1B5D2C4072C8A4C2AFE3A1B34097AE5F62FD -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-ack"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: open-ack -info: "" -gaswanted: 200000 -gasused: 67295 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: open-ack - -{"chain_id":"chain-attv4e","account_number":"3","sequence":"63","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgUpdateClient","value":{"ClientID":"client-67f4","Header":{"type":"ibc/client/tendermint/Header","value":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"chain-attv4e","height":"4318","time":"2019-09-20T16:26:02.673235Z","num_txs":"0","total_txs":"62","last_block_id":{"hash":"5F28C3D4D1E1F8327ABFBF1DF7684FCFBE1BDDE491F02268E567AEEF26DCEDB0","parts":{"total":"1","hash":"57BE2C831336FAEA8704F4B1F7CF2C0776793AB75EC8F45A992091404574ECC1"}},"last_commit_hash":"8B167E59C768641FB454CFDA46915F23CCA6E312FB0349302E5E7295A77F7C40","data_hash":"","validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","next_validators_hash":"D95391EDE995D615924038DC362DE9C68CB96D36D1EEB950B50F5276C13AF1C9","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"5C10648BADD4F821C7AD53F6FF5CEB5FE85153DBC8922C6696960BDFE1F6487F","last_results_hash":"6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D","evidence_hash":"","proposer_address":"9A4B3DF37C5F60517397410AE705B68652275ECF"},"commit":{"block_id":{"hash":"51756967589D9C297C7B0F636D8BFBE0DF115D8E401165EB7042AF16DC9DB2E8","parts":{"total":"1","hash":"C7AFAE6517E933D6DFD88ED26A86AD9114964CCA9A3BB588889D8CE345C1AD09"}},"precommits":[{"type":2,"height":"4318","round":"0","block_id":{"hash":"51756967589D9C297C7B0F636D8BFBE0DF115D8E401165EB7042AF16DC9DB2E8","parts":{"total":"1","hash":"C7AFAE6517E933D6DFD88ED26A86AD9114964CCA9A3BB588889D8CE345C1AD09"}},"timestamp":"2019-09-20T16:26:07.727843Z","validator_address":"9A4B3DF37C5F60517397410AE705B68652275ECF","validator_index":"0","signature":"trMvINrisNV+/9rOg6bvPNg3DX9ROo7LfGjLgM+cZie8dfKa4SOJTn/mHPE+XQc+49DN3tg4k5k1rjihd9kyAQ=="}]}},"ValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}},"NextValidatorSet":{"validators":[{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"9A4B3DF37C5F60517397410AE705B68652275ECF","pub_key":{"type":"tendermint/PubKeyEd25519","value":"g61k/wo7hKejV8qDPVKKYKF9RbK9NH4G+5ioRlDkha4="},"voting_power":"100","proposer_priority":"0"}}}},"Signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4320 -txhash: 45347A715789AE66EBB3E0495CE61576222804B594C6FA37A46B98BB5E87CECB -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"update-client"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: update-client -info: "" -gaswanted: 200000 -gasused: 33770 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: update-client - -{"chain_id":"chain-attv4e","account_number":"3","sequence":"64","fee":{"amount":[],"gas":"200000"},"msgs":[{"type":"ibc/client/MsgOpenConfirm","value":{"connection_id":"conn-b49a","timeout":"5316","proofs":[{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWIvc3RhdGU=","data":"9wIK9AIKKggSEJwBGN0hIiDfr3shSwh9gjZWVxxYMQFwNFu1HASUdQsL0dbDlBNqAwopCA4QPhjdISIgZasYTqGloDN5356H6z5+FyF29yAeXtySTalo2cShmJ0KKQgMEB4Y3SEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikICBAOGN0hIiDW7bL+RIc2iv5ikhIJ76rbTW7Gvwp9vyELE6aMpsRS8QopCAYQBxjdISog8oG9EDcIXs/c9s3+qIVCYcmAwFHFXirbIL34FMDd+JEKKQgEEAMY3SEqINcjX/qKLBT5R4/g/aedgJ+wH0+12ht3k87o+VxybZE1CikIAhACGN0hKiBc73ao1tnh/3lnngoVEvOiPvSkXgYzyHs7TSfzT6K1QxpECh12MS9jb25uZWN0aW9uL2Nvbm4tYzkxYi9zdGF0ZRIgCE/tCLl4r019GWp0RqhrWACeY2thHbFiEbZamq3/KcUY3SE="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKLwoEbWludBInCiUI3SESIPZWxhqqFQgXw86rdEiJOvet9O1EJMQnP2xzIs/OCaBECjEKBnN1cHBseRInCiUI3SESIJua97I7SIzWT+fVkmiWswp8qHEMbugeHD6ylME4CMiECjcKDGRpc3RyaWJ1dGlvbhInCiUI3SESICttMC+Zw+pcpK6RI4lsi3JtxdB8heucLcOCaE7zM0M1CjEKBnBhcmFtcxInCiUI3SESINz60+hn2nySE+nY3K3qWzzXtacQQsBK338SXRLlt4AVCjMKCHNsYXNoaW5nEicKJQjdIRIgcLWuVktV/zoDogiXsFfXu9BciTZf/1wyDj1ZrzjPjF8KMgoHc3Rha2luZxInCiUI3SESINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCi4KA2FjYxInCiUI3SESILR9yjBdOBzwwhBibEuDdnJnCRb0JQtELDYGR8EImcZPCi4KA2liYxInCiUI3SESIHm+tbe0sE+j3LzKgfnUkegg3UiAbgB7on8pOIVLeIn3Ci4KA2dvdhInCiUI3SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCN0hEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYA=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWIvc3RhdGU="}},{"type":"ibc/commitment/merkle/Proof","value":{"proof":{"ops":[{"type":"iavl:v","key":"djEvY29ubmVjdGlvbi9jb25uLWM5MWIvdGltZW91dA==","data":"+QIK9gIKKggSEJwBGN0hIiDfr3shSwh9gjZWVxxYMQFwNFu1HASUdQsL0dbDlBNqAwopCA4QPhjdISIgZasYTqGloDN5356H6z5+FyF29yAeXtySTalo2cShmJ0KKQgMEB4Y3SEqIPWdSvF1S9WIfp6faSJtwkajg9NUY9d99utFpgU9ZkgbCikICBAOGN0hIiDW7bL+RIc2iv5ikhIJ76rbTW7Gvwp9vyELE6aMpsRS8QopCAYQBxjdISog8oG9EDcIXs/c9s3+qIVCYcmAwFHFXirbIL34FMDd+JEKKQgEEAMY3SEqINcjX/qKLBT5R4/g/aedgJ+wH0+12ht3k87o+VxybZE1CikIAhACGN0hIiB0ShmjUiWOT/xFS5Bka3Kqy74aZbJEZrEz0dg+QUfhLhpGCh92MS9jb25uZWN0aW9uL2Nvbm4tYzkxYi90aW1lb3V0EiBFINxDhRSRrOSB/DGAw9NqiO5T7aoQmu1TEAvZ6DUURRjdIQ=="},{"type":"multistore","key":"aWJj","data":"/QMK+gMKLwoEbWludBInCiUI3SESIPZWxhqqFQgXw86rdEiJOvet9O1EJMQnP2xzIs/OCaBECjEKBnN1cHBseRInCiUI3SESIJua97I7SIzWT+fVkmiWswp8qHEMbugeHD6ylME4CMiECjcKDGRpc3RyaWJ1dGlvbhInCiUI3SESICttMC+Zw+pcpK6RI4lsi3JtxdB8heucLcOCaE7zM0M1CjEKBnBhcmFtcxInCiUI3SESINz60+hn2nySE+nY3K3qWzzXtacQQsBK338SXRLlt4AVCjMKCHNsYXNoaW5nEicKJQjdIRIgcLWuVktV/zoDogiXsFfXu9BciTZf/1wyDj1ZrzjPjF8KMgoHc3Rha2luZxInCiUI3SESINV9NtUfcluobFtHQ4IEYuWYnu7nGnaq7UJM4rG0QcFRCi4KA2FjYxInCiUI3SESILR9yjBdOBzwwhBibEuDdnJnCRb0JQtELDYGR8EImcZPCi4KA2liYxInCiUI3SESIHm+tbe0sE+j3LzKgfnUkegg3UiAbgB7on8pOIVLeIn3Ci4KA2dvdhInCiUI3SESIGDNE3wZYuysYWOJ1oA0gz8pIVCcLShapfUVOZfOlop0Ci8KBG1haW4SJwolCN0hEiAuV++TYHEF9C5UPHYJx9MhowOgPpjojSb4TdUp05HRYA=="}]},"key":"Y29ubmVjdGlvbi9jb25uLWM5MWIvdGltZW91dA=="}}],"height":"4318","signer":"cosmos1rnghdvmhl0zjltvvgp4j0xwaaxazj8t33kl524"}}],"memo":""} - -confirm transaction before signing and broadcasting [y/N]: y -Password to sign with 'node0': -height: 4321 -txhash: 5C7BADF2B5D83F33EEA832B404B6563577C1A6838152C2A53F32D8BAC88632CD -code: 0 -data: "" -rawlog: '[{"msg_index":0,"success":true,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"open-confirm"}]}]}]' -logs: -- msgindex: 0 - success: true - log: "" - events: - - type: message - attributes: - - key: action - value: open-confirm -info: "" -gaswanted: 200000 -gasused: 44592 -codespace: "" -tx: null -timestamp: "" -events: -- type: message - attributes: - - key: action - value: open-confirm - -joons-mbp% export CONN1=conn-c91b -joons-mbp% export CONN2=conn-b49a diff --git a/cmd/gaiacli/connection.sh b/cmd/gaiacli/connection.sh deleted file mode 100755 index dc25df6cac6..00000000000 --- a/cmd/gaiacli/connection.sh +++ /dev/null @@ -1,6 +0,0 @@ -CONNID1="conn-$(openssl rand -hex 2)" -CONNID2="conn-$(openssl rand -hex 2)" -echo "establishing connection..." -echo "connection 1: $CONNID1" -echo "connection 2: $CONNID2" -./gaiacli tx ibc connection handshake $CONNID1 $1 ./path.json $CONNID2 $1 ./path.json --from1 node0 --from2 node0 --home ../node0/gaiacli --chain-id $CID diff --git a/go.mod b/go.mod index 7494d3bdb3f..5bcd74992a7 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.34.4-0.20191004173707-8b5e7e69473d + github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/golang/mock v1.3.1 // indirect github.com/onsi/ginkgo v1.8.0 // indirect diff --git a/go.sum b/go.sum index d96c92d6fb7..6a7554e9932 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,10 @@ github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8Nz github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191004173707-8b5e7e69473d h1:6bWiu+MoqOCTkXbZv0YC5Fl2EgledrPYU5/Wj3tnK04= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191004173707-8b5e7e69473d/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191007175420-1addcdf85350 h1:0b5wsY9fAEH3l4jxdoWpAxCdX2l+L5swXfr2+yycdhk= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191007175420-1addcdf85350/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac h1:zzYsVxiKU9rzt4Ii6K1jH1ig8viG/IgVQVqBZdfTrrE= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= From 3ecb2998195e6afbd5f061e1558a3881275d4d76 Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Mon, 7 Oct 2019 16:06:43 -0700 Subject: [PATCH 18/27] Clarify which branch in instructions --- cmd/gaiacli/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index 027e7e0f2b6..083549e19a7 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -9,6 +9,7 @@ This branch uses non-canonical branch of cosmos-sdk. Before building, run `go mo ```shell git clone git@github.com:cosmos/gaia cd gaia +git checkout joon/ibc-gaia-interface go mod vendor make install gaiad version From 171ae0f3b02b0522a01ba13545869a2a133e4f47 Mon Sep 17 00:00:00 2001 From: mossid Date: Wed, 9 Oct 2019 17:23:36 +0900 Subject: [PATCH 19/27] fix readme --- cmd/gaiacli/README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index 083549e19a7..5e7e56eeb5b 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -82,7 +82,8 @@ gaiacli --home ibc0/n0/gaiacli q ibc client client c0 Create a connection with the following command: -```shell +```shellls + gaiacli \ --home ibc0/n0/gaiacli \ tx ibc connection handshake \ @@ -109,8 +110,8 @@ To establish a channel using the `ibc-mock` application protocol run the followi gaiacli \ --home ibc0/n0/gaiacli \ tx ibc channel handshake \ - ibc-mock chan0 conn0 \ - ibc-mock chan1 conn1 \ + ibcmocksend chan0 conn0 \ + ibcmockrecv chan1 conn1 \ --node1 tcp://localhost:26657 \ --node2 tcp://localhost:26557 \ --chain-id2 ibc1 \ @@ -120,8 +121,8 @@ gaiacli \ You can query the channel after establishment by running the following command ```bash -gaiacli --home ibc0/n0/gaiacli query ibc channel channel ibc-mock chan0 --trust-node -gaiacli --home ibc1/n0/gaiacli query ibc channel channel ibc-mock chan1 --trust-node +gaiacli --home ibc0/n0/gaiacli query ibc channel channel ibcmocksend chan0 --trust-node +gaiacli --home ibc1/n0/gaiacli query ibc channel channel ibcmockrecv chan1 --trust-node ``` ## Send Packet @@ -145,7 +146,7 @@ To receive packets using the `ibc-mock` application protocol run the following c ``` gaiacli \ --home ibc0/n0/gaiacli \ - tx ibc channel flush ibc-mock chan0 \ + tx ibc channel flush ibcmocksend chan0 \ --node1 tcp://localhost:26657 \ --node2 tcp://localhost:26557 \ --chain-id2 ibc1 \ From 513e0cdab2a437fb3b1fd48ba0bdccbe0d438af7 Mon Sep 17 00:00:00 2001 From: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Date: Wed, 9 Oct 2019 11:22:40 +0200 Subject: [PATCH 20/27] Update cmd/gaiacli/README.md --- cmd/gaiacli/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index 5e7e56eeb5b..f53807d861a 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -19,7 +19,7 @@ gaiacli version Stub out testnet files for 2 nodes, this example does so in your $HOME directory: ```shell -cd ~ && mkdir ibc-testnets && cd ibc-testnet +cd ~ && mkdir ibc-testnets && cd ibc-testnets gaiad testnet -o ibc0 --v 1 --chain-id ibc0 --node-dir-prefix n gaiad testnet -o ibc1 --v 1 --chain-id ibc1 --node-dir-prefix n ``` From 409d5ff24d7dcc2b265de1a1e406c365a8766f7b Mon Sep 17 00:00:00 2001 From: mossid Date: Thu, 10 Oct 2019 16:34:19 +0900 Subject: [PATCH 21/27] update go mod --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 5bcd74992a7..bb265ab3bfb 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac + github.com/cosmos/cosmos-sdk v0.34.4-0.20191010073152-b0ad578fe7e1 github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/golang/mock v1.3.1 // indirect github.com/onsi/ginkgo v1.8.0 // indirect diff --git a/go.sum b/go.sum index 6a7554e9932..a21b4041d10 100644 --- a/go.sum +++ b/go.sum @@ -44,6 +44,8 @@ github.com/cosmos/cosmos-sdk v0.34.4-0.20191007175420-1addcdf85350 h1:0b5wsY9fAE github.com/cosmos/cosmos-sdk v0.34.4-0.20191007175420-1addcdf85350/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac h1:zzYsVxiKU9rzt4Ii6K1jH1ig8viG/IgVQVqBZdfTrrE= github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191010073152-b0ad578fe7e1 h1:/BM7ymYegfdwAQx2IVx2Hmwgti2hRMn7tRWSOD5GkQU= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191010073152-b0ad578fe7e1/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= From 176c7226c2120c5c5726a36dceafef57fa0e82a4 Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Thu, 10 Oct 2019 18:27:32 -0700 Subject: [PATCH 22/27] Update IBC CLI UX --- cmd/gaiacli/README.md | 129 +++++++++++++++++++++++++++--------------- go.mod | 2 +- go.sum | 2 + 3 files changed, 85 insertions(+), 48 deletions(-) diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index f53807d861a..e82dadeb4b8 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -16,6 +16,8 @@ gaiad version gaiacli version ``` +## Environment Setup + Stub out testnet files for 2 nodes, this example does so in your $HOME directory: ```shell @@ -24,9 +26,11 @@ gaiad testnet -o ibc0 --v 1 --chain-id ibc0 --node-dir-prefix n gaiad testnet -o ibc1 --v 1 --chain-id ibc1 --node-dir-prefix n ``` -Fix the configuration files to allow both chains/nodes to run on the same machine +### Set `gaiacli` Configuation -```shell +Fix the configuration files for both `gaiad` and `gaiacli` to allow both chains/nodes to run on the same machine: + +```bash # Configure the proper database backend for each node and different listening ports sed -i '' 's/"leveldb"/"goleveldb"/g' ibc0/n0/gaiad/config/config.toml sed -i '' 's/"leveldb"/"goleveldb"/g' ibc1/n0/gaiad/config/config.toml @@ -34,61 +38,86 @@ sed -i '' 's#"tcp://0.0.0.0:26656"#"tcp://0.0.0.0:26556"#g' ibc1/n0/gaiad/config sed -i '' 's#"tcp://0.0.0.0:26657"#"tcp://0.0.0.0:26557"#g' ibc1/n0/gaiad/config/config.toml sed -i '' 's#"localhost:6060"#"localhost:6061"#g' ibc1/n0/gaiad/config/config.toml sed -i '' 's#"tcp://127.0.0.1:26658"#"tcp://127.0.0.1:26558"#g' ibc1/n0/gaiad/config/config.toml -``` - -Then configure your `gaiacli` instances for each chain: - -```bash gaiacli config --home ibc0/n0/gaiacli/ chain-id ibc0 gaiacli config --home ibc1/n0/gaiacli/ chain-id ibc1 +gaiacli config --home ibc0/n0/gaiacli/ output json +gaiacli config --home ibc1/n0/gaiacli/ output json gaiacli config --home ibc0/n0/gaiacli/ node http://localhost:26657 gaiacli config --home ibc1/n0/gaiacli/ node http://localhost:26557 +``` + +Add keys from each chain to the other and make such that the key at `ibc1/n0/gaiacli/key_seed.json` is named `n1` on each `gaiacli` instance and the same for `n0`. After this is complete the results of `gaiacli keys list` from each chain should be identical. The following are instructions for how to do this on Mac: -# Add the key from ibc1 to the ibc0 cli +```bash +# These commands copy the seed phrase from each dir into the clipboard on mac +jq -r '.secret' ibc0/n0/gaiacli/key_seed.json | pbcopy jq -r '.secret' ibc1/n0/gaiacli/key_seed.json | pbcopy -# Paste the mnemonic from the above command after setting password (12345678) +# Remove the key n0 on ibc1 +gaiacli --home ibc1/n0/gaiacli keys delete n0 + +# seed from ibc1/n0/gaiacli/key_seed.json -> ibc0/n1 gaiacli --home ibc0/n0/gaiacli keys add n1 --recover + +# seed from ibc0/n0/gaiacli/key_seed.json -> ibc1/n0 +gaiacli --home ibc1/n0/gaiacli keys add n0 --recover + +# seed from ibc1/n0/gaiacli/key_seed.json -> ibc1/n1 +gaiacli --home ibc1/n0/gaiacli keys add n1 --recover + +# Ensure keys match +gaiacli --home ibc0/n0/gaiacli keys list | jq '.[].address' +gaiacli --home ibc1/n0/gaiacli keys list | jq '.[].address' ``` -After configuration is complete, start each node in a seperate terminal window: +After configuration is complete, start your `gaiad` processes: ```bash -gaiad --home ibc0/n0/gaiad start -gaiad --home ibc1/n0/gaiad start +nohup gaiad --home ibc0/n0/gaiad start > ibc0.log & +nohup gaiad --home ibc1/n0/gaiad start > ibc1.log & ``` -## Client +## IBC Command Sequence + +### Client Creation -Create a client on ibc1: +Create IBC clients on each chain using the following commands. Note that we are using the consensus state of `ibc1` to create the client on `ibc0` and visa-versa. These "roots of trust" are used to validate transactions coming from the other chain. They will be updated periodically during handshakes and will require update at least once per unbonding period: ```bash -gaiacli --home ibc0/n0/gaiacli q ibc client path > path0.json -gaiacli --home ibc0/n0/gaiacli q ibc client consensus-state > state0.json -gaiacli --home ibc1/n0/gaiacli tx ibc client create c1 ./state0.json --from n0 -y -gaiacli --home ibc1/n0/gaiacli q ibc client client c1 +# client for chain ibc1 on chain ibc0 +gaiacli --home ibc0/n0/gaiacli \ + tx ibc client create c0 \ + $(gaiacli --home ibc1/n0/gaiacli q ibc client consensus-state) \ + --from n0 -y -o text + +# client for chain ibc0 on chain ibc1 +gaiacli --home ibc1/n0/gaiacli \ + tx ibc client create c1 \ + $(gaiacli --home ibc0/n0/gaiacli q ibc client consensus-state) \ + --from n1 -y -o text ``` -Create a client on ibc0: +To query details about the clients use the following commands : ```bash -gaiacli --home ibc1/n0/gaiacli q ibc client path > path1.json -gaiacli --home ibc1/n0/gaiacli q ibc client consensus-state > state1.json -gaiacli --home ibc0/n0/gaiacli tx ibc client create c0 ./state1.json --from n0 -y -gaiacli --home ibc0/n0/gaiacli q ibc client client c0 +gaiacli --home ibc0/n0/gaiacli q ibc client client c0 --indent +gaiacli --home ibc1/n0/gaiacli q ibc client client c1 --indent ``` -## Connection +### Connection Creation + +In order to send transactions using IBC there are two differnt handshakes that must be preformed. First there is a `connection` created between the two chains. Once the connection is created, an application specific `channel` handshake is preformed which allows the transfer of application specific data. Examples of applications are token transfer, cross-chain validation, cross-chain accounts, and in this tutorial `ibc-mock`. -Create a connection with the following command: +Create a `connection` with the following command: -```shellls +> NOTE: This command broadcasts a total of 7 transactions between the two chains from 2 different wallets. At the start of the command you will be prompted for passwords for the two different keys. The command may then take some time. Please wait for the command to return! +```shell gaiacli \ --home ibc0/n0/gaiacli \ tx ibc connection handshake \ - conn0 c0 path1.json \ - conn1 c1 path0.json \ + conn0 c0 $(gaiacli --home ibc1/n0/gaiacli q ibc client path) \ + conn1 c1 $(gaiacli --home ibc0/n0/gaiacli q ibc client path) \ --chain-id2 ibc1 \ --from1 n0 --from2 n1 \ --node1 tcp://localhost:26657 \ @@ -98,15 +127,17 @@ gaiacli \ Once the connection is established you should be able to query it: ```bash -gaiacli --home ibc0/n0/gaiacli q ibc connection connection conn0 --trust-node -gaiacli --home ibc1/n0/gaiacli q ibc connection connection conn1 --trust-node +gaiacli --home ibc0/n0/gaiacli q ibc connection connection conn0 --indent --trust-node +gaiacli --home ibc1/n0/gaiacli q ibc connection connection conn1 --indent --trust-node ``` -## Channel +### Channel -To establish a channel using the `ibc-mock` application protocol run the following command: +Now that the `connection` has been created, its time to establish a `channel` for the `ibc-mock` application protocol. This will allow sending of data between `ibc0` and `ibc1`. To create the `channel`, run the following command: -``` +> NOTE: This command broadcasts a total of 7 transactions between the two chains from 2 different wallets. At the start of the command you will be prompted for passwords for the two different keys. The command may then take some time. Please wait for the command to return! + +```bash gaiacli \ --home ibc0/n0/gaiacli \ tx ibc channel handshake \ @@ -118,43 +149,47 @@ gaiacli \ --from1 n0 --from2 n1 ``` -You can query the channel after establishment by running the following command +You can query the `channel` after establishment by running the following command: ```bash -gaiacli --home ibc0/n0/gaiacli query ibc channel channel ibcmocksend chan0 --trust-node -gaiacli --home ibc1/n0/gaiacli query ibc channel channel ibcmockrecv chan1 --trust-node +gaiacli --home ibc0/n0/gaiacli query ibc channel channel ibcmocksend chan0 --indent --trust-node +gaiacli --home ibc1/n0/gaiacli query ibc channel channel ibcmockrecv chan1 --indent --trust-node ``` ## Send Packet -To send a packet using the `ibc-mock` application protocol run the following command: +To send a packet using the `ibc-mock` application protocol, you need to know the channel you plan to send on, as well as the sequence number on the channel. To get the sequence you use the following commands: -``` +```bash +# Returns the last sequence number gaiacli --home ibc0/n0/gaiacli q ibcmocksend sequence chan0 + +# Returns the next expected sequence number, for use in scripting +gaiacli --home ibc0/n0/gaiacli q ibcmocksend next chan0 ``` -The command will return the latest sent sequence, `0` if not exists. Run command with next sequence (n+1). +Now you are ready to send an `ibc-mock` packet down the channel (`chan0`) from chain `ibc0` to chain `ibc1`! To do so run the following command: -``` -gaiacli --home ibc0/n0/gaiacli tx ibcmocksend sequence chan0 1 --from n0 +```bash +gaiacli --home ibc0/n0/gaiacli tx ibcmocksend sequence chan0 $(gaiacli --home ibc0/n0/gaiacli q ibcmocksend next chan0) --from n0 -o text ``` -## Receive Packet +### Receive Packet -To receive packets using the `ibc-mock` application protocol run the following command: +Once packets are sent, reciept must be confirmed on the destination chain. To receive the packets you just sent, run the following command: -``` +```bash gaiacli \ --home ibc0/n0/gaiacli \ tx ibc channel flush ibcmocksend chan0 \ --node1 tcp://localhost:26657 \ --node2 tcp://localhost:26557 \ --chain-id2 ibc1 \ - --from1 n0 --from2 n1 + --from1 n0 --from2 n1 -y -o text ``` -To see the updated sequence run the following command: +Once the packets have been sent, check the To see the updated sequence run the following command: ``` gaiacli --home ibc1/n0/gaiacli q ibcmockrecv sequence chan1 --trust-node -``` +``` \ No newline at end of file diff --git a/go.mod b/go.mod index bb265ab3bfb..f7488ee2fe5 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.34.4-0.20191010073152-b0ad578fe7e1 + github.com/cosmos/cosmos-sdk v0.34.4-0.20191011012532-e69029151525 github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/golang/mock v1.3.1 // indirect github.com/onsi/ginkgo v1.8.0 // indirect diff --git a/go.sum b/go.sum index a21b4041d10..e5a1f84b90b 100644 --- a/go.sum +++ b/go.sum @@ -46,6 +46,8 @@ github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac h1:zzYsVxiKU9 github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/cosmos-sdk v0.34.4-0.20191010073152-b0ad578fe7e1 h1:/BM7ymYegfdwAQx2IVx2Hmwgti2hRMn7tRWSOD5GkQU= github.com/cosmos/cosmos-sdk v0.34.4-0.20191010073152-b0ad578fe7e1/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191011012532-e69029151525 h1:7/8BhlKfNKFqkWv//keB/5pZIxlS11NV82Fb1bVsgvw= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191011012532-e69029151525/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= From 2c4c56b23b2d53827034485bd2b5ab8266ea2ea0 Mon Sep 17 00:00:00 2001 From: mossid Date: Sat, 12 Oct 2019 22:36:24 +0900 Subject: [PATCH 23/27] add ibcante, update readme --- app/app.go | 14 +++++++++++++- cmd/gaiacli/README.md | 12 ++++++------ go.mod | 2 +- go.sum | 2 ++ 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/app/app.go b/app/app.go index 2062569e617..d522f4e68c1 100644 --- a/app/app.go +++ b/app/app.go @@ -248,7 +248,19 @@ func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest b // initialize BaseApp app.SetInitChainer(app.InitChainer) app.SetBeginBlocker(app.BeginBlocker) - app.SetAnteHandler(auth.NewAnteHandler(app.accountKeeper, app.supplyKeeper, auth.DefaultSigVerificationGasConsumer)) + + authante := auth.NewAnteHandler(app.accountKeeper, app.supplyKeeper, auth.DefaultSigVerificationGasConsumer) + ibcante := ibc.NewAnteHandler(app.ibcKeeper.Channel()) + app.SetAnteHandler(func(ctx sdk.Context, tx sdk.Tx, simulate bool) (sdk.Context, sdk.Result, bool) { + // TODO: antedecorator + newCtx, res, abort := authante(ctx, tx, simulate) + if abort { + return newCtx, res, abort + } + + newCtx, _, abort = ibcante(newCtx, tx, simulate) + return newCtx, res, abort + }) app.SetEndBlocker(app.EndBlocker) if loadLatest { diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index f53807d861a..58daf7e07f4 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -145,12 +145,12 @@ To receive packets using the `ibc-mock` application protocol run the following c ``` gaiacli \ - --home ibc0/n0/gaiacli \ - tx ibc channel flush ibcmocksend chan0 \ - --node1 tcp://localhost:26657 \ - --node2 tcp://localhost:26557 \ - --chain-id2 ibc1 \ - --from1 n0 --from2 n1 + --home ibc1/n0/gaiacli \ + tx ibc channel pull ibcmockrecv chan1 \ + --node1 tcp://localhost:26557 \ + --node2 tcp://localhost:26657 \ + --chain-id2 ibc0 \ + --from1 n0 --from2 n0 ``` To see the updated sequence run the following command: diff --git a/go.mod b/go.mod index bb265ab3bfb..650f5a11269 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.34.4-0.20191010073152-b0ad578fe7e1 + github.com/cosmos/cosmos-sdk v0.34.4-0.20191011153240-3d5c97e59cc4 github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/golang/mock v1.3.1 // indirect github.com/onsi/ginkgo v1.8.0 // indirect diff --git a/go.sum b/go.sum index a21b4041d10..7d087379657 100644 --- a/go.sum +++ b/go.sum @@ -46,6 +46,8 @@ github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac h1:zzYsVxiKU9 github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/cosmos-sdk v0.34.4-0.20191010073152-b0ad578fe7e1 h1:/BM7ymYegfdwAQx2IVx2Hmwgti2hRMn7tRWSOD5GkQU= github.com/cosmos/cosmos-sdk v0.34.4-0.20191010073152-b0ad578fe7e1/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191011153240-3d5c97e59cc4 h1:yBpxtTivCYaBL+hlC03KpF3e2ZfJv/e+q7IA7YDnWKA= +github.com/cosmos/cosmos-sdk v0.34.4-0.20191011153240-3d5c97e59cc4/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= From c1c09be5d04567526462ff2bbad842122bff18cc Mon Sep 17 00:00:00 2001 From: mossid Date: Sat, 12 Oct 2019 22:45:36 +0900 Subject: [PATCH 24/27] fix go.sum --- go.sum | 109 --------------------------------------------------------- 1 file changed, 109 deletions(-) diff --git a/go.sum b/go.sum index b726862899a..5e5a5cf707e 100644 --- a/go.sum +++ b/go.sum @@ -1,31 +1,22 @@ -bou.ke/monkey v1.0.1 h1:zEMLInw9xvNakzUUPjfS4Ds6jYPqCFx3m7bRmG5NH2U= bou.ke/monkey v1.0.1/go.mod h1:FgHuK96Rv2Nlf+0u1OOVDpCMdsWyOFmeeketDHE7LIg= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/99designs/keyring v1.1.2 h1:JJauROcU6x6Nh9uZb+8JgXFvyo0GUESLo1ixhpA0Kmw= github.com/99designs/keyring v1.1.2/go.mod h1:657DQuMrBZRtuL/voxVyiyb6zpMehlm5vLB9Qwrv904= -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/bartekn/go-bip39 v0.0.0-20171116152956-a05967ea095d h1:1aAija9gr0Hyv4KfQcRcwlmFIrhkDmIj2dz5bkg/s/8= github.com/bartekn/go-bip39 v0.0.0-20171116152956-a05967ea095d/go.mod h1:icNx/6QdFblhsEjZehARqbNumymUT/ydwlLojFdv7Sk= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/btcsuite/btcd v0.0.0-20190115013929-ed77733ec07d/go.mod h1:d3C0AkH6BRcvO8T0UEPu53cnw4IbV63x1bEjildYhO0= -github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a h1:We35J+0yvVFrEXbtViYUW8H/wNOhqjIF3PsrW4yYmGw= github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a/go.mod h1:3J08xEfcugPacsc34/LKRU2yO7YmuT8yt28J8k2+rrI= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= github.com/btcsuite/btcutil v0.0.0-20180706230648-ab6388e0c60a/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= -github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d h1:yJzD/yFppdVCf6ApMkVy8cUxV0XrxdP9rVf6D87/Mng= github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= github.com/btcsuite/goleveldb v0.0.0-20160330041536-7834afc9e8cd/go.mod h1:F+uVaaLLH7j4eDXPRvw78tMflu7Ie2bzYOH4Y8rRKBY= @@ -40,136 +31,87 @@ github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8Nz github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191007175420-1addcdf85350 h1:0b5wsY9fAEH3l4jxdoWpAxCdX2l+L5swXfr2+yycdhk= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191007175420-1addcdf85350/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac h1:zzYsVxiKU9rzt4Ii6K1jH1ig8viG/IgVQVqBZdfTrrE= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191007225003-a927a7ba9eac/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= -github.com/cosmos/cosmos-sdk v0.34.4-0.20191010073152-b0ad578fe7e1 h1:/BM7ymYegfdwAQx2IVx2Hmwgti2hRMn7tRWSOD5GkQU= -g ithub.com/cosmos/cosmos-sdk v0.34.4-0.20191010073152-b0ad578fe7e1/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/cosmos-sdk v0.34.4-0.20191011153240-3d5c97e59cc4 h1:yBpxtTivCYaBL+hlC03KpF3e2ZfJv/e+q7IA7YDnWKA= github.com/cosmos/cosmos-sdk v0.34.4-0.20191011153240-3d5c97e59cc4/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= -github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= -github.com/cosmos/ledger-cosmos-go v0.10.3 h1:Qhi5yTR5Pg1CaTpd00pxlGwNl4sFRdtK1J96OTjeFFc= github.com/cosmos/ledger-cosmos-go v0.10.3/go.mod h1:J8//BsAGTo3OC/vDLjMRFLW6q0WAaXvHnVc7ZmE8iUY= -github.com/cosmos/ledger-go v0.9.2 h1:Nnao/dLwaVTk1Q5U9THldpUMMXU94BOTWPddSmVB6pI= github.com/cosmos/ledger-go v0.9.2/go.mod h1:oZJ2hHAZROdlHiwTg4t7kP+GKIIkBT+o6c9QWFanOyI= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= -github.com/danieljoos/wincred v1.0.2 h1:zf4bhty2iLuwgjgpraD2E9UbvO+fe54XXGJbOwe23fU= github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/dvsekhvalnov/jose2go v0.0.0-20180829124132-7f401d37b68a h1:mq+R6XEM6lJX5VlLyZIrUSP8tSuJp82xTK89hvBwJbU= github.com/dvsekhvalnov/jose2go v0.0.0-20180829124132-7f401d37b68a/go.mod h1:7BvyPhdbLxMXIYTFPLsyJRFMsKmOZnQmzh6Gb+uquuM= github.com/etcd-io/bbolt v1.3.2/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= -github.com/etcd-io/bbolt v1.3.3 h1:gSJmxrs37LgTqR/oyJBWok6k6SvXEUerFTbltIhXkBM= github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= -github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51 h1:0JZ+dUmQeA8IIVUMzysrX4/AKuQwWhV2dYQuPZdvdSQ= github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51/go.mod h1:Yg+htXGokKKdzcwhuNDwVvN+uBxDGXJ7G/VN1d8fa64= -github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 h1:JWuenKqqX8nojtoVVWjGfOF9635RETekkoH6Cc9SX0A= github.com/facebookgo/stack v0.0.0-20160209184415-751773369052/go.mod h1:UbMTZqLaRiH3MsBH8va0n7s1pQYcu3uTb8G4tygF4Zg= -github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870 h1:E2s37DuLxFhQDg5gKsWoLBOB0n+ZW8s599zru8FJ2/Y= github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0= github.com/fortytw2/leaktest v1.2.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= -github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= -github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-kit/kit v0.6.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.8.0 h1:Wz+5lgoB0kkuqLEc6NVmwRknTKP6dTGbSqvhZtBI/j0= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0 h1:MP4Eh7ZCb31lleYCFuwm0oe4/YGak+5l1vA2NOE80nA= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/gogo/protobuf v1.3.0 h1:G8O7TerXerS4F6sx9OV7/nRfJdnXgHZu/S/7F2SN+UE= github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1-0.20190508161146-9fa652df1129/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.3.1 h1:qGJ6qTW+x6xX/my+8YUVl4WNpX9B7+/l2tRsHGZ7f2s= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.0/go.mod h1:Qd/q+1AKNOZr9uGQzbzCmRO6sUih6GTPZv6a1/R87v0= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= -github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/gorilla/mux v1.7.3 h1:gnP5JzjVOuiZD07fKKToCAOjS0yOpj/qPETTXCCS6hw= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/websocket v1.2.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0= -github.com/hashicorp/golang-lru v0.5.3 h1:YPkqC67at8FYaadspW/6uE0COsBxS2656RLEr8Bppgk= github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jmhodges/levigo v1.0.0 h1:q5EC36kV79HWeTBWsod3mG11EgStG3qArTKcvlksN1U= github.com/jmhodges/levigo v1.0.0/go.mod h1:Q6Qx+uH3RAqyK4rFQroq9RL7mdkABMcfhEI+nNuzMJQ= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d h1:Z+RDyXzjKE0i2sTjZ/b1uxiGtPhFy34Ou/Tk0qwN0kM= github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNrCn9otv/2QP4D7SMJBgaleKpOf66PnW6F5WGNRIc= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/libp2p/go-buffer-pool v0.0.1 h1:9Rrn/H46cXjaA2HQ5Y8lyhOS1NhTkZ4yuEs2r3Eechg= github.com/libp2p/go-buffer-pool v0.0.1/go.mod h1:xtyIz9PMobb13WaxR6Zo1Pd1zXJKYg0a8KiIvDp3TzQ= -github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/mattn/go-isatty v0.0.9 h1:d5US/mDsogSGW37IV293h//ZFaeajb69h+EHFsv2xGg= github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= -github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -179,120 +121,82 @@ github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRW github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.8.0 h1:VkHVNpR4iVnU8XQR6DBm8BqYjN7CRzw+xKUbVVbbW9w= github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.5.0 h1:izbySO9zDPmjJ8rDjLvkA2zJHIo+HkYXHnf7eN7SSyo= github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/otiai10/copy v1.0.2 h1:DDNipYy6RkIkjMwy+AWzgKiNTyj2RUI9yEMeETEpVyc= github.com/otiai10/copy v1.0.2/go.mod h1:c7RpqBkwMom4bYTSkLSym4VSJz/XtncWRAj/J4PEIMY= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= -github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776 h1:o59bHXu8Ejas8Kq6pjoVJQ9/neN66SM8AKh6wI42BBs= github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776/go.mod h1:3HNVkVOU7vZeFXocWuvtcS0XSFLcf2XUSDHkq9t1jU4= -github.com/otiai10/mint v1.2.4 h1:DxYL0itZyPaR5Z9HILdxSoHx+gNs6Yx+neOGS3IVUk0= github.com/otiai10/mint v1.2.4/go.mod h1:d+b7n/0R3tdyUYYylALXpWQ/kTN+QobSq/4SRGBkR3M= -github.com/otiai10/mint v1.3.0 h1:Ady6MKVezQwHBkGzLFbrsywyp09Ah7rkmfjV3Bcr5uc= github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= -github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.4.0 h1:u3Z1r+oOXJIkxqw34zVhyPgjBsm6X2wn21NWs/HfSeg= github.com/pelletier/go-toml v1.4.0/go.mod h1:PN7xzY2wHTK0K9p34ErDQMlFxa51Fk0OUruD3k1mMwo= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.1.0 h1:BQ53HtBmfOitExawJ6LokA4x8ov/z0SYYb0+HxJfRI8= github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 h1:S/YWwWx/RA8rT8tKFRuGUZhuA90OyIBpPCXkcbwU8DE= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181020173914-7e9e6cabbd39/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.6.0 h1:kRhiuYSXR3+uv2IbVbZhUxK5zVD/2pp3Gd2PpvPkpEo= github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.3 h1:CTwfnzjQ+8dS6MhHHu4YswVAD99sL2wjPqP+VkURmKE= github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/rakyll/statik v0.1.6 h1:uICcfUXpgqtw2VopbIncslhAmE5hwc4g20TEyEENBNs= github.com/rakyll/statik v0.1.6/go.mod h1:OEi9wJV/fMUAGx1eNjq75DKDsJVuEv1U0oYdX6GX8Zs= github.com/rcrowley/go-metrics v0.0.0-20180503174638-e2704e165165/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/rcrowley/go-metrics v0.0.0-20190706150252-9beb055b7962 h1:eUm8ma4+yPknhXtkYlWh3tMkE6gBjXZToDned9s2gbQ= github.com/rcrowley/go-metrics v0.0.0-20190706150252-9beb055b7962/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/rs/cors v1.6.0 h1:G9tHG9lebljV9mfp9SNPDL36nCDxmo3zTlAf1YgvzmI= github.com/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/snikch/goodman v0.0.0-20171125024755-10e37e294daa h1:YJfZp12Z3AFhSBeXOlv4BO55RMwPn2NoQeDsrdWnBtY= github.com/snikch/goodman v0.0.0-20171125024755-10e37e294daa/go.mod h1:oJyF+mSPHbB5mVY2iO9KV3pTt/QbIkGaO8gQ2WrDbP4= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.1/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.2.2 h1:5jhuqJyZCZf2JRofRvN/nIFgIWNzPa3/Vz8mYylgbWc= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v0.0.1/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/cobra v0.0.5 h1:f0B+LkLX6DtmRH1isoNA9VTtNUK9K8xYd28JNNfOv/s= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= -github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.0.0/go.mod h1:A8kyI5cUJhb8N+3pkfONlcEcZbueH6nhAm0Fq7SrnBM= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= -github.com/spf13/viper v1.4.0 h1:yXHLWeravcrgGyFSyCgdYpXQ9dR9c/WED3pg1RhxqEU= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.2.0 h1:Hbg2NidpLE8veEBkEZTL3CvlkUIVzuU9jDplZO54c48= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stumble/gorocksdb v0.0.3 h1:9UU+QA1pqFYJuf9+5p7z1IqdE5k0mma4UAeu2wmX8kA= github.com/stumble/gorocksdb v0.0.3/go.mod h1:v6IHdFBXk5DJ1K4FZ0xi+eY737quiiBxYtSWXadLybY= -github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965 h1:1oFLiOyVl+W7bnBzGhf7BbIv9loSFQcieWWYIjLqcAw= github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965/go.mod h1:9OrXJhf154huy1nPWmuSrkgjPUtUNhA+Zmy+6AESzuA= -github.com/tendermint/btcd v0.1.1 h1:0VcxPfflS2zZ3RiOAHkBiFUcPvbtRj5O7zHmcJWHV7s= github.com/tendermint/btcd v0.1.1/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U= -github.com/tendermint/crypto v0.0.0-20190823183015-45b1026d81ae h1:AOXNM7c2Vvo45SjAgeWF8Wy+NS7/NCqzRNpUc+HPAec= github.com/tendermint/crypto v0.0.0-20190823183015-45b1026d81ae/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= github.com/tendermint/go-amino v0.14.1/go.mod h1:i/UKE5Uocn+argJJBb12qTZsCDBcAYMbR92AaJVmKso= -github.com/tendermint/go-amino v0.15.0 h1:TC4e66P59W7ML9+bxio17CPKnxW3nKIRAYskntMAoRk= github.com/tendermint/go-amino v0.15.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tendermint/iavl v0.12.4 h1:hd1woxUGISKkfUWBA4mmmTwOua6PQZTJM/F0FDrmMV8= github.com/tendermint/iavl v0.12.4/go.mod h1:8LHakzt8/0G3/I8FUU0ReNx98S/EP6eyPJkAUvEXT/o= github.com/tendermint/tendermint v0.32.1/go.mod h1:jmPDAKuNkev9793/ivn/fTBnfpA9mGBww8MPRNPNxnU= -github.com/tendermint/tendermint v0.32.3 h1:GEnWpGQ795h5oTFNbfBLsY0LW/CW2j6p6HtiYNfxsgg= github.com/tendermint/tendermint v0.32.3/go.mod h1:ZK2c29jl1QRYznIRyRWRDsmm1yvtPzBRT00x4t1JToY= -github.com/tendermint/tm-db v0.1.1 h1:G3Xezy3sOk9+ekhjZ/kjArYIs1SmwV+1OUgNkj7RgV0= github.com/tendermint/tm-db v0.1.1/go.mod h1:0cPKWu2Mou3IlxecH+MEUSYc1Ch537alLe6CpFrKzgw= -github.com/tendermint/tm-db v0.2.0 h1:rJxgdqn6fIiVJZy4zLpY1qVlyD0TU6vhkT4kEf71TQQ= github.com/tendermint/tm-db v0.2.0/go.mod h1:0cPKWu2Mou3IlxecH+MEUSYc1Ch537alLe6CpFrKzgw= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= -github.com/zondax/hid v0.9.0 h1:eiT3P6vNxAEVxXMw66eZUAAnU2zD33JBkfG/EnfAKl8= github.com/zondax/hid v0.9.0/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.3 h1:MUGmc65QhB3pIlaQ5bB4LwqSj6GIonVJXpZiaKNyaKk= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= @@ -304,7 +208,6 @@ golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25/go.mod h1:djNgcEr1/C05ACk golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190909091759-094676da4a83 h1:mgAKeshyNqWKdENOnQsg+8dRTwZFIwFaO3HNl52sweA= golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -321,7 +224,6 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 h1:k7pJ2yAPLPgbskkFdhRCsA77k2fySZ1zf2zCjvQCiIM= golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -338,12 +240,9 @@ golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3 h1:4y9KwBHBgBNwDbtu44R5o1fdOCQUEXhbk/P4A9WmJq0= golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a h1:aYOabOQFp6Vj6W1F80affTUvO9UxmJRx8K0gsfABByQ= golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -353,34 +252,26 @@ golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135 h1:5Beo0mZN8dRzgrMMkDp0jc8YXQKx9DiJ2k1dkvGsn5A= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64 h1:iKtrH9Y8mcbADOP0YFaEMth7OfuHY9xHOwNj4znpM1A= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/grpc v1.13.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.22.0 h1:J0UbZOIrCAl+fpTOf8YLs4dJo8L/owV4LYVtAXQoPkw= google.golang.org/grpc v1.22.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3 h1:fvjTMHxHEw/mxHbtzPi3JCcKXQRAnQTBRo6YCJSVHKI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= From 121357d82ad211c6f67058a95a6885af24eba453 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves <2335822+alexfmpe@users.noreply.github.com> Date: Mon, 14 Oct 2019 16:39:28 +0100 Subject: [PATCH 25/27] Merge PR #157: Fix typos --- cmd/gaiacli/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index 10de4045f9e..a06889827f2 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -4,7 +4,7 @@ ## Dependencies -This branch uses non-canonical branch of cosmos-sdk. Before building, run `go mod vendor` on the root directory to retrive the dependencies. To build: +This branch uses non-canonical branch of cosmos-sdk. Before building, run `go mod vendor` on the root directory to retrieve the dependencies. To build: ```shell git clone git@github.com:cosmos/gaia @@ -46,7 +46,7 @@ gaiacli config --home ibc0/n0/gaiacli/ node http://localhost:26657 gaiacli config --home ibc1/n0/gaiacli/ node http://localhost:26557 ``` -Add keys from each chain to the other and make such that the key at `ibc1/n0/gaiacli/key_seed.json` is named `n1` on each `gaiacli` instance and the same for `n0`. After this is complete the results of `gaiacli keys list` from each chain should be identical. The following are instructions for how to do this on Mac: +Add keys from each chain to the other and make sure that the key at `ibc1/n0/gaiacli/key_seed.json` is named `n1` on each `gaiacli` instance and the same for `n0`. After this is complete the results of `gaiacli keys list` from each chain should be identical. The following are instructions for how to do this on Mac: ```bash # These commands copy the seed phrase from each dir into the clipboard on mac @@ -106,7 +106,7 @@ gaiacli --home ibc1/n0/gaiacli q ibc client client c1 --indent ### Connection Creation -In order to send transactions using IBC there are two differnt handshakes that must be preformed. First there is a `connection` created between the two chains. Once the connection is created, an application specific `channel` handshake is preformed which allows the transfer of application specific data. Examples of applications are token transfer, cross-chain validation, cross-chain accounts, and in this tutorial `ibc-mock`. +In order to send transactions using IBC there are two different handshakes that must be performed. First there is a `connection` created between the two chains. Once the connection is created, an application specific `channel` handshake is performed which allows the transfer of application specific data. Examples of applications are token transfer, cross-chain validation, cross-chain accounts, and in this tutorial `ibc-mock`. Create a `connection` with the following command: @@ -133,7 +133,7 @@ gaiacli --home ibc1/n0/gaiacli q ibc connection connection conn1 --indent --trus ### Channel -Now that the `connection` has been created, its time to establish a `channel` for the `ibc-mock` application protocol. This will allow sending of data between `ibc0` and `ibc1`. To create the `channel`, run the following command: +Now that the `connection` has been created, it's time to establish a `channel` for the `ibc-mock` application protocol. This will allow sending of data between `ibc0` and `ibc1`. To create the `channel`, run the following command: > NOTE: This command broadcasts a total of 7 transactions between the two chains from 2 different wallets. At the start of the command you will be prompted for passwords for the two different keys. The command may then take some time. Please wait for the command to return! @@ -176,7 +176,7 @@ gaiacli --home ibc0/n0/gaiacli tx ibcmocksend sequence chan0 $(gaiacli --home ib ### Receive Packet -Once packets are sent, reciept must be confirmed on the destination chain. To receive the packets you just sent, run the following command: +Once packets are sent, receipt must be confirmed on the destination chain. To receive the packets you just sent, run the following command: ```bash gaiacli \ From 6df9ff71e7c22535ea5d5fd6e33cebe551be96cf Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Mon, 14 Oct 2019 17:25:10 -0700 Subject: [PATCH 26/27] Demo in working state --- cmd/gaiacli/README.md | 28 ++++++++++++++------ go.mod | 4 ++- go.sum | 61 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 9 deletions(-) diff --git a/cmd/gaiacli/README.md b/cmd/gaiacli/README.md index a06889827f2..25289cd91f4 100644 --- a/cmd/gaiacli/README.md +++ b/cmd/gaiacli/README.md @@ -1,7 +1,5 @@ # IBC instruction -// temporal document - ## Dependencies This branch uses non-canonical branch of cosmos-sdk. Before building, run `go mod vendor` on the root directory to retrieve the dependencies. To build: @@ -26,7 +24,7 @@ gaiad testnet -o ibc0 --v 1 --chain-id ibc0 --node-dir-prefix n gaiad testnet -o ibc1 --v 1 --chain-id ibc1 --node-dir-prefix n ``` -### Set `gaiacli` Configuation +### Set `gaiad` and `gaiacli` Configuation Fix the configuration files for both `gaiad` and `gaiacli` to allow both chains/nodes to run on the same machine: @@ -168,15 +166,15 @@ gaiacli --home ibc0/n0/gaiacli q ibcmocksend sequence chan0 gaiacli --home ibc0/n0/gaiacli q ibcmocksend next chan0 ``` -Now you are ready to send an `ibc-mock` packet down the channel (`chan0`) from chain `ibc0` to chain `ibc1`! To do so run the following command: +Now you are ready to send an `ibc-mock` packet down the channel (`chan0`) from chain `ibc0` to chain `ibc1`! To do so run the following commands to send a packet down the channel: ```bash -gaiacli --home ibc0/n0/gaiacli tx ibcmocksend sequence chan0 $(gaiacli --home ibc0/n0/gaiacli q ibcmocksend next chan0) --from n0 -o text +gaiacli --home ibc0/n0/gaiacli tx ibcmocksend sequence chan0 $(gaiacli --home ibc0/n0/gaiacli q ibcmocksend next chan0) --from n0 -o text -y ``` ### Receive Packet -Once packets are sent, receipt must be confirmed on the destination chain. To receive the packets you just sent, run the following command: +Once packets are sent, receipt must be confirmed on the destination chain. To `pull` the packets from `ibc0` on `ibc1`, run the following command: ```bash gaiacli \ @@ -185,11 +183,25 @@ gaiacli \ --node1 tcp://localhost:26557 \ --node2 tcp://localhost:26657 \ --chain-id2 ibc0 \ - --from1 n0 --from2 n0 -y -o text + --from n1 +``` + +This command sends two transactions. You should see the reciept of the packet: + +``` +ibc1 <- update-client [OK] txid(7D4B4DE7A6B8E1045CA7BEB16E21DD0491BED000E5FB0D05BBB7960AABE5CC78) client(c1) +ibc1 <- empty-packet [OK] txid(6E90B9CE19394D7D41CF55E4ADCC94D6169B476B45527F9C47346080C85A289F) packets(1) ``` -Once the packets have been sent, check the To see the updated sequence run the following command: +> Note: This command pushes all the packets out of the channel with one command. Try pushing a **couple of packets** from `ibc0` to `ibc1` then fulshing them at once. You should see output like: ``` +ibc1 <- update-client [OK] txid(21E0CE99A21DD7630A7DDE62459DD82C4051CC46B231A7B31529928B1B1B2C53) client(c1) +ibc1 <- empty-packet [OK] txid(92D76EF46FDCB3739DB06960BECCD7DA30AAA6AECA687DF4D92CC272D4941F7E) packets(2) +``` + +Once the packets have been sent, you can check the updated sequence by running: + +```bash gaiacli --home ibc1/n0/gaiacli q ibcmockrecv sequence chan1 --trust-node ``` diff --git a/go.mod b/go.mod index 650f5a11269..5bf4df6d30d 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect - github.com/cosmos/cosmos-sdk v0.34.4-0.20191011153240-3d5c97e59cc4 + github.com/cosmos/cosmos-sdk v0.34.4-0.20191015002325-ee5d7f3d62d9 github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect github.com/golang/mock v1.3.1 // indirect github.com/onsi/ginkgo v1.8.0 // indirect @@ -27,3 +27,5 @@ require ( golang.org/x/text v0.3.2 // indirect google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64 // indirect ) + +replace github.com/cosmos/cosmos-sdk => /Users/johnzampolin/go/src/github.com/cosmos/cosmos-sdk diff --git a/go.sum b/go.sum index 5e5a5cf707e..7e8301c10f3 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,6 @@ bou.ke/monkey v1.0.1/go.mod h1:FgHuK96Rv2Nlf+0u1OOVDpCMdsWyOFmeeketDHE7LIg= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/99designs/keyring v1.1.2 h1:JJauROcU6x6Nh9uZb+8JgXFvyo0GUESLo1ixhpA0Kmw= github.com/99designs/keyring v1.1.2/go.mod h1:657DQuMrBZRtuL/voxVyiyb6zpMehlm5vLB9Qwrv904= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= @@ -8,15 +9,20 @@ github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBA github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= +github.com/bartekn/go-bip39 v0.0.0-20171116152956-a05967ea095d h1:1aAija9gr0Hyv4KfQcRcwlmFIrhkDmIj2dz5bkg/s/8= github.com/bartekn/go-bip39 v0.0.0-20171116152956-a05967ea095d/go.mod h1:icNx/6QdFblhsEjZehARqbNumymUT/ydwlLojFdv7Sk= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/btcsuite/btcd v0.0.0-20190115013929-ed77733ec07d/go.mod h1:d3C0AkH6BRcvO8T0UEPu53cnw4IbV63x1bEjildYhO0= +github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a h1:We35J+0yvVFrEXbtViYUW8H/wNOhqjIF3PsrW4yYmGw= github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a/go.mod h1:3J08xEfcugPacsc34/LKRU2yO7YmuT8yt28J8k2+rrI= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= github.com/btcsuite/btcutil v0.0.0-20180706230648-ab6388e0c60a/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= +github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d h1:yJzD/yFppdVCf6ApMkVy8cUxV0XrxdP9rVf6D87/Mng= github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= github.com/btcsuite/goleveldb v0.0.0-20160330041536-7834afc9e8cd/go.mod h1:F+uVaaLLH7j4eDXPRvw78tMflu7Ie2bzYOH4Y8rRKBY= @@ -34,16 +40,21 @@ github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfc github.com/cosmos/cosmos-sdk v0.34.4-0.20191011153240-3d5c97e59cc4 h1:yBpxtTivCYaBL+hlC03KpF3e2ZfJv/e+q7IA7YDnWKA= github.com/cosmos/cosmos-sdk v0.34.4-0.20191011153240-3d5c97e59cc4/go.mod h1:67hqCx0waQyx20bfAvPuIFO9NcPWzNOOOT4TT/672Q0= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= +github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d h1:49RLWk1j44Xu4fjHb6JFYmeUnDORVwHNkDxaQ0ctCVU= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= +github.com/cosmos/ledger-cosmos-go v0.10.3 h1:Qhi5yTR5Pg1CaTpd00pxlGwNl4sFRdtK1J96OTjeFFc= github.com/cosmos/ledger-cosmos-go v0.10.3/go.mod h1:J8//BsAGTo3OC/vDLjMRFLW6q0WAaXvHnVc7ZmE8iUY= +github.com/cosmos/ledger-go v0.9.2 h1:Nnao/dLwaVTk1Q5U9THldpUMMXU94BOTWPddSmVB6pI= github.com/cosmos/ledger-go v0.9.2/go.mod h1:oZJ2hHAZROdlHiwTg4t7kP+GKIIkBT+o6c9QWFanOyI= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= +github.com/dvsekhvalnov/jose2go v0.0.0-20180829124132-7f401d37b68a h1:mq+R6XEM6lJX5VlLyZIrUSP8tSuJp82xTK89hvBwJbU= github.com/dvsekhvalnov/jose2go v0.0.0-20180829124132-7f401d37b68a/go.mod h1:7BvyPhdbLxMXIYTFPLsyJRFMsKmOZnQmzh6Gb+uquuM= github.com/etcd-io/bbolt v1.3.2/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= @@ -52,16 +63,20 @@ github.com/facebookgo/stack v0.0.0-20160209184415-751773369052/go.mod h1:UbMTZqL github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0= github.com/fortytw2/leaktest v1.2.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= +github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-kit/kit v0.6.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.8.0 h1:Wz+5lgoB0kkuqLEc6NVmwRknTKP6dTGbSqvhZtBI/j0= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0 h1:MP4Eh7ZCb31lleYCFuwm0oe4/YGak+5l1vA2NOE80nA= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.3.0 h1:G8O7TerXerS4F6sx9OV7/nRfJdnXgHZu/S/7F2SN+UE= github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -71,22 +86,28 @@ github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFU github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.0/go.mod h1:Qd/q+1AKNOZr9uGQzbzCmRO6sUih6GTPZv6a1/R87v0= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/gorilla/mux v1.7.3 h1:gnP5JzjVOuiZD07fKKToCAOjS0yOpj/qPETTXCCS6hw= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/websocket v1.2.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0= +github.com/hashicorp/golang-lru v0.5.3 h1:YPkqC67at8FYaadspW/6uE0COsBxS2656RLEr8Bppgk= github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= @@ -97,6 +118,7 @@ github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlT github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d h1:Z+RDyXzjKE0i2sTjZ/b1uxiGtPhFy34Ou/Tk0qwN0kM= github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNrCn9otv/2QP4D7SMJBgaleKpOf66PnW6F5WGNRIc= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= @@ -107,11 +129,17 @@ github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFB github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/libp2p/go-buffer-pool v0.0.1 h1:9Rrn/H46cXjaA2HQ5Y8lyhOS1NhTkZ4yuEs2r3Eechg= github.com/libp2p/go-buffer-pool v0.0.1/go.mod h1:xtyIz9PMobb13WaxR6Zo1Pd1zXJKYg0a8KiIvDp3TzQ= +github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mattn/go-isatty v0.0.9 h1:d5US/mDsogSGW37IV293h//ZFaeajb69h+EHFsv2xGg= github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= +github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -124,36 +152,47 @@ github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/otiai10/copy v1.0.2 h1:DDNipYy6RkIkjMwy+AWzgKiNTyj2RUI9yEMeETEpVyc= github.com/otiai10/copy v1.0.2/go.mod h1:c7RpqBkwMom4bYTSkLSym4VSJz/XtncWRAj/J4PEIMY= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776/go.mod h1:3HNVkVOU7vZeFXocWuvtcS0XSFLcf2XUSDHkq9t1jU4= github.com/otiai10/mint v1.2.4/go.mod h1:d+b7n/0R3tdyUYYylALXpWQ/kTN+QobSq/4SRGBkR3M= github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/pelletier/go-toml v1.4.0 h1:u3Z1r+oOXJIkxqw34zVhyPgjBsm6X2wn21NWs/HfSeg= github.com/pelletier/go-toml v1.4.0/go.mod h1:PN7xzY2wHTK0K9p34ErDQMlFxa51Fk0OUruD3k1mMwo= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.1.0 h1:BQ53HtBmfOitExawJ6LokA4x8ov/z0SYYb0+HxJfRI8= github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 h1:S/YWwWx/RA8rT8tKFRuGUZhuA90OyIBpPCXkcbwU8DE= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181020173914-7e9e6cabbd39/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.6.0 h1:kRhiuYSXR3+uv2IbVbZhUxK5zVD/2pp3Gd2PpvPkpEo= github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.3 h1:CTwfnzjQ+8dS6MhHHu4YswVAD99sL2wjPqP+VkURmKE= github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/rakyll/statik v0.1.6 h1:uICcfUXpgqtw2VopbIncslhAmE5hwc4g20TEyEENBNs= github.com/rakyll/statik v0.1.6/go.mod h1:OEi9wJV/fMUAGx1eNjq75DKDsJVuEv1U0oYdX6GX8Zs= github.com/rcrowley/go-metrics v0.0.0-20180503174638-e2704e165165/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/rcrowley/go-metrics v0.0.0-20190706150252-9beb055b7962 h1:eUm8ma4+yPknhXtkYlWh3tMkE6gBjXZToDned9s2gbQ= github.com/rcrowley/go-metrics v0.0.0-20190706150252-9beb055b7962/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/rs/cors v1.6.0 h1:G9tHG9lebljV9mfp9SNPDL36nCDxmo3zTlAf1YgvzmI= github.com/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= @@ -162,39 +201,54 @@ github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4k github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.1/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/afero v1.2.2 h1:5jhuqJyZCZf2JRofRvN/nIFgIWNzPa3/Vz8mYylgbWc= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v0.0.1/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/cobra v0.0.5 h1:f0B+LkLX6DtmRH1isoNA9VTtNUK9K8xYd28JNNfOv/s= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.0.0/go.mod h1:A8kyI5cUJhb8N+3pkfONlcEcZbueH6nhAm0Fq7SrnBM= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= +github.com/spf13/viper v1.4.0 h1:yXHLWeravcrgGyFSyCgdYpXQ9dR9c/WED3pg1RhxqEU= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stumble/gorocksdb v0.0.3/go.mod h1:v6IHdFBXk5DJ1K4FZ0xi+eY737quiiBxYtSWXadLybY= +github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965 h1:1oFLiOyVl+W7bnBzGhf7BbIv9loSFQcieWWYIjLqcAw= github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965/go.mod h1:9OrXJhf154huy1nPWmuSrkgjPUtUNhA+Zmy+6AESzuA= +github.com/tendermint/btcd v0.1.1 h1:0VcxPfflS2zZ3RiOAHkBiFUcPvbtRj5O7zHmcJWHV7s= github.com/tendermint/btcd v0.1.1/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U= +github.com/tendermint/crypto v0.0.0-20190823183015-45b1026d81ae h1:AOXNM7c2Vvo45SjAgeWF8Wy+NS7/NCqzRNpUc+HPAec= github.com/tendermint/crypto v0.0.0-20190823183015-45b1026d81ae/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= github.com/tendermint/go-amino v0.14.1/go.mod h1:i/UKE5Uocn+argJJBb12qTZsCDBcAYMbR92AaJVmKso= +github.com/tendermint/go-amino v0.15.0 h1:TC4e66P59W7ML9+bxio17CPKnxW3nKIRAYskntMAoRk= github.com/tendermint/go-amino v0.15.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= +github.com/tendermint/iavl v0.12.4 h1:hd1woxUGISKkfUWBA4mmmTwOua6PQZTJM/F0FDrmMV8= github.com/tendermint/iavl v0.12.4/go.mod h1:8LHakzt8/0G3/I8FUU0ReNx98S/EP6eyPJkAUvEXT/o= github.com/tendermint/tendermint v0.32.1/go.mod h1:jmPDAKuNkev9793/ivn/fTBnfpA9mGBww8MPRNPNxnU= +github.com/tendermint/tendermint v0.32.3 h1:GEnWpGQ795h5oTFNbfBLsY0LW/CW2j6p6HtiYNfxsgg= github.com/tendermint/tendermint v0.32.3/go.mod h1:ZK2c29jl1QRYznIRyRWRDsmm1yvtPzBRT00x4t1JToY= github.com/tendermint/tm-db v0.1.1/go.mod h1:0cPKWu2Mou3IlxecH+MEUSYc1Ch537alLe6CpFrKzgw= +github.com/tendermint/tm-db v0.2.0 h1:rJxgdqn6fIiVJZy4zLpY1qVlyD0TU6vhkT4kEf71TQQ= github.com/tendermint/tm-db v0.2.0/go.mod h1:0cPKWu2Mou3IlxecH+MEUSYc1Ch537alLe6CpFrKzgw= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/zondax/hid v0.9.0 h1:eiT3P6vNxAEVxXMw66eZUAAnU2zD33JBkfG/EnfAKl8= github.com/zondax/hid v0.9.0/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= @@ -208,6 +262,7 @@ golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25/go.mod h1:djNgcEr1/C05ACk golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190909091759-094676da4a83 h1:mgAKeshyNqWKdENOnQsg+8dRTwZFIwFaO3HNl52sweA= golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -224,6 +279,7 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 h1:k7pJ2yAPLPgbskkFdhRCsA77k2fySZ1zf2zCjvQCiIM= golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -241,8 +297,10 @@ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a h1:aYOabOQFp6Vj6W1F80affTUvO9UxmJRx8K0gsfABByQ= golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -258,10 +316,12 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7 google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64 h1:iKtrH9Y8mcbADOP0YFaEMth7OfuHY9xHOwNj4znpM1A= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/grpc v1.13.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.22.0 h1:J0UbZOIrCAl+fpTOf8YLs4dJo8L/owV4LYVtAXQoPkw= google.golang.org/grpc v1.22.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -272,6 +332,7 @@ gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWD gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.3 h1:fvjTMHxHEw/mxHbtzPi3JCcKXQRAnQTBRo6YCJSVHKI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= From 92489030da10d7f07266199f0fd5977d92ca0178 Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Mon, 14 Oct 2019 17:25:54 -0700 Subject: [PATCH 27/27] Fix go.mod --- go.mod | 2 -- 1 file changed, 2 deletions(-) diff --git a/go.mod b/go.mod index 5bf4df6d30d..e41a1ad754c 100644 --- a/go.mod +++ b/go.mod @@ -27,5 +27,3 @@ require ( golang.org/x/text v0.3.2 // indirect google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64 // indirect ) - -replace github.com/cosmos/cosmos-sdk => /Users/johnzampolin/go/src/github.com/cosmos/cosmos-sdk