File tree 1 file changed +0
-26
lines changed
src/shared/utils/transaction
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 (
82
82
) ;
83
83
}
84
84
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
-
98
85
queuedTransaction = {
99
86
...queuedTransaction ,
100
87
isUserOp : true ,
@@ -124,19 +111,6 @@ export const insertTransaction = async (
124
111
// entrypointAddress is not set
125
112
// accountFactoryAddress is not set
126
113
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
-
140
114
queuedTransaction = {
141
115
...queuedTransaction ,
142
116
entrypointAddress : walletDetails . entrypointAddress ?? undefined ,
You can’t perform that action at this time.
0 commit comments