delvtech / agent0

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

Cross-platform tests: initialize_market #398

Closed dpaiton closed 1 year ago

dpaiton commented 1 year ago

Completed by #505 , although there is a lingering TODO:

 # TODO: figure out why these are different!
    # self.assertAlmostEqual(market_state_sol.bond_reserves, float(hyperdrive_sim.market_state.bond_reserves))
    # self.assertAlmostEqual(market_state_sol.lp_total_supply, float(hyperdrive_sim.market_state.lp_total_supply))

Made a new issue #563