Open evanorti opened 4 days ago
This isn't quite right.
For both test and local, I just deployed some wasm components using "foobar" as a task address as well as a task address that differed from a valid task address by one character.
Both cases result in a success (should definitely error for arbitrary strings, can also check separately if a valid address form actually exists or not and supply a different error in that case). However, neither of these actions break anything. Wasmatic continues to function properly for apps deployed with valid task address in both cases.
What happens now: If a user uploads a new WASM contract and specifies a random address (not the correct contract address), things break.
What should happen: if a user uploads a new WASM contract and specifies a random address, an error should be displayed and things shouldn't break.
This should be tested against a random string and an invalid address (not the correct contract) to ensure that the dev is alerted of an error without breaking things.