Commit Graph

16 Commits

Author SHA1 Message Date
Bryan Stitt f1ce4962e8 give some extra ETH 2023-11-09 18:27:47 -08:00
Bryan Stitt 5702c9e097 add a sleep for now
talking-llama will make this better in the morning
2023-11-06 22:35:25 -08:00
Bryan Stitt 4ce9f8557a add some yields to hopefully fix the tests 2023-11-02 00:13:46 -07:00
Bryan Stitt 361df4342f test more 2023-11-01 11:59:46 -07:00
Bryan Stitt c5230106fa lint 2023-10-26 11:26:03 -07:00
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 3174fa5bad increase cost of eth_subscribe(newPendingTransactions) 2023-09-18 14:18:05 -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 0bc523ab9f improve hard limits
rate limit per server or per endpoint and with any period
2023-08-03 12:24:28 -07:00
Bryan Stitt ab6d3a1d9b split command line into separte module 2023-08-03 00:16:54 -07:00