@@ -6,6 +6,7 @@ Changes:
|
||||
|
||||
- Allow for type decoding of nested fixed vectors, tuples and structs
|
||||
- Added `childstate_getKeysPaged` RPC
|
||||
- Add `XcmOrigin` mapping for `OriginCaller` generation
|
||||
- Align static metadata with latest Substrate
|
||||
- Adjust error message for contracts V3 (extrinsic from runtime)
|
||||
- Correct module optionality in `api.derive.balances.account`
|
||||
|
||||
@@ -13,10 +13,13 @@ import { stringCamelCase } from '@polkadot/util';
|
||||
// in a pure Substrate/Polkadot implementation, any other custom origins won't be handled at all
|
||||
const KNOWN_ORIGINS: Record<string, string> = {
|
||||
/* eslint-disable sort-keys */
|
||||
// Substrate/Polkadot
|
||||
// Substrate
|
||||
Council: 'CollectiveOrigin',
|
||||
System: 'SystemOrigin',
|
||||
TechnicalCommittee: 'CollectiveOrigin',
|
||||
// Polkadot
|
||||
Xcm: 'XcmOrigin',
|
||||
XcmPallet: 'XcmOrigin',
|
||||
// Acala
|
||||
Authority: 'AuthorityOrigin',
|
||||
GeneralCouncil: 'CollectiveOrigin'
|
||||
|
||||
@@ -22,6 +22,11 @@ const xcm = {
|
||||
XcmHrmpChannelAccepted: { recipient: 'Compact<u32>' },
|
||||
XcmHrmpChannelClosing: { initiator: 'Compact<u32>', sender: 'Compact<u32>', recipient: 'Compact<u32>' },
|
||||
XcmRelayedFrom: { who: 'MultiLocation', message: 'Xcm' },
|
||||
XcmOrigin: {
|
||||
_enum: {
|
||||
Xcm: 'MultiLocation'
|
||||
}
|
||||
},
|
||||
Xcm: {
|
||||
_enum: {
|
||||
WithdrawAsset: 'XcmWithdrawAsset',
|
||||
|
||||
Reference in New Issue
Block a user