web3-proxy/web3_proxy
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
..
examples put it back. duplication between cargo.toml isnt worth it 2023-05-30 21:37:58 -07:00
src David/new balance logic mk3 (#175) 2023-07-09 20:15:32 -07:00
tests lint 2023-07-09 20:13:03 -07:00
Cargo.toml cargo upgrade 2023-07-07 15:16:14 -07:00