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
returnfmt.Errorf("unknown tx state validation: %s", txStateValidation)
250
+
}
251
+
244
252
returnnil
245
253
}
246
254
@@ -261,7 +269,8 @@ var (
261
269
cloudKMSProjectID,
262
270
cloudKMSLocationID,
263
271
cloudKMSKeyRingID,
264
-
walletKeystring
272
+
walletKey,
273
+
txStateValidationstring
265
274
266
275
streamTimeoutint
267
276
@@ -303,4 +312,5 @@ func init() {
303
312
Cmd.Flags().BoolVar(&cfg.ProfilerEnabled, "profiler-enabled", false, "Run the profiler server to capture pprof data.")
304
313
Cmd.Flags().StringVar(&cfg.ProfilerHost, "profiler-host", "localhost", "Host for the Profiler server")
305
314
Cmd.Flags().IntVar(&cfg.ProfilerPort, "profiler-port", 6060, "Port for the Profiler server")
315
+
Cmd.Flags().StringVar(&txStateValidation, "tx-state-validation", "tx-seal", "Sets the transaction validation mechanism. It can validate using the local state index, or wait for the outer Flow transaction to seal. Available values ('local-index' / 'tx-seal'), defaults to 'tx-seal'.")
0 commit comments