Troubleshooting
Overview
This page provides lists known issues and error codes that you may encounter when working with Ronin Waypoint
Issues and solutions
Gas sponsorship compatibility
Issue
External indexers using go-ethereum may encounter issues with the Ronin Waypoint 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
Category | Description |
---|---|
User errors | Errors caused by user actions, such as rejecting a transaction. |
Logic errors | Errors caused by logical issues in the code. |
Server errors | Errors caused by server-side issues. |
Chain errors | Errors caused by issues with the blockchain. |
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 |
Logic errors
Error code | Name | Message |
---|---|---|
2000 | WALLET_UNKNOWN_ERR | Unknown error |
2001 | WALLET_NO_ADDRESS_ERR | Can't get user address |
Server errors
Error code | Name | Message |
---|---|---|
3000 | WALLET_CANT_CREATE | Can't create the wallet |
Chain errors
Error code | Name | Message |
---|---|---|
4000 | WALLET_CANT_SIMULATE | Can't simulate contract request |
Was this helpful?
Happy React is loading...