Commit Graph

9 Commits

Author SHA1 Message Date
Bryan Stitt
16caf1d0fe dynamic max_head_block_age 2023-10-24 21:53:41 -07:00
Bryan Stitt
b205b2e863 an error here is unexpected. figure out why its happening 2023-10-13 20:21:58 -07:00
Bryan Stitt
e414fc0ac0 fix one test
though i think we want to change it to give None instead of 502
2023-10-13 20:08:39 -07:00
Bryan Stitt
ce3fbca7b6 fix eth_sendRawTransaction 2023-10-13 19:41:59 -07:00
Bryan Stitt
78edfee6b9 timeout and server selection fixes
add a short connect timeout separate from the overall request timeout.

also fix a bug when only 1 server was in the rpc list causing a very tight loop that made tokio sad
2023-10-09 23:30:17 -07:00
Bryan Stitt
e917a11d6c
Suprisingly large refactor to get ids everywhere (#222)
* cargo upgrade --incompatible and update

* first draft at suprisingly_large_refactor_to_get_ids_everywhere

* put app in a task_local

* ref cleanup

* use a OnceLock instead of a tokio local

* test more methods

* APP isn't set in all tests

* it compiles. tests fail. todos still open

* use the app only when necessary

* more tests. less panic

* less verbose debug impl

* short enum names

* move kafka and secrets to their own files

* main tests pass

* add debug chain block time

* helper for stats that ignores internal stats

* Update Jenkinsfile (#223)

* more tests

---------

Co-authored-by: Pewxz <124064710+pewxz@users.noreply.github.com>
2023-10-03 13:46:27 -07:00
Bryan Stitt
d2aa67e8ee test more methods 2023-08-17 21:55:58 -07:00
Bryan Stitt
e86bb6ee07 test that compares anvil and w3p 2023-08-17 21:20:34 -07:00
Bryan Stitt
ab6d3a1d9b split command line into separte module 2023-08-03 00:16:54 -07:00