Open
Description
Once #3788 is ready, we will have the ability to send transactions.
When the index is updated, we check if pinning is on and use state --send
feature to update Unchained Index smart contract.
Questions:
- When and how often do we want to update the smart contract? Updating after a single chunk is written might be wasting ETH on gas fees. Should we have a time based logic, e.g. update every day at 23:59?
- Should we check not only if pinning is on, but if the new chunks and manifest file are pinned?