@@ -91,6 +91,15 @@ func CommandServe(cfg *config.Config) *cli.Command {
9191 Value : 4 ,
9292 },
9393
94+ & cli.Int64Flag { // --l2-flashtestations-per-block
95+ Category : strings .ToUpper (categoryL2 ),
96+ Destination : & cfg .L2 .FlashtestationsPerBlock ,
97+ EnvVars : []string {envPrefix + strings .ToUpper (categoryL2 ) + "_FLASHTESTATIONS_PER_BLOCK" },
98+ Name : categoryL2 + "-flashtestations-per-block" ,
99+ Usage : "expected count of flashtestations per block on l2" ,
100+ Value : 1 ,
101+ },
102+
94103 & cli.Uint64Flag {
95104 Category : strings .ToUpper (categoryL2 ),
96105 Destination : & cfg .L2 .GenesisTime ,
@@ -122,9 +131,59 @@ func CommandServe(cfg *config.Config) *cli.Command {
122131 EnvVars : []string {envPrefix + strings .ToUpper (categoryL2 ) + "_MONITOR_BUILDER_POLICY_CONTRACT_FUNCTION_SIGNATURE" },
123132 Name : categoryL2 + "-monitor-builder-policy-contract-function-signature" ,
124133 Usage : "l2 builder flashtestations policy contract function `signature` to monitor" ,
125- Value : "verifyBlockBuilderProof(uint8,bytes32)" ,
134+ Value : "permitVerifyBlockBuilderProof(uint8,bytes32,uint256,bytes)" ,
135+ },
136+
137+ & cli.StringFlag { // --l2-monitor-flashtestations-registry-contract
138+ Category : strings .ToUpper (categoryL2 ),
139+ Destination : & cfg .L2 .MonitorFlashtestationRegistryContract ,
140+ EnvVars : []string {envPrefix + strings .ToUpper (categoryL2 ) + "_MONITOR_FLASHTESTATIONS_REGISTRY_CONTRACT" },
141+ Name : categoryL2 + "-monitor-flashtestations-registry-contract" ,
142+ Usage : "l2 builder flashtestations registry contract `address` to monitor" ,
143+ },
144+
145+ & cli.StringFlag { // --l2-monitor-flashtestations-registry-function-signature
146+ Category : strings .ToUpper (categoryL2 ),
147+ Destination : & cfg .L2 .MonitorFlashtestationRegistryFunctionSignature ,
148+ EnvVars : []string {envPrefix + strings .ToUpper (categoryL2 ) + "_MONITOR_FLASHTESTATIONS_REGISTRY_CONTRACT_FUNCTION_SIGNATURE" },
149+ Name : categoryL2 + "-monitor-flashtestations-registry-contract-function-signature" ,
150+ Usage : "l2 builder flashtestations registry contract function `signature` to monitor" ,
151+ Value : "permitRegisterTEEService(bytes,bytes,uint256,uint256,bytes)" ,
152+ },
153+
154+ & cli.StringFlag { // --l2-monitor-flashtestations-registry-event-signature
155+ Category : strings .ToUpper (categoryL2 ),
156+ Destination : & cfg .L2 .MonitorFlashtestationRegistryEventSignature ,
157+ EnvVars : []string {envPrefix + strings .ToUpper (categoryL2 ) + "_MONITOR_FLASHTESTATIONS_REGISTRY_CONTRACT_FUNCTION_SIGNATURE" },
158+ Name : categoryL2 + "-monitor-flashtestations-registry-contract-function-signature" ,
159+ Usage : "l2 builder flashtestations registry contract event `signature` to monitor" ,
160+ Value : "TEEServiceRegistered(address,bytes,bool)" ,
126161 },
127162
163+ & cli.StringFlag { // --l2-builder-policy-owner-private-key
164+ Category : strings .ToUpper (categoryL2 ),
165+ Destination : & cfg .L2 .AuthorizeWorkloadIdTx .PrivateKey ,
166+ EnvVars : []string {envPrefix + strings .ToUpper (categoryL2 ) + "_BUILDER_POLICY_OWNER_PRIVATE_KEY" },
167+ Name : categoryL2 + "-builder-policy-owner-private-key" ,
168+ Usage : "builder policy owner private `key` to authorize the builder's workload id" ,
169+ },
170+
171+ & cli.StringFlag { // --l2-monitor-flashblock-number-contract
172+ Category : strings .ToUpper (categoryL2 ),
173+ Destination : & cfg .L2 .MonitorFlashblockNumberContract ,
174+ EnvVars : []string {envPrefix + strings .ToUpper (categoryL2 ) + "_MONITOR_FLASHBLOCK_NUMBER_CONTRACT" },
175+ Name : categoryL2 + "-monitor-flashblock-number-contract" ,
176+ Usage : "l2 builder flashblock number contract `address` to monitor" ,
177+ },
178+
179+ & cli.StringFlag { // --l2-monitor-flashblock-number-contract-function-signature
180+ Category : strings .ToUpper (categoryL2 ),
181+ Destination : & cfg .L2 .MonitorFlashblockNumberContractFunctionSignature ,
182+ EnvVars : []string {envPrefix + strings .ToUpper (categoryL2 ) + "_MONITOR_FLASHBLOCK_NUMBER_CONTRACT_FUNCTION_SIGNATURE" },
183+ Name : categoryL2 + "-monitor-flashblock-number-contract-function-signature" ,
184+ Usage : "l2 builder flashblock number contract function `signature` to monitor" ,
185+ Value : "incrementFlashblockNumber()" ,
186+ },
128187 & cli.StringFlag { // --l2-monitor-flashblock-number-contract
129188 Category : strings .ToUpper (categoryL2 ),
130189 Destination : & cfg .L2 .MonitorFlashblockNumberContract ,
0 commit comments