walletless-arcade-example icon indicating copy to clipboard operation
walletless-arcade-example copied to clipboard

[BUG] Blocto multi-sign HC txn errors

Open sisyphusSmiling opened this issue 2 years ago • 1 comments

Current Behavior

Currently, when signing the ADD_AS_CHILD_ACCOUNT transaction upon linking a wallet to the RPS game app, the transaction fails with the following error:

[Error Code: 1008] error caused by: 1 error occurred:
	* transaction verification failed: [Error Code: 1006] invalid proposal key: public key 774 on account f086a545ce3c552d does not have a valid signature: [Error Code: 1008] invalid payload signature: public key 3 on account 4a1ac2e3ab13b469 does not have a valid signature: signature is not valid

Expected Behavior

The multi-sign transaction should complete successfully, linking the app and wallet accounts.

Steps To Reproduce

  1. Onboard to RPS Game
  2. Play a couple of games until you win a round and have a TicketToken balance
  3. Go to settings > Connect Wallet
  4. Connect your blocto wallet while browser inspection pane open
  5. You'll see a transactions entry flow through in the Network tab, grab the transaction id
  6. Go to f.dnz.dev/TRANSACTION_ID (example here) to find the error above

Environment

- OS:
- Node:
- npm:

What are you currently working on that this is blocking?

No response

sisyphusSmiling avatar Jul 26 '23 17:07 sisyphusSmiling

I confirmed this afternoon that Lilico is functioning end-to-end, so maybe the answer here is to only support Lilico and dev-wallet in both apps? @bthaile what do you think?

sisyphusSmiling avatar Jul 26 '23 22:07 sisyphusSmiling