hyperdrive4; improved testing
What's Changed
- improves crash reporting, rollbar support, and exception messages
- improves hyperdrive deploy to rely on pypechain generated objects
- reformats interface API into read_only and read_write versions
- adds ability for an interactive agent to liquidate all trades
- improves testing coverage
- improvements and bugfixes in hyperdrive invariance checks and fuzz tests
- support hyperdrive 0.4.0
PRs
- check postgres status by @wakamex in #1124
- lint with ruff by @wakamex in #1116
- Minor updates on interactive example by @slundqui in #1126
- Docs linting by @slundqui in #1127
- update docstring style guide by @wakamex in #1129
- ensure random trades have successful status in random bot test by @dpaiton in #1131
- add eth config test by @dpaiton in #1133
- update hypertypes by @dpaiton in #1134
- Test speedup and cleanup by @slundqui in #1132
- Removing budget from policy by @slundqui in #1135
- Global rng spawns children rng for plicies by @slundqui in #1137
- agent0 known first party by @wakamex in #1139
- Policy config rework by @slundqui in #1140
- rename hyperdrive to interface by @dpaiton in #1141
- add functions to hyperdrive interface api by @dpaiton in #1142
- Allowing policies in interactive hyperdrive agents by @slundqui in #1143
- make block number optional in get_gov_fees_accrued by @wakamex in #1145
- Load/save snapshots using interactive hyperdrive by @slundqui in #1146
- fix get max short docstring by @wakamex in #1147
- invariant tests by @dpaiton in #1138
- Pool state snapshot test by @slundqui in #1153
- simplifies run_agents; adds ability to bump bot funds by @dpaiton in #1154
- Adjusting path independence script to run by @slundqui in #1150
- Add rollbar logging to fuzzbots. by @sentilesdal in #1152
- Minting from deploy account by @slundqui in #1157
- Adding set variable rate to interactive hyperdrive by @slundqui in #1156
- Updating interactive fuzz scripts to run and assert (some are failing currently) by @slundqui in #1158
- Fixing create checkpoint call in interface by @slundqui in #1159
- moves setup_logging function up a level by @dpaiton in #1160
- add logging to path independence test by @dpaiton in #1161
- regenreate types by @sentilesdal in #1168
- Adding flag to advance time to create intermediate checkpoints as needed by @slundqui in #1163
- rename set_rate to set_variable_rate in the Interface by @dpaiton in #1167
- make preview calls only when necessary for slippage by @wakamex in #1149
- Running data pipeline in a thread for performance in interactive hyperdrive by @slundqui in #1169
- allow private key to be passed to interactive agent by @wakamex in #1144
- Fix up some interactive fuzz tests to unify logging & format by @dpaiton in #1170
- Add close positions past maturity fuzz tests by @sentilesdal in #1162
- Making pool cleanup private in favor of calling chain.cleanup() by @slundqui in #1172
- reorganize interactive fuzz tests to use shared functions by @dpaiton in #1171
- Adding save_state function by @slundqui in #1173
- fuzz profit check bugfix by @dpaiton in #1174
- Add dump state to fuzz tests by @slundqui in #1175
- Automate Interactive Fuzz Tests by @sentilesdal in #1176
- Adding assertion checks to fuzz_long_short by @slundqui in #1177
- Changing checkpoint default by @slundqui in #1178
- Fuzz bot add logs by @slundqui in #1179
- Reworking index bookkeeping for chainsync by @slundqui in #1180
- fuzz command args bugfix & more fuzz logging by @dpaiton in #1182
- Removing debug prints by @slundqui in #1183
- remove old function by @wakamex in #1181
- test interactive get config by @wakamex in #1136
- add interface tests by @wakamex in #1184
- Allow advance time with checkpoints without data pipeline for speedup by @slundqui in #1186
- rename api to interface by @wakamex in #1185
- Fuzz bot invariant checks logging rework by @slundqui in #1187
- Fuzz inv hotfix by @slundqui in #1189
- Adding experimental flag to chain to allow for slow but won't crash mode by @slundqui in #1190
- add optional command line arg to run_all_fuzz_tests by @dpaiton in #1188
- increment project version by @dpaiton in #1191
- create hyperdrive interface fixture by @wakamex in #1192
- move chain fixture to agent0.test_fixtures by @wakamex in #1193
- add retry_utils test by @wakamex in #1194
- Non-experimental mode runs data pipeline synchronously by @slundqui in #1195
- Logging failed variables in fuzz tests to rollbar by @slundqui in #1197
- add liquidate to interactive hyperdrive by @wakamex in #1198
- add transaction unit tests by @dpaiton in #1196
- add liquidate test by @wakamex in #1200
- econ experiment by @wakamex in #1148
- Fixing exception message and adding todos by @slundqui in #1202
- Adjusting default timeout to account for block mining mode by @slundqui in #1203
- Removing invariance checks that shouldn't be checked, and being explicit about checking effective share reserves by @slundqui in #1205
- Minimum txn amount check and test by @slundqui in #1204
- Path independence tests turns off fees by @slundqui in #1208
- Adding assertions to long_short_maturity_values by @slundqui in #1209
- add minimum_transaction_amount to get_liquidation_trades by @wakamex in #1210
- Custom exceptions subclasses from Exception instead of BaseException by @slundqui in #1211
- Better rollbar logging by @slundqui in #1212
- Adding checkpoint_id to checkpoint info field for crash reporting by @slundqui in #1215
- regenerate hypertypes by @sentilesdal in #1217
- Explicit checks of checkpoint duration and position durations by @slundqui in #1219
- split hyperdrive interface into read & readwrite versions by @dpaiton in #1220
- Adds interface endpoints for building Trade objects by @dpaiton in #1221
- Randomize liquidation by @slundqui in #1222
- Use pypechain's new deploy method by @sentilesdal in #1218
- Setting fixedpointmath requirements to be from pypi by @slundqui in #1224
- additional interactive hyperdrive tests by @wakamex in #1223
- New best effort for getting block number on crash by @slundqui in #1227
- update for latest hyperdrive and hyperdrivepy by @dpaiton in #1214
- update version to 0.11.0 by @dpaiton in #1229
Full Changelog: v0.10.0...v0.12.0