Questions tagged [batch]
The batch tag has no usage guidance.
10
questions
2
votes
0
answers
25
views
How to create a preimage which is the batch of other preimages?
I am wondering whether, and if so how, it is possible to submit a preimage which batches over other preimages, e.g.
const pre1= '0x09401eb25e90bf587fbde8d2a9be8af5ac0f3187f02f4e9e9f1f178b0314ebe5';
...
2
votes
1
answer
87
views
What is this strange balance transfer that occurs during utility.batch?
I'm putting a single transaction into a batch utility call with zero value. The batch extrinsic is shown below. Each time I submit the batch transaction, a huge value is submitted to an unknown ...
1
vote
1
answer
85
views
How to create a RuntimeCall with custom values and submit it to the utility pallet's batch function?
I have a custom pallet that is tightly coupled to the utility pallet. I am trying to call the batch function to perform a batch of balance transfers. The tests of the utility pallet (that create ...
1
vote
0
answers
31
views
Using original origin's call filter for proxy pallet's proxy
In the proxy pallet's do_proxy function, a newly authenticated origin is constructed from the real account. This is explicitly done.
Is there a particular reason for this?
Can I just use the same ...
0
votes
1
answer
14
views
Unexpected Events from parainherit(enter) extrinsic
Can anyone explain why this module call parainherent(enter) ended up emitting a BatchCompleted and a couple ItemCompleted events? I'm unable to find any similar cases in westend.
1
vote
1
answer
32
views
batched transactions are not all executed, but no error are thrown
I am doing a balance upload (copying and modifying the balances from a chain to another)
I have a json file containing all i need, i compute the new balance, and i batch calls doing a setBalance().
I ...
0
votes
1
answer
43
views
Batching limitations
I am trying to understand the constrains in the batching function.
fn batched_calls_limit() -> u32 {
let allocator_limit = sp_core::MAX_POSSIBLE_ALLOCATION;
let call_size = ((sp_std::mem::...
2
votes
2
answers
42
views
Best way to make user sign N number of transactions
In a dApp, I want the users to be able to do N number of transactions.
Those N transactions will be batched in a batchAll call. If N exceeds the maximum benchmarked amount of transactions in one batch,...
1
vote
1
answer
103
views
What is the best way to batch ~20 000 calls to a chain?
What should i do between these two options:
utility.batch()
I can batch multiple calls into one call, so it avoid making too many calls, but i'm afraid this will exceed the size of the block if i ...
3
votes
1
answer
64
views
Is it possible to create multiple anonymous proxies in the same transaction?
I guess I have to make use of the utility.batch call but I am not sure how to pass the different anonymous proxy TXs in the batch call.
I am also not sure of the use of the variable index in the ...