Skip to content

Commit 05d8fca

Browse files
committed
Merge branch 'feature/hook-multiplexer-migration' of github.com:etherspot/etherspot-modular-sdk into feature/hook-multiplexer-migration
2 parents fae1c25 + 67950b7 commit 05d8fca

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

src/sdk/base/HttpRpcClient.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,15 @@ export class HttpRpcClient {
9393
const jsonRequestData: [BaseAccountUserOperationStruct, string] = [hexifiedUserOp, this.entryPointAddress];
9494
await this.printUserOperation('eth_sendUserOperation', jsonRequestData);
9595
//return await this.userOpJsonRpcProvider.send('eth_sendUserOperation', [hexifiedUserOp, this.entryPointAddress]);
96-
return await this.publicClient.request({
97-
method: 'eth_sendUserOperation',
98-
params: [hexifiedUserOp, this.entryPointAddress]
99-
});
96+
return await this.publicClient.request(
97+
{
98+
method: 'eth_sendUserOperation',
99+
params: [hexifiedUserOp, this.entryPointAddress]
100+
},
101+
{
102+
retryCount: 0
103+
}
104+
);
100105
} catch (err) {
101106
console.log(`error inside sendUserOpToBundler: ${JSON.stringify(err)}`);
102107
this.handleRPCError(err);

0 commit comments

Comments
 (0)