Skip to main content

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

CategoryDescription
User errorsErrors caused by user actions, such as rejecting a transaction.
Logic errorsErrors caused by logical issues in the code.
Server errorsErrors caused by server-side issues.
Chain errorsErrors caused by issues with the blockchain.

User errors

Error codeNameMessage
1000WALLET_USER_CANCELUser rejected
1001WALLET_SIGN_NO_PARAMSMissing the message or typed data to sign
1003WALLET_INVALID_PAYLOADInvalid payload
1004AUTHORIZE_INVALID_PAYLOADInvalid payload

Logic errors

Error codeNameMessage
2000WALLET_UNKNOWN_ERRUnknown error
2001WALLET_NO_ADDRESS_ERRCan't get user address

Server errors

Error codeNameMessage
3000WALLET_CANT_CREATECan't create the wallet

Chain errors

Error codeNameMessage
4000WALLET_CANT_SIMULATECan't simulate contract request