Skip to content

Commit b3797cd

Browse files
authored
chore(gasless-bridge): add gaslessBridgeWith7702Enabled feature flag (#568)
1 parent cd0307c commit b3797cd

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const DEFAULT_DISABLED_SMART_TRANSACTIONS_FEATURE_FLAGS = {
5151
extensionReturnTxHashAsapBatch: false,
5252
mobileReturnTxHashAsap: false,
5353
extensionSkipSmartTransactionStatusPage: false,
54+
gaslessBridgeWith7702Enabled: false,
5455
batchStatusPollingInterval: 1000,
5556
},
5657
} as const;

src/featureFlags/validators.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ export const SmartTransactionsNetworkConfigSchema = type({
4848
extensionSkipSmartTransactionStatusPage: optional(boolean()),
4949
/** Polling interval in milliseconds for batch status updates */
5050
batchStatusPollingInterval: optional(number()),
51+
/** Whether gasless bridge with 7702 is enabled for the network */
52+
gaslessBridgeWith7702Enabled: optional(boolean()),
5153
/** Custom sentinel URL for the network */
5254
sentinelUrl: optional(string()),
5355
});

0 commit comments

Comments
 (0)