web3-proxy/web3_proxy/src
Bryan Stitt 0ddd3662ac
David/new balance logic mk3 (#175)
* 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

* changed to active model

---------

Co-authored-by: yenicelik <david.yenicelik@gmail.com>
2023-07-09 20:15:32 -07:00
..
app Premium tier changes (#170) 2023-07-07 15:15:41 -07:00
bin improve deadlock panic message 2023-07-06 15:03:02 -07:00
frontend lint 2023-07-09 20:13:03 -07:00
rpcs clean up rate limit logging 2023-07-07 15:56:46 -07:00
stats David/new balance logic mk3 (#175) 2023-07-09 20:15:32 -07:00
sub_commands Flush stats (#161) 2023-07-05 19:24:21 -07:00
admin_queries.rs Fix Issue 65 Pt. 2 (#153) 2023-06-28 23:00:34 -07:00
balance.rs lint 2023-07-09 20:13:03 -07:00
block_number.rs check for U64 instead of just BlockNumber 2023-07-07 15:28:24 -07:00
caches.rs lint 2023-07-09 20:13:03 -07:00
compute_units.rs add CU cost for trace_callMany 2023-07-07 12:34:12 -07:00
config.rs lint 2023-07-09 20:13:03 -07:00
errors.rs more tracing cleanup 2023-07-06 04:36:02 -07:00
http_params.rs Fix Issue 65 Pt. 2 (#153) 2023-06-28 23:00:34 -07:00
jsonrpc.rs make references compile 2023-06-26 21:38:41 -07:00
lib.rs David/remove balance logic non destructive (#173) 2023-07-09 19:23:32 -07:00
pagerduty.rs stripe integration first mvp (replaces #140) (#154) 2023-06-29 14:32:05 -07:00
prometheus.rs better handling of 0 port and fix test port 2023-06-24 20:38:06 -07:00
referral_code.rs referral code does not have llamanodes- prefix any longer (#90) 2023-05-29 14:41:15 -07:00
relational_db.rs test log in and out 2023-06-30 12:53:21 -07:00
response_cache.rs improve cache keys and allow failures while parsing params 2023-06-28 17:42:49 -07:00
user_token.rs support EIP1271 login 2023-06-24 09:48:31 -07:00