Add
payable
constructor support to IRAdd payable associated type to
DispatchableConstructorInfo
Allow constructors to be payable in dispatcher codegen
Add UI tests
Remove test related to constructors being implicitly payable
Add some failing UI tests
Deny payments on
deploy
if there are no payable constructorsAppease Clippy
Deny payments when executing constructors
s/message/constructor/g
RustFmt
Address
unnecessary_to_owned
lint
Reference: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessarytoowned
- Address
needless_borrow
lint
Reference: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Make a note about this PR in the RELEASES doc
Allow
clippy::nonminimal_bool
fordeploy()
Remove
any_payable_*
checks from individual Config creation
It looks like this was meant to be part of an optimization, however it
doesn't look like this is necessary anymore. If no constructor or
message is payable we already do early deny payment checks in deploy()
and call()
respectively.
- Add UI test for multiple non-payable constructors