-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
Description
Compiler flags make CI testing difficult, it is easy to miss a feature flag, which will then not be tested at all. It might be better that we introduce RunConfigs that might lock like the following:
/// Naming to be defined
struct RunConfig {
/// Sidechain, OffchainWorker, Teeracle
mode: WorkerMode,
/// DCAP, IAS. Probably not necessary. IAS will be deprecated soonish.
attestation_type: AttestationType
/// Hmm, can we find a way to compile EVM stuff without including it in the binary?
/// I think this is hard, because we can't just include the `enclave-runtime` at process start like they do it in substrate with the wasm blob.
/// It will always be linked at compile time. Needs some more thought.
with_evm: bool
// what else??
}Needs some more thought and testing to see if we can do this without decreasing the performance...
OverOrion