forked from ghostchain/ghost-node
		
	extend genesis config with ghost sudo
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
		
							parent
							
								
									384380ad55
								
							
						
					
					
						commit
						3380d16dc9
					
				@ -17,7 +17,7 @@ homepage.workspace = true
 | 
				
			|||||||
[workspace.package]
 | 
					[workspace.package]
 | 
				
			||||||
license = "GPL-3.0-only"
 | 
					license = "GPL-3.0-only"
 | 
				
			||||||
authors = ["571nky", "57r37ch", "f4750"]
 | 
					authors = ["571nky", "57r37ch", "f4750"]
 | 
				
			||||||
version = "0.7.202"
 | 
					version = "0.7.203"
 | 
				
			||||||
edition = "2021"
 | 
					edition = "2021"
 | 
				
			||||||
homepage = "https://ghostchain.io"
 | 
					homepage = "https://ghostchain.io"
 | 
				
			||||||
repository = "https://git.ghostchain.io/ghostchain/ghost-node"
 | 
					repository = "https://git.ghostchain.io/ghostchain/ghost-node"
 | 
				
			||||||
 | 
				
			|||||||
@ -272,6 +272,11 @@ pub fn testnet_config_genesis(
 | 
				
			|||||||
        "babe": {
 | 
					        "babe": {
 | 
				
			||||||
            "epochConfig": Some(casper::BABE_GENESIS_EPOCH_CONFIG),
 | 
					            "epochConfig": Some(casper::BABE_GENESIS_EPOCH_CONFIG),
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
 | 
					        "ghostSudo": {
 | 
				
			||||||
 | 
					            "key": endowed_accounts
 | 
				
			||||||
 | 
					                .first()
 | 
				
			||||||
 | 
					                .cloned(),
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
        "ghostNetworks": {
 | 
					        "ghostNetworks": {
 | 
				
			||||||
            "networks": evm_networks,
 | 
					            "networks": evm_networks,
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
@ -709,6 +714,11 @@ fn casper_staging_config_genesis() -> serde_json::Value {
 | 
				
			|||||||
        "babe": {
 | 
					        "babe": {
 | 
				
			||||||
            "epochConfig": Some(casper::BABE_GENESIS_EPOCH_CONFIG),
 | 
					            "epochConfig": Some(casper::BABE_GENESIS_EPOCH_CONFIG),
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
 | 
					        "ghostSudo": {
 | 
				
			||||||
 | 
					            "key": endowed_accounts
 | 
				
			||||||
 | 
					                .first()
 | 
				
			||||||
 | 
					                .cloned(),
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
        "ghostNetworks": {
 | 
					        "ghostNetworks": {
 | 
				
			||||||
            "networks": evm_networks,
 | 
					            "networks": evm_networks,
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user