laconicd tx bond create 1000000photon --from val_001 --gas auto --fees 1000photon --home ~/temp/.val_001 -y --keyring-backend test --node http://localhost:27001 --chain-id laconic_9000-1
Error: val_001.info: key not found
val_001.info: key not found [cosmos/cosmos-sdk@v0.50.3/crypto/keyring/keyring.go:538]
The key is present in the keyring:
laconicd keys list --home ~/temp/.val_001 --keyring-backend test
- address: laconic1r5v5srda7xfth3hn2s26txvrcrntldju7hlmqd
name: val_001
pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"ArpmqEz3g5rxcqE+f8n15wCMuLyhWF+PO6+zA57aPB/d"}'
type: local
Version:
laconicd version
main-e63f51cacdb132eec3c934b078bf7465e0f54eee
Hi! The `tx bond create` transaction is returning a "key not found" error.
A `tx bank send` transaction is accepted:
```
laconicd tx bank send laconic1r5v5srda7xfth3hn2s26txvrcrntldju7hlmqd laconic1r5v5srda7xfth3hn2s26txvrcrntldju7hlmqd 1000photon --from val_001 --gas auto --fees 1000photon --home ~/temp/.val_001 -y --keyring-backend test --node http://localhost:27001 --chain-id laconic_9000-1
gas estimate: 68070
code: 0
codespace: ""
data: ""
events: []
gas_used: "0"
gas_wanted: "0"
height: "0"
info: ""
logs: []
raw_log: ""
timestamp: ""
tx: null
txhash: 8E7D29E86291B59491970EFB76EFAA1DE97D03361257EC15F07713B529B831E7
```
A `tx bond create` transaction is not accepted:
```
laconicd tx bond create 1000000photon --from val_001 --gas auto --fees 1000photon --home ~/temp/.val_001 -y --keyring-backend test --node http://localhost:27001 --chain-id laconic_9000-1
Error: val_001.info: key not found
val_001.info: key not found [cosmos/cosmos-sdk@v0.50.3/crypto/keyring/keyring.go:538]
```
The key is present in the keyring:
```
laconicd keys list --home ~/temp/.val_001 --keyring-backend test
- address: laconic1r5v5srda7xfth3hn2s26txvrcrntldju7hlmqd
name: val_001
pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"ArpmqEz3g5rxcqE+f8n15wCMuLyhWF+PO6+zA57aPB/d"}'
type: local
```
Version:
```
laconicd version
main-e63f51cacdb132eec3c934b078bf7465e0f54eee
```
Hi @dasanchez
I was able to reproduce the issue locally.
Will investigate why tx bank send is working but tx bond create doesn't with the same command flags.
Hi @dasanchez
I was able to reproduce the issue locally.
Will investigate why `tx bank send` is working but `tx bond create` doesn't with the same command flags.
It appears there is an issue with home dir resolution in cosmos-sdk causing the above behaviour
In PR #35, we have implemented a workaround for the same
However, we still need to pass the --node flag for some commands (tx bond create being one of them) to work when using a non-default home dir
Hi @dasanchez
- It appears there is an issue with home dir resolution in cosmos-sdk causing the above behaviour
- In PR #35, we have implemented a workaround for the same
- However, we still need to pass the `--node` flag for some commands (`tx bond create` being one of them) to work when using a non-default home dir
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi! The
tx bond createtransaction is returning a "key not found" error.A
tx bank sendtransaction is accepted:A
tx bond createtransaction is not accepted:The key is present in the keyring:
Version:
Hi @dasanchez
I was able to reproduce the issue locally.
Will investigate why
tx bank sendis working buttx bond createdoesn't with the same command flags.Hi @dasanchez
--nodeflag for some commands (tx bond createbeing one of them) to work when using a non-default home dir