Closed MarcusWentz closed 1 year ago
Errors when trying read smart contract data from RPC in a mutlicall contract on Liberty 2.0.
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
Contract:
https://github.com/Shardeum/SupraOracles/blob/main/src/PricefeedFlipMe.sol
web3.js script:
https://github.com/Shardeum/SupraOracles/blob/main/scripts/readPricefeedFlipMe.js
Closing this issue since the contracts have been redeployed, and the RPC is stable now.
Overview
Errors when trying read smart contract data from RPC in a mutlicall contract on Liberty 2.0.
Context
Seen in Remix IDE as:
and seen in web3.js:
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