Documentation
¶
Index ¶
- func AllowOperators(ctx context.Context, def app.Definition) error
- func PausePortal(ctx context.Context, def app.Definition, cfg Config) error
- func PauseXCall(ctx context.Context, def app.Definition, baseCfg Config, xcallCfg XCallConfig) error
- func PauseXSubmit(ctx context.Context, def app.Definition, baseCfg Config, xsubCfg XSubmitConfig) error
- func Test(ctx context.Context, def app.Definition) error
- func UnpausePortal(ctx context.Context, def app.Definition, cfg Config) error
- func UnpauseXCall(ctx context.Context, def app.Definition, baseCfg Config, xcallCfg XCallConfig) error
- func UnpauseXSubmit(ctx context.Context, def app.Definition, baseCfg Config, xsubCfg XSubmitConfig) error
- func UpgradeBridgeL1(ctx context.Context, def app.Definition) error
- func UpgradeBridgeNative(ctx context.Context, def app.Definition) error
- func UpgradeFeeOracleV1(ctx context.Context, def app.Definition, cfg Config) error
- func UpgradeGasPump(ctx context.Context, def app.Definition, cfg Config) error
- func UpgradeGasStation(ctx context.Context, def app.Definition) error
- func UpgradePortal(ctx context.Context, def app.Definition, cfg Config) error
- func UpgradePortalRegistry(ctx context.Context, def app.Definition) error
- func UpgradeSlashing(ctx context.Context, def app.Definition) error
- func UpgradeStaking(ctx context.Context, def app.Definition) error
- type Config
- type XCallConfig
- type XSubmitConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowOperators ¶
func AllowOperators(ctx context.Context, def app.Definition) error
AllowOperators ensures that all operators hard-coded in this package is allowed as validators. Note it only adds any of the operators that are missing, it doesn't remove any ever.
func PausePortal ¶ added in v0.2.0
PausePortal pauses the portal contracts on a network.
func PauseXCall ¶ added in v0.8.0
func PauseXCall(ctx context.Context, def app.Definition, baseCfg Config, xcallCfg XCallConfig) error
PauseXCall pauses xcalls on a network.
func PauseXSubmit ¶ added in v0.8.0
func PauseXSubmit(ctx context.Context, def app.Definition, baseCfg Config, xsubCfg XSubmitConfig) error
PauseXSubmit pauses xsubmits on a network.
func Test ¶
func Test(ctx context.Context, def app.Definition) error
Test tests all admin commands against an ephemeral network.
func UnpausePortal ¶ added in v0.2.0
UnpausePortal unpauses the portal contracts on a network.
func UnpauseXCall ¶ added in v0.8.0
func UnpauseXCall(ctx context.Context, def app.Definition, baseCfg Config, xcallCfg XCallConfig) error
UnpauseXCall unpauses xcalls on a network.
func UnpauseXSubmit ¶ added in v0.8.0
func UnpauseXSubmit(ctx context.Context, def app.Definition, baseCfg Config, xsubCfg XSubmitConfig) error
UnpauseXSubmit unpauses xsubmits on a network.
func UpgradeBridgeL1 ¶
func UpgradeBridgeL1(ctx context.Context, def app.Definition) error
UpgradeBridgeL1 upgrades the OmniBridgeL1 contract.
func UpgradeBridgeNative ¶
func UpgradeBridgeNative(ctx context.Context, def app.Definition) error
UpgradeBridgeNative upgrades the OmniBridgeNative predeploy.
func UpgradeFeeOracleV1 ¶
UpgradeFeeOracleV1 upgrades the FeeOracleV1 contracts on a network.
func UpgradeGasPump ¶
UpgradeGasPump upgrades the OmniGasPump contracts on a network.
func UpgradeGasStation ¶
func UpgradeGasStation(ctx context.Context, def app.Definition) error
UpgradeGasStation upgrades the GasStation contracts on a network.
func UpgradePortal ¶
UpgradePortal upgrades the portal contracts on a network.
func UpgradePortalRegistry ¶
func UpgradePortalRegistry(ctx context.Context, def app.Definition) error
UpgradePortalRegistry upgrades the PortalRegistry predeploy.
func UpgradeSlashing ¶
func UpgradeSlashing(ctx context.Context, def app.Definition) error
UpgradeSlashing upgrades the Slashing predeploy.
func UpgradeStaking ¶
func UpgradeStaking(ctx context.Context, def app.Definition) error
UpgradeStaking upgrades the Staking predeploy.
Types ¶
type Config ¶
type Config struct {
// Chain is the Name of chain to run on. Leave empty to run on all applicable chains.
Chain string
}
func DefaultConfig ¶
func DefaultConfig() Config
type XCallConfig ¶ added in v0.8.0
type XCallConfig struct {
// Name of chain to pause/unpause xcalls to
To string
}
type XSubmitConfig ¶ added in v0.8.0
type XSubmitConfig struct {
// Name of chain to pause/unpause xsubmits from
From string
}