File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
src/shared/utils/transaction Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -82,19 +82,6 @@ export const insertTransaction = async (
8282 ) ;
8383 }
8484
85- if (
86- ! ( await doesChainSupportService (
87- queuedTransaction . chainId ,
88- "account-abstraction" ,
89- ) )
90- ) {
91- throw createCustomError (
92- "Chain does not support smart backend wallets" ,
93- StatusCodes . BAD_REQUEST ,
94- "SBW_CHAIN_NOT_SUPPORTED" ,
95- ) ;
96- }
97-
9885 queuedTransaction = {
9986 ...queuedTransaction ,
10087 isUserOp : true ,
@@ -124,19 +111,6 @@ export const insertTransaction = async (
124111 // entrypointAddress is not set
125112 // accountFactoryAddress is not set
126113 if ( walletDetails && isSmartBackendWallet ( walletDetails ) ) {
127- if (
128- ! ( await doesChainSupportService (
129- queuedTransaction . chainId ,
130- "account-abstraction" ,
131- ) )
132- ) {
133- throw createCustomError (
134- "Chain does not support smart backend wallets" ,
135- StatusCodes . BAD_REQUEST ,
136- "SBW_CHAIN_NOT_SUPPORTED" ,
137- ) ;
138- }
139-
140114 queuedTransaction = {
141115 ...queuedTransaction ,
142116 entrypointAddress : walletDetails . entrypointAddress ?? undefined ,
You can’t perform that action at this time.
0 commit comments