integritee-network / pallets

Other
10 stars 14 forks source link

[teerex] introduce ShardConfig #184

Closed brenzi closed 1 year ago

brenzi commented 1 year ago

in teerex primitives, add ShardConfig type

image

in teerex pallet, add storage

ShardConfig: map ShardIdentifier -> ShardConfig

and dispatchable image

callable by enclave with shard's configured EnclaveFingerprint or root origin If shard doesn't exist, create it if sender registered enclave with wame Fingerprint than the config

consider adding lazy garbage collection unregister_shard(ShardIdentifier)

brenzi commented 1 year ago

this actually prepares for solutions closing