You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimize Bootstrapper to Minimize Zero-Fee Contract Deployments
Description
Currently, all L2 contracts in the bootstrapper are being declared and deployed with zero fees, which is not optimal. We need to restructure the flow to minimize zero-fee operations, using them only when absolutely necessary.
Current Issue
All L2 contract declarations and deployments are using zero fees
This includes contracts that could be deployed with actual fees after initial setup
Proposed Solution
Implement a sequential deployment flow that minimizes zero-fee operations:
Zero-Fee Required Steps
Declare OZ account contract and create initial account
Declare ERC20 token and create ETH token
Declare and deploy ETH bridge
Fund Transfer
Deposit funds from L1 to L2 to enable paid transactions
Paid Operations
Use the funded account to declare and deploy remaining contracts with proper fees
Benefits
Minimizes zero-fee operations to only essential initial setup
Improves system security and economic model
Maintains proper fee structure for most contract deployments
The text was updated successfully, but these errors were encountered:
Title
Optimize Bootstrapper to Minimize Zero-Fee Contract Deployments
Description
Currently, all L2 contracts in the bootstrapper are being declared and deployed with zero fees, which is not optimal. We need to restructure the flow to minimize zero-fee operations, using them only when absolutely necessary.
Current Issue
Proposed Solution
Implement a sequential deployment flow that minimizes zero-fee operations:
Zero-Fee Required Steps
Fund Transfer
Paid Operations
Benefits
The text was updated successfully, but these errors were encountered: