TrueBlocks / trueblocks-core

The main repository for the TrueBlocks system
https://trueblocks.io
GNU General Public License v3.0
1.05k stars 198 forks source link

chifra monitors --decache first freshens the address - doesn't work for large addresses #3721

Closed tjayrush closed 4 months ago

tjayrush commented 4 months ago

Run this command after removing all monitors:

chifra monitors --decache 0x000001f568875f378bf6d170b790967fe429c81a 0x001d14804b399c6ef80e64576f657660804fec0b 0x007f7f58d3eb5b7510a301ecc749fc1fcddbe14d 0x05a56e2d52c817161883f50c441c3228cfe54d9f 0x08166f02313feae18bb044e7877c808b55b5bf58 0x111111517e4929d3dcbdfa7cce55d30d4b6bc4d6 0x2910543af39aba0cd09dbb2d50200b3e800a63d2 0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f 0x846a9cb5593483b59bb386f5a878fbb2a0d1d8dc 0x9531c059098e3d194ff87febb587ab07b30b1306 0xd714dd60e22bbb1cbafd0e40de5cfa7bbdd3f3c8 0xf503017d7baf7fbc0fff7492b751025c6a78179b 0xff9387a9aae1f5daab1cd8eb0e92113ea9d19ca3

You'll notice that each address is first "freshened" (that is, brought up to the end of the chain). There's no reason to do this.

This happens because we try to use the --decache tool for chifra export under the covers. This is good because it removes all types of information that may be cached relative to this address (txs, blocks, traces, abis, monitors, etc., etc.)

It's bad because chifra export always freshens.

tjayrush commented 4 months ago

Fixed