dipdup
dipdup copied to clipboard
Meta: tech debt
This list tracks stuff to fix during the post-7.0 feature freeze.
Hint: run pdm fixme
to grep code for related comments.
CLI
- [x] #1095
- [x] Import everything .py from the project on startup (run only)
Datasources
- [ ] Revise HttpConfig defaults (reasonable retry time, rate limits)
- [ ] Reduce copypaste in code related to WebSocket connection
- [x] #875
- [ ] EVM: Messy web3 integration. Check the new WS provider.
- [ ] EVM: Realtime datasource lifecycle. More robust switching between states.
Database
- [ ]
immune_tables
on SQLite requireunsafe_sqlite
flag. Something with PRAGMAs I guess.
Tests
- [ ] Helpers to test a single handler/hook
- [ ] Minimize test_demos traffic
- [x] Add test for demo_evm_events
- [ ] Realtime part not covered at all
Docs
- [x] #782
- [x] Ensure that essential public interfaces are covered with docstrings
- [ ] Some DipDupError help messages are outdated
- [ ] SQL queries, parametrization
- [x] #798
- [x] #807
CI
- [ ] #748
Code quality
- [x] Undocumented constants (mostly sleeps)
- [ ] #808
- [x] Type ignores and noqa's
Monitoring
- [x] #712
- [ ] Make warnings more available. Separate log, section in report?