web3-proxy/web3_proxy/tests/common
David 000a1326c3
New Balance Logic (#174)
* WIP will work on locks

* added concurrent test for referral, numbers rn still add up

* will change balance table to be a view instead of a table

* merged in devel. will proceed with migrations for rpc_stats_v2 and referral

* WIP

* WIP

* WIP compiling

* gotta add the balance_v2 view

* about to add balance view

* stupid missing closing param

* compiles again, now i will just have to implement the raw sql

* need to paste the real query and play with it

* ok now on to testing

* addresses many comments in PR

* app works for simple unauthorized access. will look into tests

* some tests pass, referral logic tests fail

* not sure why the test is failing

* invalidate cache for admin, will check for more possible targets

* user balance decrease test works

* all tests pass
2023-07-09 19:43:44 -07:00
..
admin_increases_balance.rs David/referral test new (#162) 2023-07-05 22:18:39 -07:00
app.rs derivative and serde didn't work together like we'd hoped 2023-07-06 03:51:39 -07:00
create_admin.rs David/referral test new (#162) 2023-07-05 22:18:39 -07:00
create_user.rs David/referral test new (#162) 2023-07-05 22:18:39 -07:00
get_admin_deposits.rs lower log levels 2023-07-07 14:14:03 -07:00
get_rpc_key.rs David/referral test new (#162) 2023-07-05 22:18:39 -07:00
get_user_balance.rs David/referral test new (#162) 2023-07-05 22:18:39 -07:00
mod.rs added test for admin deposit endpoint, fixed bugs 2023-07-06 08:19:33 -04:00
referral.rs New Balance Logic (#174) 2023-07-09 19:43:44 -07:00