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:
- official
@demox-labs/aleo-wallet-adapter-leo (requestExecution + requestTransaction)
- 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
- Connect Leo wallet with
ON_CHAIN_HISTORY / AUTO_DECRYPT and program scope
- 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
- Call
requestExecution(tx).
- 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.
Summary
In a browser app, Leo Wallet fails to submit a transaction for:
hyp_privacy_hub_usdc_v2.aleoregister_usermainnetbetaandmainnetThis fails through both:
@demox-labs/aleo-wallet-adapter-leo(requestExecution+requestTransaction)window.leoWalletprovider calls (requestExecution+requestTransaction)All paths return:
An unknown error occured. Please try again or report itEnvironment
@demox-labs/aleo-wallet-adapter-base@0.0.23@demox-labs/aleo-wallet-adapter-leo@0.0.25register_useru32origin domain (e.g.8453u32)[u8;32]origin address bytesfeePrivatetrue/falseSteps to Reproduce
ON_CHAIN_HISTORY/AUTO_DECRYPTand program scopemainnetbeta(also triedmainnet)requestExecution(tx).requestTransaction(tx).Expected
Transaction prompt/sign + tx id returned.
Actual
Both calls fail with:
An unknown error occured. Please try again or report itAdditional Notes
[u8;32]as literal string and as raw JS array