subscan
Runtime Modules / PhalaComputation
Spec Version:
Events
Name
Lookup
Attributes
CoolDownExpirationChanged5700["u64"]
WorkerStarted5701["AccountId","u128","u32"]
WorkerStopped5702["AccountId"]
WorkerReclaimed5703["AccountId","BalanceOf","BalanceOf"]
SessionBound5704["AccountId","WorkerPublicKey"]
SessionUnbound5705["AccountId","WorkerPublicKey"]
WorkerEnterUnresponsive5706["AccountId"]
WorkerExitUnresponsive5707["AccountId"]
SessionSettled5708["AccountId","u128","u128"]
InternalErrorWorkerSettleFailed5709["WorkerPublicKey"]
SubsidyBudgetHalved570a
InternalErrorWrongHalvingConfigured570b
TokenomicParametersChanged570c
SessionSettlementDropped570d["AccountId","u128","u128"]
BenchmarkUpdated570e["AccountId","u32"]
Storage Functions
Name
Type
TokenomicParameters{"origin":"PlainType","plain_type":"phala_types:messaging:TokenomicParameters","PlainTypeValue":329}
ScheduledTokenomicUpdate{"origin":"PlainType","plain_type":"phala_types:messaging:TokenomicParameters","PlainTypeValue":329}
OnlineWorkers{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ExpectedHeartbeatCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
HeartbeatPaused{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":100}
Sessions{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"phala_pallets:compute:computation:pallet:SessionInfo","keys_id":0,"value_id":560}}
SessionBindings{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"[U8; 32]","keys_id":0,"value_id":118}}
WorkerBindings{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"AccountId","keys_id":118,"value_id":0}}
CoolDownPeriod{"origin":"PlainType","plain_type":"U64","PlainTypeValue":10}
NextSessionId{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ComputingStartBlock{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ComputingHalvingInterval{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Stakes{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}}
Error Types
Name
Docs
BadSenderThe transaction is sent by an unauthorized sender
_InvalidMessageDeprecated.
WorkerNotRegisteredThe worker is not registered in the registry.
_GatekeeperNotRegisteredDeprecated
DuplicateBoundSessionNot permitted because the session is already bound with another worker.
BenchmarkMissingThere's no benchmark result on the blockchain.
SessionNotFoundsession not found.
SessionNotBoundNot permitted because the session is not bound with a worker.
WorkerNotReadyWorker is not in `Ready` state to proceed.
WorkerNotComputingWorker is not in `Computation` state to stop computing.
WorkerNotBoundNot permitted because the worker is not bound with a worker account.
CoolDownNotReadyCannot reclaim the worker because it's still in cooldown period.
InsufficientStakeCannot start computing because there's too little stake.
TooMuchStakeCannot start computing because there's too much stake (exceeds Vmax).
InternalErrorBadTokenomicParametersInternal error. The tokenomic parameter is not set.
DuplicateBoundWorkerNot permitted because the worker is already bound with another session account.
BenchmarkTooLowIndicating the initial benchmark score is too low to start computing.
InternalErrorCannotStartWithExistingStakeInternal error. A worker should never start with existing stake in the storage.
NotMigrationRootMigration root not authorized