TS bindings and base js-sdk library are both using:
"@stellar/stellar-sdk": "12.2.0"
What did you do?
Attempting to sign auth entries using the signAuthEntries method of the TS bindings.
What did you expect to see?
No errors.
What did you see instead?
1725 | this._arm = arm;
1726 | this._armType = arm === _void__WEBPACK_IMPORTED_MODULE_0__.Void ? _void__WEBPACK_IMPORTED_MODULE_0__.Void : this.constructor._arms[arm];
1727 | this._value = value;
1728 | }
1729 | get(armName = this._arm) {
1730 | if (this._arm !== _void__WEBPACK_IMPORTED_MODULE_0__.Void && this._arm !== armName) throw new TypeError(`${armName} not set`);
^
TypeError: accountId not set
at get (/Users/tylervanderhoeven/Desktop/check-auth-puzzle/bun_tests/puzzle-sdk/node_modules/@stellar/js-xdr/lib/xdr.js:1730:95)
at /Users/tylervanderhoeven/Desktop/check-auth-puzzle/bun_tests/puzzle-sdk/node_modules/@stellar/stellar-sdk/lib/contract/assembled_transaction.js:248:59
at map (:1:21)
at /Users/tylervanderhoeven/Desktop/check-auth-puzzle/bun_tests/puzzle-sdk/node_modules/@stellar/stellar-sdk/lib/contract/assembled_transaction.js:247:31
at _callee6$ (/Users/tylervanderhoeven/Desktop/check-auth-puzzle/bun_tests/puzzle-sdk/node_modules/@stellar/stellar-sdk/lib/contract/assembled_transaction.js:280:40)
at tryCatch (/Users/tylervanderhoeven/Desktop/check-auth-puzzle/bun_tests/puzzle-sdk/node_modules/@stellar/stellar-sdk/lib/contract/assembled_transaction.js:33:911)
at /Users/tylervanderhoeven/Desktop/check-auth-puzzle/bun_tests/puzzle-sdk/node_modules/@stellar/stellar-sdk/lib/contract/assembled_transaction.js:33:2859
at /Users/tylervanderhoeven/Desktop/check-auth-puzzle/bun_tests/puzzle-sdk/node_modules/@stellar/stellar-sdk/lib/contract/assembled_transaction.js:33:1545
at asyncGeneratorStep (/Users/tylervanderhoeven/Desktop/check-auth-puzzle/bun_tests/puzzle-sdk/node_modules/@stellar/stellar-sdk/lib/contract/assembled_transaction.js:40:66)
at _next (/Users/tylervanderhoeven/Desktop/check-auth-puzzle/bun_tests/puzzle-sdk/node_modules/@stellar/stellar-sdk/lib/contract/assembled_transaction.js:41:163)
Bun v1.1.8 (macOS arm64)
@kalepail do you have a test repository I can clone to experience this error? I'll try to reproduce with my own signAuthEntries use-case but it would help to see the original.
What version are you using?
CLI
TS bindings and base
js-sdk
library are both using:What did you do?
Attempting to sign auth entries using the
signAuthEntries
method of the TS bindings.What did you expect to see?
No errors.
What did you see instead?
Here's a Bun JS TS file for the error.