trueblocks-core icon indicating copy to clipboard operation
trueblocks-core copied to clipboard

chifra scrape - updating the Unchained Index should be automated

Open tjayrush opened this issue 1 year ago • 0 comments

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:

  1. 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?
  2. Should we check not only if pinning is on, but if the new chunks and manifest file are pinned?

tjayrush avatar Jan 17 '24 16:01 tjayrush