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

Incorrect contract address in dry run result #382

Closed statictype closed 5 months ago

statictype commented 1 year ago

When running an instantiate dry-run with salt, the contract address returned in the dry run doesn't match the actual contract address so the DuplicateContract error is not predicted. When no salt is used, the address is correct. This bug is only happening with polkadot.js, cargo-contract works fine