delvtech / agent0

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

setup alchemy websocket mvp #1656

Closed dpaiton closed 3 months ago

dpaiton commented 3 months ago

Turns out that mainnet invariant testing represents the largest amount of usage. We talked about switching to a sub model instead of querying every block. In short, we’d subscribe to these events:

In addition, we would randomly check the state 1/hr or so to run the invariant tests

dpaiton commented 3 months ago

MVP in https://github.com/delvtech/agent0/pull/1662