rainshowerLabs/blutgang

[BUG] Clear cache not working

Closed this issue · 0 comments

Describe the bug
The --clear flag doesn't appear to clear the cache

To Reproduce
Steps to reproduce the behavior:

  1. Run blutgang with 'blutgang
  2. Query data with sothis, for example sothis --mode fast_track --source_rpc http://127.0.0.1:3000 --contract_address 0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7 --storage_slot 80084422859880547211683076133703299733277748156566366325829078699459944778999 --origin_block 16790000 --terminal_block 16810000 --query_interval 100 --filename tripool_usdc.json
  3. Run blutgang --clear
  4. Run the same sothis command, observe instant responses from the cache

Expected behavior
The RPC servers in the config should be queried because the cache is cleared.