Commit Graph

50 Commits

Author SHA1 Message Date
952c62c218
feat: add filtering and listing functionality for app nodes 2025-03-12 20:05:27 +00:00
ddbde12f42
fix: locked fund
fix: node offline error on cli
revert locked fund when app deploye failed
delete app contract returns contract's locked LP into admin
2025-03-11 15:55:23 +00:00
41352f2c33
improved AppContract pricing calculation precision 2025-03-11 12:30:01 +00:00
928a7d029b
Implement app contracts pricing methods with cron job 2025-03-11 10:36:20 +00:00
92a26c5f66
Integrate operator in app node handling
rename operator_pubkey to operator_wallet
2025-03-10 08:56:22 +00:00
55280ec499
Merge branch 'main' into app_brain 2025-03-08 03:03:30 +05:30
a90a6c0b79
fix contract creation on failed deployment 2025-03-07 14:12:59 +00:00
a46f6ef800
Store hratls pubkey and mr_enclave of public package in app contract 2025-03-06 18:10:47 +00:00
70bf3b5e73
pass update error from daemon to CLI 2025-03-06 01:47:23 +02:00
64b65d7ecd
don't delete VMs if node is offline for < 1day 2025-02-28 00:37:34 +02:00
127d399670
Node resources
enhance AppNode resource handling
2025-02-21 10:45:29 +00:00
467a4f04b9
refactor: update AppContract structure and resource handling in data and grpc modules 2025-02-20 10:26:52 +00:00
675933dd7c
authendicating cli
rename owner_wallet to admin_pubkey in AppContract and related functions
2025-02-18 21:03:23 +05:30
02be48fd96
add support for operators 2025-02-17 17:51:34 +02:00
2cada47d24
refactor: update detee-shared dependency and adjust imports to use sgx module 2025-02-17 11:38:57 +05:30
5c213f2eb4
small refactoring on var names and impls 2025-02-12 02:12:56 +02:00
3b3221099f
refactor: rename admin_pubkey to owner_wallet in AppContract and related functions 2025-02-11 08:06:14 +00:00
b22b08799b
Merge branch 'main' into sgx_brain 2025-02-10 17:09:54 +05:30
f4f16228fc
update detee-shared dependency to stable branch and add TODO for daemon offline handling 2025-02-10 13:52:49 +05:30
c98db7f8c3
rename structs so that they say "VM" 2025-02-09 00:14:32 +02:00
64f892c174
added admin functionality 2025-02-06 15:16:00 +02:00
5ae69dee52
integrating new proto structure 2025-02-04 18:15:53 +05:30
5359ba039b
added auth 2025-02-04 03:09:53 +02:00
230eb8cfbd
delete container implemented
refactor daemon message
2025-02-03 18:20:21 +05:30
c6c44da0e8
manageed container contract and node registraion 2025-01-31 12:59:20 +00:00
8f40adcbf8
redirect sgx container create call to daemon and response to cli 2025-01-30 18:31:10 +05:30
7dfdf4844e
switch language from tokens to LP 2025-01-28 18:31:30 +02:00
928c68f550
reduce the price of memory 2025-01-28 15:32:33 +02:00
9fa62a1978
inform daemon about VMs deleted by cron 2025-01-27 17:45:28 +02:00
aaa9226df6
refactored the vm update process 2025-01-25 16:12:46 +02:00
302c4eafc7
added payments for VM creation 2025-01-25 00:48:31 +02:00
c9a7ec9f68
modified proto based on feadback form the team 2025-01-18 03:24:52 +02:00
0e85165240 update functionality for the brain (#2)
These changes have been done:
measurement args are a separate argument which get passed from daemon
revamped updatevm and newvm resp functions, specially how args.dtrfs_api_endpoint gets handled
updating now returns error from brain if it cant find the contract
proto has been updated accordingly

Co-authored-by: Ramil_Algayev <pro.remred@gmail.com>
Co-authored-by: ghe0 <gheorghe@gheo.tech>
Reviewed-on: ghe0/brain-mock#2
Co-authored-by: ramrem <ralgayev@detee.ltd>
Co-committed-by: ramrem <ralgayev@detee.ltd>
2025-01-09 22:29:56 +00:00
ac2012f04d
fixes to allow brain-mock to run on real nodes 2024-12-29 05:12:37 +02:00
b13b545501
added capability to get only one node 2024-12-28 22:31:55 +02:00
7b3ee9319f
change NewVmResp to allow the CLI to build params 2024-12-28 04:16:11 +02:00
0dcacf6f98
added capability to update node resources 2024-12-27 01:01:36 +02:00
0215be3acd add support for VM updates
Co-authored-by: Ramil_Algayev <pro.remred@gmail.com>
Co-authored-by: ghe0 <gheorghe@gheo.tech>
Reviewed-on: ghe0/brain-mock#1
Co-authored-by: ramrem <ralgayev@detee.ltd>
Co-committed-by: ramrem <ralgayev@detee.ltd>
2024-12-25 22:59:18 +00:00
7905c1c165
fix bug on == 2024-12-22 21:00:41 +02:00
b45f970e40
fix deadlock for ghost nodes 2024-12-22 20:48:19 +02:00
efc3fb81b2
fixed deadlock for dead nodes 2024-12-22 19:59:32 +02:00
cc06a9bc00
adding a lot of logs 2024-12-22 18:16:40 +02:00
4a3a6b4fdc
fixed small memory leaks 2024-12-22 16:07:38 +02:00
cb7e8f98d6
removing guard and hoping there are no leaks 2024-12-22 04:52:01 +02:00
5910e63440
added logging 2024-12-22 04:41:05 +02:00
5fb2a941b1
added guards for all txs 2024-12-21 22:22:10 +02:00
ec5d266c28
wrote brain-mock functionality 2024-12-21 01:56:12 +02:00
b14c590d01
added code to process new vm request 2024-12-20 21:56:34 +02:00
f1d9bcb07a
added handling to list some nodes and contracts 2024-12-17 03:55:44 +02:00
04d1c53a97
boilerplate rust code 2024-12-17 02:57:54 +02:00