pendulum-chain / wasm-deploy

A tool to deploy an ensemble of wasm smart contracts to Pendulum
GNU General Public License v3.0
2 stars 1 forks source link

Bug: don't display a reverted message call as success #41

Closed TorstenStueber closed 6 months ago

TorstenStueber commented 6 months ago

A message call to a contract can be successful or it can fail, either through a generic error, a panic or a revert.

Right now wasm-deploy indicates that a message call is successful even when it actually reverted or panicked (an error is only shown in the case that a generic error happened). This is confusing.

(This bug has been identified in this research: https://github.com/pendulum-chain/tasks/issues/260)