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
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Currently, the UI can use the contract_call in order to determine gas costs of a call. However, this is not possible when deploying because there is no RPC that allows running a constructor.
Add a rpc contracts_construct(code_hash, input) -> (ExecResult, ConsumedGas) to allow for gas estimation on deploy.
I am not exactly sure how this will look like because this depends on the changes that will happen to instantiation due to code rent. Adding a new RPC before those are makes no sense.
Currently, the UI can use the
contract_call
in order to determine gas costs of a call. However, this is not possible when deploying because there is no RPC that allows running a constructor.Add a rpc
contracts_construct(code_hash, input) -> (ExecResult, ConsumedGas)
to allow for gas estimation on deploy.@jacogr
The text was updated successfully, but these errors were encountered: