Phala-Network / khala-parachain

Khala parachain
Apache License 2.0
27 stars 19 forks source link

Remove the use of `Call::__Ignore` in the runtime base call filter #271

Closed h4x3rotab closed 1 year ago

h4x3rotab commented 1 year ago

__Ignore exists for some internal reason. However it's never constructed in the code (its parameter has a "never" type). Therefore we can safely ignore this variant when defining the base call filter. In Polkadot codebase, there's no __Ignore variant mentioned in any match clause as well.