Closed TorstenStueber closed 6 months ago
Good question. I didn't try but that is what I assume. After all the contracts pallet does not make a distinction between mutating and non-mutating, this is a purely metadata-related distinction and something designated by the compiler.
When a non-mutating call is executed via RPC, then the RPC handler just calls the normal pallet-contract call function, which is meant to execute during extrinsic execution. So this function does not care about mutating or non-mutating.
Closed #4