Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2884

Questions about Runtime Modules built with the FRAME developer SDK.

3 votes
2 answers
191 views

How to see account id origin when receiving an XCM message. Currently the origin contains th...

Currently to process an XCM message in my own pallet call, I inherit the config of my pallet from frame_system + pallet_xcm to have a representable origin: #[pallet::config] pub trait Config: frame_system …
Juan Ignacio Rios's user avatar
3 votes
0 answers
35 views

Why is the index of a pallet a u32(usize) instead of u8 when queried?

I'm implementing a flow where I first ask what index a pallet has with the QueryPallet xcm instruction, and then construct a call to use with Transact. … I see that to construct manually an encoded call to place inside Transact I need to put as the first byte, the pallet index, and second byte the call index. …
Juan Ignacio Rios's user avatar
2 votes
2 answers
27 views

What are the implications of changing the call index of an extrinsic on a runtime upgrade?

If I change the number x in #[pallet::call_index(x)] on a runtime upgrade, what will that impact? …
Juan Ignacio Rios's user avatar
2 votes
1 answer
121 views

Are users only allowed to own 16 assets with pallet-assets?

And if the asset is not set as sufficient, then it expects to be able to increase the consumers substrate > frame > assets > src > functions.rs > impl Pallet > can_increase() pub(super) fn can_increase … frame_system::Pallet::<T>::can_inc_consumer(who) { frame_system::Pallet::<T>::dec_consumers(who); return Err(Error::<T, I>::UnavailableConsumer.into()) } …
Juan Ignacio Rios's user avatar