You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Selecting the assets backing a service instance and answering questions below
How will we price selecting assets in a service?
How will we reward restakers of different assets of a service?
Separating the Blueprint contract from the ServiceInstance contract.
BlueprintManager.sol - responsible for registration and request hook definition. Responsible for developer settings like payments, incentives, etc.
InstanceManager.sol - responsible for managing a single specific instance. Should have access to precompile functions which grab metadata of the instance such as restaked assets, operators of the instance, etc.
Decide if BlueprintManager “knows” about its instances or if it doesn’t need to. Perhaps BlueprintManager.sol deploys InstanceManager.sol upon successful instancing of the service.
InstanceManager.sol - contains the job calls / verify fns for the system. The runtime IMO should either handle this or the Blueprint manager can delegate through its mappings.
Slashing logic on services pallet (using the extrinsics as you had mentioned)
Identify security implications of runtime slashing vs precompile slashing. See if we can design a secure precompile for triggering slashing.
Slashing should happen on the InstanceManager.sol. The Blueprint developer should consider what context needs to be maintained on specific instances and not.
The text was updated successfully, but these errors were encountered:
Checklist
Notes
Service pallet updates / flows
Separating the Blueprint contract from the ServiceInstance contract.
Slashing logic on services pallet (using the extrinsics as you had mentioned)
The text was updated successfully, but these errors were encountered: