Commit Graph

45 Commits

Author SHA1 Message Date
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
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
2cada47d24
refactor: update detee-shared dependency and adjust imports to use sgx module 2025-02-17 11:38:57 +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
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
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
3e4672e9e4
Sgx cli grpc integration
add detee-shared dependency and implement BrainSgxCliMock
2025-01-28 13:11:42 +05:30
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
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
c729f47b8d
propagate VMConfirmation to CLI 2024-12-15 22:26:15 +02:00
22a0905a1d
first push 2024-12-15 22:07:22 +02:00