forked from flashbots/gramine-andromeda-revm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsgx-revm.manifest.template
44 lines (32 loc) · 1.17 KB
/
sgx-revm.manifest.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Rust manifest example
loader.entrypoint = "file:{{ gramine.libos }}"
libos.entrypoint = "{{ self_exe }}"
loader.log_level = "{{ log_level }}"
loader.env.LD_LIBRARY_PATH = "/lib:{{ arch_libdir }}"
# See https://gramine.readthedocs.io/en/stable/performance.html#glibc-malloc-tuning
loader.env.MALLOC_ARENA_MAX = "1"
# For easier debugging — not strictly required to run this workload
loader.env.RUST_BACKTRACE = "full"
fs.mounts = [
{ path = "/lib", uri = "file:{{ gramine.runtimedir() }}" },
{ path = "{{ arch_libdir }}", uri = "file:{{ arch_libdir }}" },
# For providing input through trusted or host-provided input files
# { path = "/var/sgx-revm-data/", uri = "file:data" },
]
sys.insecure__allow_eventfd = true
sgx.debug = false
sgx.edmm_enable = {{ 'true' if env.get('EDMM', '0') == '1' else 'false' }}
# Enabling remote attestation
sgx.remote_attestation = "dcap"
sgx.trusted_files = [
"file:{{ gramine.libos }}",
"file:{{ self_exe }}",
"file:{{ gramine.runtimedir() }}/",
"file:{{ arch_libdir }}/",
"file:/usr/{{ arch_libdir }}/",
"file:/etc/ssl/certs/ca-certificates.crt",
"file:/usr/lib/ssl/certs/",
]
#sgx.allowed_files = [
#]
sgx.max_threads = 96