-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathAnchor.toml
110 lines (96 loc) · 2.81 KB
/
Anchor.toml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[toolchain]
channel = "2024"
components = ["rust-src", "rustc-dev", "llvm-tools-preview", "solana-sbf"]
profile = "minimal"
anchor_version = "0.29.0"
solana_version = "1.18.11"
[features]
resolution = true
skip-lint = false
chaos-engine = true
secure-mode = true
post-quantum = true
[programs.devnet]
glitch_gremlin_governance = "CGdnYbXRM3trAKUeSiPT4it9obeo1iTx3BJhgfriADSL"
[registry]
url = "https://api.apr.dev"
[provider]
cluster = "Devnet"
wallet = "config/1fnZqqDYRaq7SGqDJ5rWZM2dJjGpaHfrdDDssV1ggai.json"
[workspace]
members = ["programs/governance"]
types = "target/types"
[workspace.metadata.anchor]
program-type = "sbf"
target = "sbf-solana-solana"
sbf-sdk = "/root/agave/platform-tools-sdk/sbf"
sbf-tools-version = "1.17.6"
features = ["secure-mode", "chaos-engine", "post-quantum"]
build-flags = ["--features", "chaos-engine,post-quantum"]
[scripts]
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
[test]
startup_wait = 5000
shutdown_wait = 2000
upgradeable = false
[build]
target = "sbf-solana-solana"
rustflags = [
"-C", "link-arg=--soname=libchaos_engine_v3.so",
"-C", "opt-level=3",
"-C", "panic=abort",
"-C", "debug-assertions=no",
"-C", "overflow-checks=no",
"-C", "embed-bitcode=yes",
"-C", "strip=symbols",
"-C", "target-feature=+solana-sbf,+solana-smartheap",
"-C", "target-cpu=solana-sbfv2",
"-C", "llvm-args=--x86-asm-syntax=intel --vectorize-loops --unroll-threshold=4",
"-C", "inline-threshold=100",
"-C", "no-redzone=yes",
"-C", "embed-llvm-bitcode=yes",
"-C", "target-feature=+avx512f,+avx512cd,+avx512bw,+avx512dq,+avx512vl",
"-Z", "mir-opt-level=5",
"-Z", "instrument-coverage",
"-Z", "build-std=core,alloc,panic_abort",
"-Z", "build-std-features=compiler-builtins-mem",
"-Z", "unleash-the-mango",
"-Z", "graphene",
"--cfg", "chaos_core",
"--cfg", "quantum_safe"
]
[test.validator]
bind_address = "0.0.0.0"
url = "https://api.devnet.solana.com"
ledger = ".anchor/test-ledger"
rpc_port = 8899
[verify]
enabled = true
checksum = "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
whitelist = [
]
[[test.validator.clone]]
address = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
[chaos-engine]
enabled = true
resilience-level = "maximum"
quantum-resistant = true
ai-integration = true
memory-protection = true
zero-knowledge = true
secure-inference = true
attack-simulation = true
fault-injection = true
entropy-source = "hardware"
model-config = "chaos-models/quantum-resistant-model-config.json"
security-template = "chaos-models/security-hardening-template.json"
hazard-schema = "chaos-models/hazardous-test-schema.json"
[metrics]
enabled = true
prometheus = true
opentelemetry = true
tracing = true
dashboard = true