-
Notifications
You must be signed in to change notification settings - Fork 99
Description
As part of the AggLayer integration efforts, we would like to have an ability to bootstrap the node with AggLayerBridge account in the genesis.
This would be a network account with a few items in storage, such as the bridge_owner (another account that's deployed at genesis time) - probably a multisig.
We further need the bridge contract's registry to point to a few AggLayerFaucet accounts (each with its own configuration). The faucet registry is another storage entry. The AggLayerFaucet accounts should also be deployed.
We could take either a very specialized approach here and add support for the three account types:
AggLayerBridgeMultisigWalletAggLayerFaucet
With one custom account type, a specialized approach might have worked. But IMO since we have three account types that we care about, it's better to have infrastructure in place that allows for specifying any custom account type at genesis.