mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-11-04 03:57:44 +00:00 
			
		
		
		
	update quorum to 10% (#1002)
This commit is contained in:
		
							parent
							
								
									0714d6120e
								
							
						
					
					
						commit
						346501aa58
					
				@ -261,8 +261,8 @@ func Committee(genesisState v0_14committee.GenesisState) v0_15committee.GenesisS
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// ---------------------------- Initialize hard governance committee ----------------------------
 | 
						// ---------------------------- Initialize hard governance committee ----------------------------
 | 
				
			||||||
	hardGovDuration := time.Duration(time.Hour * 24 * 7)
 | 
						hardGovDuration := time.Duration(time.Hour * 24 * 7)
 | 
				
			||||||
	hardGovThreshold := sdk.MustNewDecFromStr("0.5")
 | 
						hardGovThreshold := sdk.MustNewDecFromStr("0.5") // 50%
 | 
				
			||||||
	hardGovQuorum := sdk.MustNewDecFromStr("0.33")
 | 
						hardGovQuorum := sdk.MustNewDecFromStr("0.1")    // 10%
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	hardGovCom := v0_15committee.NewTokenCommittee(3, "Hard Governance Committee", stabilityComMembers,
 | 
						hardGovCom := v0_15committee.NewTokenCommittee(3, "Hard Governance Committee", stabilityComMembers,
 | 
				
			||||||
		[]v0_15committee.Permission{}, hardGovThreshold, hardGovDuration, v0_15committee.Deadline,
 | 
							[]v0_15committee.Permission{}, hardGovThreshold, hardGovDuration, v0_15committee.Deadline,
 | 
				
			||||||
@ -301,8 +301,8 @@ func Committee(genesisState v0_14committee.GenesisState) v0_15committee.GenesisS
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// ---------------------------- Initialize swp governance committee ----------------------------
 | 
						// ---------------------------- Initialize swp governance committee ----------------------------
 | 
				
			||||||
	swpGovDuration := time.Duration(time.Hour * 24 * 7)
 | 
						swpGovDuration := time.Duration(time.Hour * 24 * 7)
 | 
				
			||||||
	swpGovThreshold := sdk.MustNewDecFromStr("0.5")
 | 
						swpGovThreshold := sdk.MustNewDecFromStr("0.5") // 50%
 | 
				
			||||||
	swpGovQuorum := sdk.MustNewDecFromStr("0.33")
 | 
						swpGovQuorum := sdk.MustNewDecFromStr("0.1")    // 10%
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	swpGovCom := v0_15committee.NewTokenCommittee(4, "Swp Governance Committee", stabilityComMembers,
 | 
						swpGovCom := v0_15committee.NewTokenCommittee(4, "Swp Governance Committee", stabilityComMembers,
 | 
				
			||||||
		[]v0_15committee.Permission{}, swpGovThreshold, swpGovDuration, v0_15committee.Deadline,
 | 
							[]v0_15committee.Permission{}, swpGovThreshold, swpGovDuration, v0_15committee.Deadline,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user