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
There's a problem with non-mutating messages in Polkadot. The problem is that on the contracts pallet (runtime) level this isn't enforced, so users have to trust the client to not submit an extrinsic for messages considered immutable.
There are "read only" messages in contracts. They'll have the mutates flag set to false in the metadata.
Solution
For those messages, the -x/--execute should lead to an error instead.
There's a problem with non-mutating messages in Polkadot. The problem is that on the contracts pallet (runtime) level this isn't enforced, so users have to trust the client to not submit an extrinsic for messages considered immutable.
There are "read only" messages in contracts. They'll have the
mutates
flag set to false in the metadata.Solution
For those messages, the
-x/--execute
should lead to an error instead.See related comment
The text was updated successfully, but these errors were encountered: