One resumable execution boundary.
Properties
| Property | Type | Description |
|---|
ID | string | The ID value. |
|---|
Mode | PhaseMode | The Mode value. |
|---|
PhysicalContractVersion | uint32 | The PhysicalContractVersion value. |
|---|
BeforePhysicalDigest | string | The BeforePhysicalDigest value. |
|---|
AfterPhysicalDigest | string | The AfterPhysicalDigest value. |
|---|
Steps | []Step | The Steps value. |
|---|
How it works
Modes are transaction, batch, and no_transaction. Batch and no-transaction phases contain exactly one typed step.
Full signature
type Phase struct {
ID string `json:"id"`
Mode PhaseMode `json:"mode"`
PhysicalContractVersion uint32 `json:"physicalContractVersion"`
BeforePhysicalDigest string `json:"beforePhysicalDigest"`
AfterPhysicalDigest string `json:"afterPhysicalDigest"`
Steps []Step `json:"steps"`
}Source migration/phases.go:43