Skip to content

Genesis config: custom account types #1429

@mmagician

Description

@mmagician

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:

  • AggLayerBridge
  • MultisigWallet
  • AggLayerFaucet

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.

Metadata

Metadata

Assignees

Labels

nodeRelated to the node component

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions