Closed billguo99 closed 2 years ago
Update enclave memory to ~2 GB for now
diff --git a/rust-sgx-workspace/projects/ntc-tee-server/enclave/Enclave.config.xml b/rust-sgx-workspace/projects/ntc-tee-server/enclave/Enclave.config.xml
index ee4c3f7..bf34e90 100644
--- a/rust-sgx-workspace/projects/ntc-tee-server/enclave/Enclave.config.xml
+++ b/rust-sgx-workspace/projects/ntc-tee-server/enclave/Enclave.config.xml
@@ -2,8 +2,8 @@
<EnclaveConfiguration>
<ProdID>0</ProdID>
<ISVSVN>0</ISVSVN>
- <StackMaxSize>0x40000</StackMaxSize>
- <HeapMaxSize>0x100000</HeapMaxSize>
+ <StackMaxSize>0x8000000</StackMaxSize>
+ <HeapMaxSize>0x80000000</HeapMaxSize>
<TCSNum>1</TCSNum>
<TCSPolicy>1</TCSPolicy>
<DisableDebug>0</DisableDebug>
Update enclave memory to ~2 GB for now
That Enclave.config.xml
is for ntc-tee-server
which I believe will be the Trusted Execution Environment for the WASM runtime in the future. Once we've done with experimentation on wasm-exec-sgx
, we can change these files based on the wasm-exec-sgx
repo.
https://app.clickup.com/t/2r1kcha Moving Nautilus Wallet
web-server
backend tonautilus-trusted-compute
repository.NW Web Server directory structure
NTC directory structure
Note: I've excluded
sgx-wallet-impl
,sgx-wallet
,sgx-wallet-test
from the rust-sgx-workspace as members because they require certain[patch]
and I encountered errors withstd
:JP mentioned a possible solution is to use
xargo
to replacecargo
.