diff --git a/packages/types/src/codec/create/sanitize.ts b/packages/types/src/codec/create/sanitize.ts index b2c5162e8a..28d907cb10 100644 --- a/packages/types/src/codec/create/sanitize.ts +++ b/packages/types/src/codec/create/sanitize.ts @@ -46,6 +46,7 @@ const mappings: Mapper[] = [ _alias('exec::StorageKey', 'ContractStorageKey'), // Phantom _alias('rstd::marker::PhantomData', 'PhantomData'), + _alias('sp_std::marker::PhantomData', 'PhantomData'), // flattens tuples with one value, `(AccountId)` -> `AccountId` _flattenSingleTuple(), // converts ::Type to Type, >::Proposal -> ::Proposal