As per https://github.com/paritytech/substrate/pull/7929 Could probably use on-chain detection here as well.