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
We have some errors related to code execution.
Example: rpc-server first gets the code from the database and compiles it, and only then runs wasm for execution.
We will know that either the code or the account is missing before we run the wasm and the error will look like INVALID_ACCOUNT.
While Near RPC asks for code during the execution of the wasm and breaks in the process and the error will look like CompilationError(CodeDoesNotExist()).
Another error is related to the gas limit.
On the rpc-server side, the maximum gas limit is set.
With Near RPC we get HostError(GasLimitExceeded) while with RR we get: HostError(GuestPanic { panic_msg: "The collection is an inconsistent state. Did previous smart contract execution terminate unexpectedly?" }).
The text was updated successfully, but these errors were encountered:
kobayurii
changed the title
(rpc-server): Query_view_state - Error messages mismatch
(rpc-server): Query_function_call - Error messages mismatch
Feb 26, 2024
We have some errors related to code execution.
Example: rpc-server first gets the code from the database and compiles it, and only then runs wasm for execution.
We will know that either the code or the account is missing before we run the wasm and the error will look like
INVALID_ACCOUNT
.While Near RPC asks for code during the execution of the wasm and breaks in the process and the error will look like
CompilationError(CodeDoesNotExist())
.Another error is related to the gas limit.
On the rpc-server side, the maximum gas limit is set.
With Near RPC we get
HostError(GasLimitExceeded)
while with RR we get:HostError(GuestPanic { panic_msg: "The collection is an inconsistent state. Did previous smart contract execution terminate unexpectedly?" })
.The text was updated successfully, but these errors were encountered: