Handle values from the metadata files

This commit is contained in:
Omar Abdulla
2025-07-22 09:24:09 +03:00
parent 5c957e5ac1
commit e7ebe4fa2f
5 changed files with 53 additions and 8 deletions
+2 -1
View File
@@ -85,7 +85,8 @@ impl Instance {
<EthereumWallet as NetworkWallet<Ethereum>>::signer_addresses(&self.wallet)
{
genesis.alloc.entry(signer_address).or_insert(
GenesisAccount::default().with_balance(1000000000000000000u128.try_into().unwrap()),
GenesisAccount::default()
.with_balance(10000000000000000000000u128.try_into().unwrap()),
);
}
let genesis_path = self.base_directory.join(Self::GENESIS_JSON_FILE);
+1 -1
View File
@@ -131,7 +131,7 @@ impl KitchensinkNode {
{
genesis.alloc.entry(signer_address).or_insert(
GenesisAccount::default()
.with_balance(1000000000000000000u128.try_into().unwrap()),
.with_balance(10000000000000000000000u128.try_into().unwrap()),
);
}
self.extract_balance_from_genesis_file(&genesis)?