/* eslint-disable */
// Generated by generate-private-ipc-v4.mjs. Do not edit.
export const PRIVATE_IPC_V4_STATUS = Object.freeze({
"profile": "private-ipc-authority-v4",
"authorityArtifactPath": "packages/blind-ipc/hiverelay-blind-private-ipc-v4.cenc",
"vectorManifestPath": "packages/blind-ipc/vector-manifest-v4.cenc",
"authorityMetadataPath": "packages/blind-ipc/hiverelay-blind-private-ipc-authority-v4.json",
"importedWireV3AbiHash": "c15c6a994d3bc2e54a397446b475a12d7f27e04be68e6e3eb86b28d518752881",
"basePrivateIpcV3FormatHash": "efb4fd8eae1a2338722deced991fdc907b465d7580acfe2bde8ad692dc1c8200",
"privateIpcFormatHash": "7395b1bc453dfd43d3085281a42179f281ed17c9e64e8fb627cc019a32b4bfe7",
"privateIpcVectorSetHash": "1b94a1c33a309684e1fb44c89512c9e572bb5a707b0afb722d0ab567197a5aa8",
"schemaCount": 18,
"additionalSchemaIds": [
16,
17,
18
],
"contractReady": true,
"forwardDescriptorOperationBits": 0,
"forwardAdvertisedOperationBits": 0,
"forwardReadinessOperationBits": 0,
"runtimeReady": false,
"releaseReady": false,
"authorizesRelease": false
})
export function assertPrivateIpcV4Status (actual) {
if (!actual || actual.importedWireV3AbiHash !== PRIVATE_IPC_V4_STATUS.importedWireV3AbiHash ||
actual.basePrivateIpcV3FormatHash !== PRIVATE_IPC_V4_STATUS.basePrivateIpcV3FormatHash ||
actual.privateIpcFormatHash !== PRIVATE_IPC_V4_STATUS.privateIpcFormatHash ||
actual.privateIpcVectorSetHash !== PRIVATE_IPC_V4_STATUS.privateIpcVectorSetHash ||
actual.schemaCount !== 18 || actual.forwardReadinessOperationBits !== 0 ||
actual.runtimeReleaseReady !== false || actual.authorizesRelease !== false) {
const error = new Error('private IPC v4 authority status mismatch')
error.code = 'PRIVATE_IPC_V4_STATUS_MISMATCH'
throw error
}
return true
}