use-ink / contracts-ui

Web application for deploying wasm smart contracts on Substrate chains that include the FRAME contracts pallet
https://contracts-ui.substrate.io/
GNU General Public License v3.0
62 stars 47 forks source link

Cannot handle tx with instant finalization dev node #396

Closed shunsukew closed 1 year ago

shunsukew commented 1 year ago

Describe the bug When interacting with local development node with instant finalization feature, UI cannot handle transactions (although I don't think it's a bug). It will permanently show processing notification as I put the image below while the transaction itself is included in a block and finalized.

Screen Shot 2023-01-19 at 14 51 34

To Reproduce Steps to reproduce the behavior:

  1. Download swanky-node https://github.com/AstarNetwork/swanky-node
  2. Deploy arbitrary contracts using contracts-ui https://contracts-ui.substrate.io/

Expected behavior

Desktop (please complete the following information):

Environment (please complete the following information where it makes sense):

Additional context Right now, instant finalization is supported by swanky-node, but I assume other local dev chains substrate-contract-node can support it in case there're demands. This is possible just by changing arg here to true. Some developers needs finality for UI development purpose, it would be great to support both no-finalization and local node with finality.