code.vegaprotocol.io/vega@v0.79.0/core/limits/README.md (about)

     1  Network limits
     2  ==============
     3  
     4  This package allow the configuration of network wide limits / restriction. This restriction are set as part of the genesis
     5  block and will be valid for the whole duration of the network. The only way to update them would be to start a brand new
     6  network with a new set of these settings.
     7  
     8  Here's the list of the settings available:
     9  - `propose_market_enabled`: type=boolean,  are markets proposal allowed
    10  - `propose_asset_enabled`: type=boolean, are assets proposal allowed
    11  - `propose_market_enabled_from`: type=date, optional, from when markets proposal allowed
    12  - `propose_asset_enabled_from`: type=date, optional, from when assets proposal allowed
    13  
    14  All dates are to be specified in the RFC3339 format, any invalid date would cause the genesis state to be invalid
    15  therefore the network would stop straight away.
    16  
    17  For each setting, the boolean value have the priority to the date, this means that if both a boolean value and date are specified
    18  but also the boolean value is false, then the given setting will never be enabled.
    19  
    20  Example settings:
    21  ```json
    22  {
    23  	"app_state": {
    24  		"network_limits": {
    25  			"propose_market_enabled": true, // market proposal enabled
    26  			"popose_asset_enabled": false, // asset proposal disabled forever
    27  			"propose_market_enabled_from": "2021-12-31T23:59:59Z" // this is in UTC timezone, market proposal will be enabled at this date
    28  			// propose_asset_enabled_from is omitted
    29  		}
    30  	}
    31  }
    32  ```