nooschain / contracts/release-workflow / assertContractReleaseTransition
Function: assertContractReleaseTransition()
assertContractReleaseTransition(
database,release,nextStatus):Promise<void>
Defined in: contracts/release-workflow.ts:223
Parameters
database
release
approval_metadata
audit_metadata
code_hash
string
created_at
Date
created_at_height
string
created_by_actor_id
string | null
created_by_actor_type
string
descriptor_hash
string
id
string
manifest_hash
string
metadata
migration_id
string | null
package_name
string
package_registry_id
string
package_version
string
release_type
string
rollback_reason
string | null
rollback_target_release_id
string | null
source_contract_id
string | null
status
string
target_contract_id
string
transaction_hash
string
updated_at
Date
updated_at_height
string
updated_by_actor_id
string | null
updated_by_actor_type
string
nextStatus
"failed" | "draft" | "package_approved" | "deployed" | "instantiated" | "readiness_checked" | "migration_planned" | "migration_completed" | "traffic_ready" | "source_deactivated" | "completed" | "rollback_started" | "rolled_back"
Returns
Promise<void>