Skip to main content
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 ...
rob's user avatar
  • 2,126
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 ...
mustermeiszer's user avatar
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 ...
Shawn Tabrizi's user avatar
  • 16.1k
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 ...
forgetso's user avatar
  • 1,514
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 ...
Oliver Tale-Yazdi's user avatar
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 ...
Shawn Tabrizi's user avatar
  • 16.1k
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 ...
Simson's user avatar
  • 1,201

Only top scored, non community-wiki answers of a minimum length are eligible