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
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: