delvtech / agent0

Analysis & simulation repo for Delv
https://agent0.readthedocs.io/en/latest/
Apache License 2.0
52 stars 21 forks source link

Load Hyperdrive pool from any historical state #1410

Closed dpaiton closed 5 months ago

dpaiton commented 6 months ago

Unsure if this is better or worse than just forking at a block. But it might be useful to grab all events & deploy anvil + hyperdrive with initial config and then use chainsync to aggregate & replay all trades.

dpaiton commented 5 months ago

This is not required because we can do forking now. @slundqui is going to verify that forking allows us to get all events then close this issue.

slundqui commented 5 months ago

Verified, forking allows us to query events.