Skip to content

Leo Wallet returns "An unknown error occured" for register_user on mainnetbeta (adapter + raw provider paths) #35

@Skunkchain

Description

@Skunkchain

Summary

In a browser app, Leo Wallet fails to submit a transaction for:

  • program: hyp_privacy_hub_usdc_v2.aleo
  • function: register_user
  • network/chainId tested: mainnetbeta and mainnet

This fails through both:

  1. official @demox-labs/aleo-wallet-adapter-leo (requestExecution + requestTransaction)
  2. direct window.leoWallet provider calls (requestExecution + requestTransaction)

All paths return:
An unknown error occured. Please try again or report it

Environment

  • Leo Wallet extension: (please fill exact version)
  • Browser: (please fill)
  • OS: macOS (please fill exact version)
  • App stack:
    • @demox-labs/aleo-wallet-adapter-base@0.0.23
    • @demox-labs/aleo-wallet-adapter-leo@0.0.25
  • Function: register_user
  • Inputs:
    • u32 origin domain (e.g. 8453u32)
    • [u8;32] origin address bytes
  • Fee tested:
    • fixed 1_000_000 microcredits
    • adapter/provider variants with feePrivate true/false

Steps to Reproduce

  1. Connect Leo wallet with ON_CHAIN_HISTORY / AUTO_DECRYPT and program scope
  2. Build AleoTransaction:
    • address = connected leo public key
    • chainId = mainnetbeta (also tried mainnet)
    • transitions = [{ program, functionName: "register_user", inputs }]
    • fee set (1_000_000 tested), feePrivate true/false
  3. Call requestExecution(tx).
  4. If it fails, call requestTransaction(tx).

Expected

Transaction prompt/sign + tx id returned.

Actual

Both calls fail with:
An unknown error occured. Please try again or report it

Additional Notes

  • Balance is sufficient on wallet.
  • Same behavior across multiple payload/input variants:
    • object payloads
    • positional argument styles
    • [u8;32] as literal string and as raw JS array
  • This appears to be extension-side rejection before broadcast, with no actionable error detail surfaced to app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions