shardeum / bug-reporting

59 stars 33 forks source link

RPC Multicall Error ```{"code": 500,"message": "Busy or error"}``` #5

Closed MarcusWentz closed 1 year ago

MarcusWentz commented 1 year ago

Overview

Errors when trying read smart contract data from RPC in a mutlicall contract on Liberty 2.0.

Context

Seen in Remix IDE as:

call to btcDivEth.flipMe errored: Internal JSON-RPC error.
{
  "code": 500,
  "message": "Busy or error"
}

and seen in web3.js:

Error: Returned error: Busy or error

Resources

Contract:

https://github.com/Shardeum/SupraOracles/blob/main/src/PricefeedFlipMe.sol

web3.js script:

https://github.com/Shardeum/SupraOracles/blob/main/scripts/readPricefeedFlipMe.js

MarcusWentz commented 1 year ago

Closing this issue since the contracts have been redeployed, and the RPC is stable now.