-
Notifications
You must be signed in to change notification settings - Fork 573
Closed
Labels
type:errorSomething isn't workingSomething isn't working
Description
Describe the bug
The generated vue frontend is broken in 0.27.1.
Produces:
IgntSend.vue:255 Error: TxClient:sendMsgSend: Could not broadcast Tx: Invalid string. Length must be a multiple of 4
at Object.sendMsgSend (module.ts:101:11)
at async sendTx (IgntSend.vue:244:22)
when sending requests from the frontend.
This is likely not related to #3638 but rather related to the cosmjs librarie versions used in the generated ts-client just not being suited for cosmos-sdk v0.47.3.
To reproduce
- Scaffold and start a new chain and frontend:
ignite scaffold chain testchain
cd ./testchain
ignite scaffold vue
ignite generate composables
ignite chain build
ignite chain init
cd ./vue
npm i
npm run dev & testchaind start
- Go to
localhost:5174in your web-browser - Log in with Keplr
- Copy
cosmos1...address to clipboard - Transfer some stake or credits to user:
testchaind tx bank send alice cosmos1... 10stake --from alice- Go back to frontend and transfer some stake (what ever) back to alice
- Get error in console:
IgntSend.vue:255 Error: TxClient:sendMsgSend: Could not broadcast Tx: Invalid string. Length must be a multiple of 4
at Object.sendMsgSend (module.ts:101:11)
at async sendTx (IgntSend.vue:244:22)
What version are you using?
Ignite CLI version: v0.27.1
Ignite CLI build date: 2023-06-13T13:42:09Z
Ignite CLI source hash: 4acd1f185afb6d8d1a837e54f04c091121cfae01
Ignite CLI config version: v1
Cosmos SDK version: v0.47.3
Your OS: linux
Your arch: amd64
Your Node.js version: v20.8.0
Your go version: go version go1.21.1 linux/amd64
Your uname -a: Linux archframework 6.5.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 23 Sep 2023 22:55:13 +0000 x86_64 GNU/Linux
Your cwd: /home/arch
Is on Gitpod: false
patrickwieth, nlsui and MaFeLP
Metadata
Metadata
Assignees
Labels
type:errorSomething isn't workingSomething isn't working
Type
Projects
Status
Done