Closed kantorcodes closed 23 hours ago
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
π‘ | Statements | 77.1% (+0.81% πΌ) |
478/620 |
π‘ | Branches | 63.08% (+0.47% πΌ) |
82/130 |
π‘ | Functions | 77.03% (+0.64% πΌ) |
114/148 |
π‘ | Lines | 78.26% (+0.79% πΌ) |
450/575 |
115 tests passing in 11 suites.
Report generated by π§ͺjest coverage report action from 45e61a6e396c9616e234751ebeb1aeabc4664f09
Cause I ain't part of the wallet crew, and got distracted.
Thanks for adding your feedback :)
Description:
We discovered that certain transactions e.g.
AccountCreateTransactions
with a threshold key would fail to return a receipt whenexecuteWithSigner
was called on the transaction.Under the hood,
call
was being executed in the DAppSigner and attempting to run the query through the wallet. Because these queries are free, we should utilizegetReceipt
instead to ensure consistency and reliability for these complex transactions.Additionally, we should avoid guessing and running both a query and transaction when
call
is used by the Hedera SDK. This would return the following incorrect errorRelated issue(s):
Fixes https://github.com/hashgraph/hedera-wallet-connect/issues/337
Notes for reviewer:
dev:react-demo
and running the newest example for creating a multi signature account at the bottom of the demo. The receipt will return instantly instead of hanging.Checklist