bnb-chain / greenfield-js-sdk

JS SDK for Greenfield
https://docs.bnbchain.org/greenfield-js-sdk/
GNU General Public License v3.0
28 stars 15 forks source link

Check cosmos boroadcast issue #565

Closed AndrewChupin closed 2 months ago

AndrewChupin commented 2 months ago

SDK version: "@bnb-chain/bsc-cross-greenfield-sdk": "^0.0.3", "@bnb-chain/greenfield-contracts": "^1.2.2", "@bnb-chain/greenfield-contracts-sdk": "^1.1.0", "@bnb-chain/greenfield-js-sdk": "^2.1.1", "@bnb-chain/reed-solomon": "^1.1.3", "@openzeppelin/contracts": "^5.0.1"

Environment:

What happened: During object creation I get an error Broadcasting transaction failed with code 4 (codespace: sdk). Log: wrong number of signers; expected 2, got 1: unauthorized, looks like it's expecting multisig account, but the signing account isn't.

What you expected to happen: Check an error

Have you tried the latest version: yes

How to reproduce it (as minimally and precisely as possible):

Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file):

Config (you can paste only the changes you've made):

node command runtime flags: yarn hardhat run scripts/altdev.ts --network bsc_test

Anything else we need to know: