Context: I need to put some data on vesting pallet. There is no such things as
setVestedStorage, so I need to use
api.tx.system.storage for the complete form) from the polkadotjs API
The problem is that I can't find ANY documentation on this function, the only thing i know is it's interface:
setStorage(Vec<Bytes, Bytes>), and that the first bytes parameter are the "old bytes", and the second the "new bytes" (according to the only appearance of
setStorage in substrate github repo), but that's all.
How do I get the old bytes ? How do I get the new bytes ? Especially as I use the function in a js script. How am I supposed to call this function ? Do I have to call it multiple times if I have an enormous amount of data (200k entries), or can I call it a single time ?