Commit Graph

18 Commits

Author SHA1 Message Date
cbd71b2308
Implement refund on delete app and vm
fix authentication and refund on delete vm
refactor app daemon register to get delete app req
db function for delete app
sample environment variable
extensive tests for delete app and vm
refactor test utilities
2025-06-04 21:04:32 +05:30
81ca9cf9e4
Implement new app contract balance locking
minimum locking balance on deployment
locking balance on app deployment
refunding locked nano while error on daemon
returning appropreate error on app deployment
fixed some typos on logging
new timeout constants for daemon respose
minor change in schema and proto
extensive tests on app deployments
fixed some vm tests
2025-06-03 14:54:22 +05:30
6a85acda9e
when node reconnects, send deleted VMs
previously, active VMs were sent
2025-05-20 01:45:31 +03:00
32b587c6c5
merged proto branch 2025-05-20 00:19:04 +03:00
8caa55e325
App deployment
rename rpc method app deploy to new_app
improved is_banned_by_node checking app nodes also
moved common ErrorFromTable type to db module
2025-05-14 20:55:13 +05:30
0ccaa4840c
App nodes list
modified AppNode filtering proto
improve logging in signature checking
2025-05-13 13:10:42 +05:30
7807e14167
WIP App: daemon register
enhance logging levels
2025-05-09 17:11:34 +05:30
71720ed4c5
refactor mapped port into common_proto 2025-05-09 16:14:48 +05:30
af18e4ee77
fixes and tests
admin keys from env
test operator inspection
test vm creation timeout
extensive tests on airdrop
refactor db module imports
fix register vm_node creates operator account in db
modularised test into its module and reusable method
fix test brain message add ssh port on mock daemon while new vm
improved error handling on tests unwraping only on top level method
test utils methods accepts refs to remove clone() on top level methods
2025-05-08 15:12:58 +05:30
28ff8dcd81
dotenv support
database credentials loading from .env
removed db cred from constants
updated tests accordingly
2025-05-02 20:05:22 +05:30
c424d07cc3
test with new keys
create new keys for each test
deleted static key
2025-04-28 20:28:11 +05:30
c74eab51ef
refactor test environment
removing unused gRPC server/client setup
simplifying database preparation
seperate server for normal call and grpc stream
2025-04-28 18:12:58 +05:30
77efe3ad63
basic test setup
modified migration
fake grpc server in tokio
fake db migration for testing
test utilities for signing grpc req
2025-04-28 16:57:14 +05:30
6f9cb36bea
added code to create new VM
compiles but not tested yet
2025-04-26 22:13:42 +03:00
f51e29fc4b
inspecting and listing contracts with node info 2025-04-23 04:12:35 +03:00
1cf091d801
get_balance working 2025-04-22 18:34:21 +03:00
bbdceb713e
added a lot of stuff that needs to get migrated 2025-04-21 02:51:48 +03:00
1074942e96
migration working 2025-04-20 03:41:48 +03:00