I am trying to use PALLET_ID
const PALLET_ID: PalletId = PalletId(*b"ex/cfund");
fn fund_account_id(index: FundIndex) -> T::AccountId {
PALLET_ID.into_sub_account(index)
}
But its giving error:
method not found in `frame_support::PalletId`
Docs: Link
All of the methods are inaccessible and giving error.
Version:
git = 'https://github.com/paritytech/substrate.git'
tag = 'monthly-2021-10'
version = '4.0.0-dev'