7
votes
Accepted
Is it possible to create multiple anonymous proxies in the same transaction?
The reason for the index in the anonymous call in pallet-proxy is exactly for the purposes of disambiguating multiple anonymous proxies in a single transaction.
It's because of the way that the ...
3
votes
What is the best way to batch ~20 000 calls to a chain?
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 put all of my 20 000 transactions, and i would end up with ...
3
votes
Accepted
Best way to make user sign N number of transactions
If your batch call must be split over multiple extrinsics, there is really not a way to avoid the user having to sign multiple calls unless you have the private key, and do a non-interactive message ...
2
votes
What is this strange balance transfer that occurs during utility.batch?
Edited after feedback from @German Nikolishin below.
It seems this transfer is the cost associated with storing data in the contract. The value inside the transfer is sent to what I presume is the ...
1
vote
batched transactions are not all executed, but no error are thrown
Utility::batch does not return the error but emits a BatchInterrupted event.
Take a look at the related function batch_all which returns the error.
Otherwise there is force_batch which does not ...
1
vote
Batching limitations
Within the Wasm environment, there is a limited memory size available and accessible by the memory allocator.
This code attempts to calculate the safe limits of nested calls which would not cause ...
1
vote
What is the best way to batch ~20 000 calls to a chain?
Alternative 3: smaller batches.
Figure out how much you are able to fit in a utiliy.batch() call, it depends on the weights of the inner transactions. When I did something similar on my chain I was ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
batch × 13polkadot-js × 4
runtime × 3
extrinsic × 2
proxy × 2
pallet × 1
parachain × 1
storage × 1
api × 1
events × 1
transactions × 1
error × 1
aura × 1
contracts × 1
tight-coupling × 1
origin × 1
generics × 1
polkadot-js-extension × 1
call × 1
pallet-proxy × 1
dev-node × 1
memory × 1
democracy × 1
uniques × 1
host-functions × 1