Commit Graph

66 Commits

Author SHA1 Message Date
acb11aae03
feat: add app_name to AppContract and update related implementations 2025-03-14 10:03:41 +00:00
68e03a25e5
fix: Reduce CPU pricing for total_units calculation in AppContract 2025-03-13 06:27:38 +00:00
0aa484f79e
feat: add method to list all app contracts for super admin and update gRPC interface 2025-03-12 20:12:35 +00:00
952c62c218
feat: add filtering and listing functionality for app nodes 2025-03-12 20:05:27 +00:00
1fa37a0bb9
rename create_app BrainAppCli grpc call to deploy_app 2025-03-12 15:39:30 +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
dcdfe21c57
update detee-shared dependency to latest commit in stable_01 branch 2025-03-06 01:10:41 +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
df805ea291
add admin key 2025-02-11 21:03:05 +05:30
784878d0a1
authendicating daemon 2025-02-11 11:37:07 +00:00
3b3221099f
refactor: rename admin_pubkey to owner_wallet in AppContract and related functions 2025-02-11 08:06:14 +00:00
f1a527e22d
Integrating authendication
rename register_node to register_app_node
2025-02-10 19:56:39 +05:30
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
c7b4d40846
delete app and list contracts 2025-02-05 12:08:48 +05:30
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
b1258ac7c7
Sgx daemon grpc integration 2025-01-29 17:58:43 +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
3e4672e9e4
Sgx cli grpc integration
add detee-shared dependency and implement BrainSgxCliMock
2025-01-28 13:11:42 +05:30
9fa62a1978
inform daemon about VMs deleted by cron 2025-01-27 17:45:28 +02:00
f0f5edac00
send vm update error to user v0.1.0 2025-01-25 17:13:19 +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
3ab668c4b1
fixed bug where daemon could not list contracts 2024-12-30 21:14:38 +02:00
3b62e4d2bd
allow to get contract by uuid 2024-12-30 04:49:08 +02: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