web3-proxy/web3_proxy/tests/common
Bryan Stitt 600c1bafb4
David/multiple proxy test (#187)
* add test_multiple_proxies_stats_add_up

* make a premium user using both proxies

* added a couple clones, must add constraints now to run for multiple-proxies (check arithmetic)

* lint and code review

* fix comment

* fix tests (now fails at todo)

* will introduce endpoint to fetch rpc stats from mysql

* added influxdb to tests, should next do asserst in stats collected by influx, and mysql for multi-proxy

* created test where influx and mysql have separate data, should help with debugging

* forgot to drop influx

* tests pass except multi-proxy

* test passes, will check out nothing broke elswhere

* go back to numbers

* some linting

* linting

* removed redundant info!

* responding to PR comments

* ULID as instance-hash for the tag in influx (for anti-dup)

---------

Co-authored-by: yenicelik <david.yenicelik@gmail.com>
2023-07-17 13:31:41 -07:00
..
admin_deposits.rs More balance tests (#182) 2023-07-12 00:35:07 -07:00
admin_increases_balance.rs More balance tests (#182) 2023-07-12 00:35:07 -07:00
anvil.rs move db and anvil functions to their proper places 2023-07-12 14:42:59 -07:00
app.rs David/multiple proxy test (#187) 2023-07-17 13:31:41 -07:00
create_admin.rs Global db (#191) 2023-07-14 18:30:01 -07:00
create_provider_with_rpc_key.rs David/multiple proxy test (#187) 2023-07-17 13:31:41 -07:00
create_user.rs less anyhow and fix tests 2023-07-14 18:31:00 -07:00
influx.rs David/multiple proxy test (#187) 2023-07-17 13:31:41 -07:00
mod.rs David/multiple proxy test (#187) 2023-07-17 13:31:41 -07:00
mysql.rs David/multiple proxy test (#187) 2023-07-17 13:31:41 -07:00
referral.rs New Balance Logic (#174) 2023-07-09 19:43:44 -07:00
rpc_key.rs less anyhow and fix tests 2023-07-14 18:31:00 -07:00
stats_accounting.rs David/multiple proxy test (#187) 2023-07-17 13:31:41 -07:00
user_balance.rs More balance tests (#182) 2023-07-12 00:35:07 -07:00