diff --git a/protocol/x/vault/types/genesis.go b/protocol/x/vault/types/genesis.go index 88bed0f395..90cc1b2209 100644 --- a/protocol/x/vault/types/genesis.go +++ b/protocol/x/vault/types/genesis.go @@ -4,6 +4,7 @@ package types func DefaultGenesis() *GenesisState { return &GenesisState{ DefaultQuotingParams: DefaultQuotingParams(), + OperatorParams: DefaultOperatorParams(), } } diff --git a/protocol/x/vault/types/params.go b/protocol/x/vault/types/params.go index a8e1963e8e..4236d981d1 100644 --- a/protocol/x/vault/types/params.go +++ b/protocol/x/vault/types/params.go @@ -4,6 +4,7 @@ import ( "math" "github.com/dydxprotocol/v4-chain/protocol/dtypes" + "github.com/dydxprotocol/v4-chain/protocol/lib" ) // DefaultQuotingParams returns a default set of `x/vault` parameters. @@ -70,3 +71,10 @@ func (o OperatorParams) Validate() error { return nil } + +// DefaultOperatorParams returns a default set of `x/vault` operator parameters. +func DefaultOperatorParams() OperatorParams { + return OperatorParams{ + Operator: lib.GovModuleAddress.String(), + } +}