pendulum-chain / api-solang

This is the code for the npm package @pendulum-chain/api-solang
0 stars 0 forks source link

Allow to skip dry running for contract deployment #17

Closed TorstenStueber closed 1 month ago

TorstenStueber commented 1 month ago

The message execution functions allow to skip dry running (i.e., to skip executing the call in the RPC node first in order to determine the actual gas usage).

This is not the case for the contract deployment functions: they always dry run first in order to estimate gas.

In certain scenarios it is useful to skip dry running also for contract deployment, e.g., in order to analyze an error that happens during deployment.

TODO