type

Phase

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"` }

One resumable execution boundary.

Source migration/phases.go:43

IDstring
The ID value.
ModePhaseMode
The Mode value.
PhysicalContractVersionuint32
The PhysicalContractVersion value.
BeforePhysicalDigeststring
The BeforePhysicalDigest value.
AfterPhysicalDigeststring
The AfterPhysicalDigest value.
Steps[]Step
The Steps value.

Modes are transaction, batch, and no_transaction. Batch and no-transaction phases contain exactly one typed step.