CosmWasm / wasmd

Basic cosmos-sdk app with web assembly smart contracts
Other
364 stars 395 forks source link

Fix misleading error message for duplicate address on instantiate2 #1816

Closed webmaster128 closed 6 months ago

webmaster128 commented 6 months ago

Chaning the label does not help avoiding the collision. Only creator, checksum and salt is typically used.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.01%. Comparing base (9e44af1) to head (8e184df).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/CosmWasm/wasmd/pull/1816/graphs/tree.svg?width=650&height=150&src=pr&token=rxXgFH3QTf&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CosmWasm)](https://app.codecov.io/gh/CosmWasm/wasmd/pull/1816?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CosmWasm) ```diff @@ Coverage Diff @@ ## main #1816 +/- ## ======================================= Coverage 55.01% 55.01% ======================================= Files 64 64 Lines 9663 9663 ======================================= Hits 5316 5316 Misses 3821 3821 Partials 526 526 ``` | [Files](https://app.codecov.io/gh/CosmWasm/wasmd/pull/1816?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CosmWasm) | Coverage Δ | | |---|---|---| | [x/wasm/keeper/keeper.go](https://app.codecov.io/gh/CosmWasm/wasmd/pull/1816?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CosmWasm#diff-eC93YXNtL2tlZXBlci9rZWVwZXIuZ28=) | `80.02% <100.00%> (ø)` | |