Closed Reecepbcups closed 2 years ago
Arch Linux - x86_64 Linux 5.16.15-arch1-1 go version go1.18 linux/amd64 (installed with notional.giit standup.bash script)
Ubuntu 20.04 focal - x86_64 Linux 5.13.0-40-generic go version go1.17.8 linux/amd64
tag: v0.3.0-alpha (latest commit)
git clone https://github.com/notional-labs/craft.git cd craft go install ./...
[root@CraftExpValidator ~]# craftd version --long build_deps: - cloud.google.com/go@v0.100.2 - cloud.google.com/go/compute@v1.5.0 - cloud.google.com/go/iam@v0.3.0 - cloud.google.com/go/storage@v1.14.0 - filippo.io/edwards25519@v1.0.0-rc.1 - github.com/99designs/keyring@v1.1.6 => github.com/cosmos/keyring@v1.1.7-0.20210622111912-ef00f8ac3d76 - github.com/CosmWasm/wasmd@v0.24.0 => github.com/notional-labs/wasmd@v0.25.1-0.20220426041131-0ca3896ec438 - github.com/CosmWasm/wasmvm@v1.0.0-beta10 - github.com/Workiva/go-datastructures@v1.0.53 - github.com/armon/go-metrics@v0.3.11 - github.com/aws/aws-sdk-go@v1.40.45 - github.com/beorn7/perks@v1.0.1 - github.com/bgentry/go-netrc@v0.0.0-20140422174119-9fd32a8b3d3d - github.com/bgentry/speakeasy@v0.1.0 - github.com/btcsuite/btcd@v0.22.1 - github.com/cenkalti/backoff/v4@v4.1.1 - github.com/cespare/xxhash/v2@v2.1.2 - github.com/cockroachdb/apd/v2@v2.0.2 - github.com/coinbase/rosetta-sdk-go@v0.7.9 - github.com/confio/ics23/go@v0.7.0 - github.com/cosmos/btcutil@v1.0.4 - github.com/cosmos/cosmos-proto@v1.0.0-alpha7.0.20220208174455-213b76899fac - github.com/cosmos/cosmos-sdk@v0.46.0-beta2.0.20220418184507-c53157dd63f6 - github.com/cosmos/cosmos-sdk/api@v0.1.0 - github.com/cosmos/cosmos-sdk/errors@v1.0.0-beta.3 - github.com/cosmos/go-bip39@v1.0.0 - github.com/cosmos/iavl@v0.18.0 - github.com/cosmos/ibc-go/v3@v3.0.0 => github.com/notional-labs/ibc-go/v3@v3.0.0-20220419040550-c9cfb6787e26 - github.com/creachadair/taskgroup@v0.3.2 - github.com/davecgh/go-spew@v1.1.1 - github.com/desertbit/timer@v0.0.0-20180107155436-c41aec40b27f - github.com/dvsekhvalnov/jose2go@v0.0.0-20200901110807-248326c1351b - github.com/felixge/httpsnoop@v1.0.1 - github.com/fsnotify/fsnotify@v1.5.1 - github.com/go-kit/kit@v0.12.0 - github.com/godbus/dbus@v0.0.0-20190726142602-4481cbc300e2 - github.com/gogo/gateway@v1.1.0 - github.com/gogo/protobuf@v1.3.3 => github.com/regen-network/protobuf@v1.3.3-alpha.regen.1 - github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da - github.com/golang/protobuf@v1.5.2 - github.com/golang/snappy@v0.0.4 - github.com/google/btree@v1.0.1 - github.com/google/gofuzz@v1.2.0 - github.com/google/orderedcode@v0.0.1 - github.com/google/uuid@v1.3.0 - github.com/googleapis/gax-go/v2@v2.3.0 - github.com/gorilla/handlers@v1.5.1 - github.com/gorilla/mux@v1.8.0 - github.com/gorilla/websocket@v1.5.0 - github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0 - github.com/grpc-ecosystem/go-grpc-prometheus@v1.2.0 - github.com/grpc-ecosystem/grpc-gateway@v1.16.0 - github.com/gsterjov/go-libsecret@v0.0.0-20161001094733-a6f4afe4910c - github.com/hashicorp/go-cleanhttp@v0.5.2 - github.com/hashicorp/go-getter@v1.5.11 - github.com/hashicorp/go-immutable-radix@v1.3.1 - github.com/hashicorp/go-safetemp@v1.0.0 - github.com/hashicorp/go-version@v1.4.0 - github.com/hashicorp/golang-lru@v0.5.5-0.20210104140557-80c98217689d - github.com/hashicorp/hcl@v1.0.0 - github.com/hdevalence/ed25519consensus@v0.0.0-20220222234857-c00d1f31bab3 - github.com/improbable-eng/grpc-web@v0.15.0 - github.com/jmespath/go-jmespath@v0.4.0 - github.com/klauspost/compress@v1.13.6 - github.com/lib/pq@v1.10.5 - github.com/libp2p/go-buffer-pool@v0.0.2 - github.com/magiconair/properties@v1.8.6 - github.com/mattn/go-isatty@v0.0.14 - github.com/matttproud/golang_protobuf_extensions@v1.0.1 - github.com/minio/highwayhash@v1.0.2 - github.com/mitchellh/go-homedir@v1.1.0 - github.com/mitchellh/go-testing-interface@v1.0.0 - github.com/mitchellh/mapstructure@v1.4.3 - github.com/mtibben/percent@v0.2.1 - github.com/oasisprotocol/curve25519-voi@v0.0.0-20210609091139-0a56a4bca00b - github.com/pelletier/go-toml@v1.9.4 - github.com/pkg/errors@v0.9.1 - github.com/pmezard/go-difflib@v1.0.0 - github.com/prometheus/client_golang@v1.12.1 - github.com/prometheus/client_model@v0.2.0 - github.com/prometheus/common@v0.34.0 - github.com/prometheus/procfs@v0.7.3 - github.com/rakyll/statik@v0.1.7 - github.com/rcrowley/go-metrics@v0.0.0-20200313005456-10cdbea86bc0 - github.com/regen-network/cosmos-proto@v0.3.1 - github.com/rs/cors@v1.8.2 - github.com/rs/zerolog@v1.26.1 - github.com/spf13/afero@v1.8.2 - github.com/spf13/cast@v1.4.1 - github.com/spf13/cobra@v1.4.0 - github.com/spf13/jwalterweatherman@v1.1.0 - github.com/spf13/pflag@v1.0.5 - github.com/spf13/viper@v1.11.0 - github.com/stretchr/testify@v1.7.1 - github.com/subosito/gotenv@v1.2.0 - github.com/syndtr/goleveldb@v1.0.1-0.20210819022825-2ae1ddf74ef7 - github.com/tendermint/btcd@v0.1.1 - github.com/tendermint/crypto@v0.0.0-20191022145703-50d29ede1e15 - github.com/tendermint/go-amino@v0.16.0 - github.com/tendermint/tendermint@v0.35.4 - github.com/tendermint/tm-db@v0.6.8-0.20220425212429-d24d5c7ee87a - github.com/ulikunitz/xz@v0.5.8 - go.opencensus.io@v0.23.0 - golang.org/x/crypto@v0.0.0-20220411220226-7b82a4e95df4 - golang.org/x/net@v0.0.0-20220412020605-290c469a71a5 - golang.org/x/oauth2@v0.0.0-20220411215720-9780585627b5 - golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c - golang.org/x/sys@v0.0.0-20220412211240-33da011f77ad - golang.org/x/term@v0.0.0-20210927222741-03fcf44c2211 - golang.org/x/text@v0.3.7 - golang.org/x/xerrors@v0.0.0-20220411194840-2f41105eb62f - google.golang.org/api@v0.74.0 - google.golang.org/genproto@v0.0.0-20220429170224-98d788798c3e - google.golang.org/grpc@v1.46.0 - google.golang.org/protobuf@v1.28.0 - gopkg.in/ini.v1@v1.66.4 - gopkg.in/yaml.v2@v2.4.0 - gopkg.in/yaml.v3@v3.0.0-20210107192922-496545a6307b - nhooyr.io/websocket@v1.8.6 - sigs.k8s.io/yaml@v1.3.0 build_tags: "" commit: "" cosmos_sdk_version: v0.46.0-beta2.0.20220418184507-c53157dd63f6 go: go version go1.18 linux/amd64 name: "" server_name: <appd> version: ""
craftd testnet start --chain-id craft-aaa --v 4 craftd keys add test --recover (then copy pasted MNEMONIC)
craftd q exp white_list --chain-id craft-aaa --node http://65.108.125.182:26657 Error: rpc error: code = Unknown desc = unknown query path: unknown request
Error: rpc error: code = Unknown desc = unknown query path: unknown request
craftd tx exp spend 100node0token --from test --chain-id craft-aaa --node http://65.108.125.182:26657 code: 2 unable to resolve type URL /craft.exp.v1beta1.MsgSpendIbcAssetToExp: tx parse error
code: 2
unable to resolve type URL /craft.exp.v1beta1.MsgSpendIbcAssetToExp: tx parse error
When I try to query the failed hash, it errors out. craftd q tx --type=hash AB327D4BDCF8FA0E3C253251F6F27B608776EC97B6AED96D3713EFA8EEDCEF6A --chain-id craft-aaa --node http://65.108.125.182:26657 Error: RPC error -32603 - Internal error: tx (AB327D4BDCF8FA0E3C253251F6F27B608776EC97B6AED96D3713EFA8EEDCEF6A) not found, err: %!w()
craftd q tx --type=hash AB327D4BDCF8FA0E3C253251F6F27B608776EC97B6AED96D3713EFA8EEDCEF6A --chain-id craft-aaa --node http://65.108.125.182:26657
thank you @Reecepbcups, i'm debugging now !
Resolved with the ./testnet.sh file, issue with SDK 46 testnet command as vuong found.
Tested on
Arch Linux - x86_64 Linux 5.16.15-arch1-1 go version go1.18 linux/amd64 (installed with notional.giit standup.bash script)
Ubuntu 20.04 focal - x86_64 Linux 5.13.0-40-generic go version go1.17.8 linux/amd64
tag: v0.3.0-alpha (latest commit)
Arch Server Steps / Environment
git clone https://github.com/notional-labs/craft.git cd craft go install ./...
craftd testnet start --chain-id craft-aaa --v 4 craftd keys add test --recover (then copy pasted MNEMONIC)
craftd q exp white_list --chain-id craft-aaa --node http://65.108.125.182:26657
Error: rpc error: code = Unknown desc = unknown query path: unknown request
craftd tx exp spend 100node0token --from test --chain-id craft-aaa --node http://65.108.125.182:26657
code: 2
unable to resolve type URL /craft.exp.v1beta1.MsgSpendIbcAssetToExp: tx parse error
When I try to query the failed hash, it errors out.)
craftd q tx --type=hash AB327D4BDCF8FA0E3C253251F6F27B608776EC97B6AED96D3713EFA8EEDCEF6A --chain-id craft-aaa --node http://65.108.125.182:26657
Error: RPC error -32603 - Internal error: tx (AB327D4BDCF8FA0E3C253251F6F27B608776EC97B6AED96D3713EFA8EEDCEF6A) not found, err: %!w(