You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before use-ink/ink#1065 constructors in ink! were payable (that is, they accepted a value) by default. For reasons described in that PR this is no longer the default behaviour.
Now, constructors will need to opt into accepting a value through the use of the already existing #[ink(payable)] attribute.
The text was updated successfully, but these errors were encountered:
Before use-ink/ink#1065 constructors in ink! were
payable
(that is, they accepted avalue
) by default. For reasons described in that PR this is no longer the default behaviour.Now, constructors will need to opt into accepting a
value
through the use of the already existing#[ink(payable)]
attribute.The text was updated successfully, but these errors were encountered: