cowprotocol / dune-bridge

Other
4 stars 3 forks source link

[Chicken & Egg] BlockRange.block_from #42

Open bh2smith opened 1 year ago

bh2smith commented 1 year ago

Currently we get the "block_from", but opening a file in our own persisted storage, however this value can also be obtained by querying the table in dune itself. The table does not yet exist, but once it does we could experiment with fetching this value from one, or both places...

https://github.com/cowprotocol/dune-bridge/blob/a53f3cdff278e4d41fbd4c020f61592ad0854fcd/pysrc/fetch/dune.py#L94-L104