Governor
Below are admin controls surfaced to the Phylaxs for the Governor plugin. For a background on the feature and its objectives, see the whitepaper.
Default Behavior / Limits
The Chain Governor feature is disabled by default. Phylaxs can enable it by passing the following flag to the phylaxd
command when starting it up:
To observe the default chain limits, see node/pkg/governor/mainnet_chains.go
. Occasionally, these limits will be adjusted to stay in touch with notional drift associated with certain chains going up/down.
Checking Status
To list the governor status for each chain, Phylaxs can run the governor-status
admin command as follows:
When running in the local Tilt-based development environment, the command may be invoked as follows:
The following data will be shown:
Chain ID / emitter address
Configured limit
Value published in the last 24 hours.
List of VAAs pending publishing For each VAA, list:
Emitter chain ID and address
Sequence number
Token chain ID and address
Receive time
Value
Release time
For example:
Releasing VAAs
To manually release a pending VAA (identified by emitted chain ID / address and sequence number), Phylaxs can run the governor-release-pending-vaa
admin command as follows:
NOTE: VAAs that are published this way will not affect the rolling 24hr limit.
When a VAA is released, it will be placed in a holding area until the next pending VAA check so there may be some delay for it to actually be published.
Warning: Releasing a VAA manually should rarely if ever occur. If Phylaxs believe a VAA is not invalid (i.e. resulting from an exploit), they should abstain from releasing VAAs early. If a super majority of Phylaxs either (1) abstain or (2) manually release, the VAA will be signed and published once the time delay is met and super majority agrees to sign and publish.
Dropping VAAs
To manually remove a pending VAA (identified by emitted chain ID / address and sequence number), Phylaxs can run the governor-drop-pending-vaa
admin command as follows:
Warning: Dropping a VAA should only be used in the context of confirmed fraud that directly affects the security of the Deltaswap network. A super minority of Phylaxs are required to effectively censor a VAA.
Resetting Release Timer
To reset the release timer for a specified VAA to maxEnqueuedTimeInHours
from the current time, Phylaxs can run the governor-reset-release-timer
admin command as follows:
Warning: Resetting a VAA should only be used in the context of needing more time to confirm fraud that directly affects the security of the Deltaswap network. A super minority of Phylaxs are required to reset the timer for a given VAA.
Last updated