You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tracked down the error in the web3 gateway logs and Sapphire runtime complains:
{"block_or_hash":{"blockNumber":"latest"},"caller":"revert_errors.go:103","err":"invalid signed simulate call query: signer != caller","level":"debug","method":"eth_call","module":"eth_rpc","msg":"failed to execute SimulateCall","ts":"2024-06-03T12:08:07.840799449Z"}
Tested using sapphire-localnet 2024-05-28-git37b7166 (oasis-core: 24.0-gitfb49717, sapphire-paratime: 0.7.3-testnet, oasis-web3-gateway: 5.1.0). Running it on Sapphire Testnet also fails.
The text was updated successfully, but these errors were encountered:
If you want to switch the signer of a wrapped object, for example:
or more explicitly:
(see https://github.com/oasisprotocol/demo-quiz/blob/3c6c15038f75fc96bf706a7a0d5ecdbca3b6f46d/backend/test/Quiz.ts#L87-L89 for live example).
Then when calling a signed view call
await myContract.foo();
, the query fails:I tracked down the error in the web3 gateway logs and Sapphire runtime complains:
Tested using
sapphire-localnet 2024-05-28-git37b7166 (oasis-core: 24.0-gitfb49717, sapphire-paratime: 0.7.3-testnet, oasis-web3-gateway: 5.1.0)
. Running it on Sapphire Testnet also fails.The text was updated successfully, but these errors were encountered: