Troubleshooting
Overview
This page provides lists known issues and error codes that you may encounter when working with Mavis ID.
Issues and solutions
Gas sponsorship compatibility
Issue
External indexers using go-ethereum may encounter issues with the new Mavis ID sponsored transaction type 0x64
(100
), as it's not supported by default in go-ethereum.
Solution
To resolve this issue, use the go-ethereum version from the Ronin protocol instead of the default version by adding the following line to your go.mod
file:
replace github.com/ethereum/go-ethereum => github.com/axieinfinity/ronin v1.10.4-0.20240701101813-265bf110a20e
SDK error codes
Error categories
- User errors: 1xxx
- Logic errors: 2xxx
- Server errors: 3xxx
- Chain errors: 4xxx
1xxx - user errors
Error code | Name | Message |
---|---|---|
1000 | WALLET_USER_CANCEL | User rejected |
1001 | WALLET_SIGN_NO_PARAMS | Missing the message or typed data to sign |
1003 | WALLET_INVALID_PAYLOAD | Invalid payload |
1004 | AUTHORIZE_INVALID_PAYLOAD | Invalid payload |
2xxx - logic errors
Error code | Name | Message |
---|---|---|
2000 | WALLET_UNKNOWN_ERR | Unknown error |
2001 | WALLET_NO_ADDRESS_ERR | Can't get user address |
3xxx - server errors
Error code | Name | Message |
---|---|---|
3000 | WALLET_CANT_CREATE | Can't create the wallet |
4xxx - chain errors
Error code | Name | Message |
---|---|---|
4000 | WALLET_CANT_SIMULATE | Can't simulate contract request |
Was this helpful?
Happy React is loading...