teloscan icon indicating copy to clipboard operation
teloscan copied to clipboard

"Internal JSON-RPC error" with certain contract calls

Open Dewald928 opened this issue 3 years ago • 2 comments

Overview

when calling the create action on the following contract, https://testnet.teloscan.io/address/0x6F174B0a2c6B6807CcCc18b6643dbf755E31400c/#contract , there is an RPC error.

Blocked by #104

Steps to reproduce

  1. Go to 'testnet teloscan'
  2. Input the information as indicated in the screenshot below
  3. Click the Write button, sign the transaction.
  4. See the error image

Current behavior

Method call fails with an RPC error

Expected behavior

The transaction should be successful.

Note: issue may be related to parameter type handing, as contract has args of type uint8 . see #104

Dewald928 avatar Jun 30 '22 04:06 Dewald928

@EJSG is this still happening?

karynemayer avatar Jan 26 '23 18:01 karynemayer

@karynemayer it seems there is a different error message now. metamask error code is -32603, which I was able to find this info about: https://community.metamask.io/t/error-32603-just-started-today-on-polygon/17778

which suggests there is an issue with how the smart contract is written. further investigation required.

ezra-sg avatar Jan 27 '23 17:01 ezra-sg