File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 " packages/*"
44 ],
55 "npmClient" : " yarn" ,
6- "version" : " 3.1.3 " ,
6+ "version" : " 3.2.1 " ,
77 "stream" : " true" ,
88 "command" : {
99 "version" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " root" ,
33 "private" : true ,
4- "version" : " 3.2.0 " ,
4+ "version" : " 3.2.1 " ,
55 "engines" : {
66 "node" : " >=18.0.0"
77 },
Original file line number Diff line number Diff line change 44 "publishConfig" : {
55 "access" : " public"
66 },
7- "version" : " 3.2.0 " ,
7+ "version" : " 3.2.1 " ,
88 "description" : " The API module of Etherspot bundler client" ,
99 "author" : " Etherspot" ,
1010 "homepage" : " https://github.com/etherspot/skandha#readme" ,
3434 "dependencies" : {
3535 "@fastify/cors" : " 9.0.1" ,
3636 "@fastify/websocket" : " 10.0.1" ,
37- "@skandha/executor" : " ^3.2.0 " ,
38- "@skandha/monitoring" : " ^3.2.0 " ,
39- "@skandha/types" : " ^3.2.0 " ,
40- "@skandha/utils" : " ^3.2.0 " ,
37+ "@skandha/executor" : " ^3.2.1 " ,
38+ "@skandha/monitoring" : " ^3.2.1 " ,
39+ "@skandha/types" : " ^3.2.1 " ,
40+ "@skandha/utils" : " ^3.2.1 " ,
4141 "class-transformer" : " 0.5.1" ,
4242 "class-validator" : " 0.14.1" ,
4343 "dotenv" : " 17.2.2" ,
Original file line number Diff line number Diff line change 44 "publishConfig" : {
55 "access" : " public"
66 },
7- "version" : " 3.2.0 " ,
7+ "version" : " 3.2.1 " ,
88 "description" : " > TODO: description" ,
99 "author" : " zincoshine <psramanuj@gmail.com>" ,
1010 "homepage" : " https://github.com/etherspot/skandha#readme" ,
4040 "@libp2p/peer-id-factory" : " 2.0.1" ,
4141 "@libp2p/prometheus-metrics" : " 1.1.3" ,
4242 "@multiformats/multiaddr" : " 12.1.3" ,
43- "@skandha/api" : " ^3.2.0 " ,
44- "@skandha/db" : " ^3.2.0 " ,
45- "@skandha/executor" : " ^3.2.0 " ,
46- "@skandha/monitoring" : " ^3.2.0 " ,
47- "@skandha/node" : " ^3.2.0 " ,
48- "@skandha/types" : " ^3.2.0 " ,
43+ "@skandha/api" : " ^3.2.1 " ,
44+ "@skandha/db" : " ^3.2.1 " ,
45+ "@skandha/executor" : " ^3.2.1 " ,
46+ "@skandha/monitoring" : " ^3.2.1 " ,
47+ "@skandha/node" : " ^3.2.1 " ,
48+ "@skandha/types" : " ^3.2.1 " ,
4949 "find-up" : " 5.0.0" ,
5050 "got" : " 12.5.3" ,
5151 "js-yaml" : " 4.1.0" ,
Original file line number Diff line number Diff line change 44 "publishConfig" : {
55 "access" : " public"
66 },
7- "version" : " 3.2.0 " ,
7+ "version" : " 3.2.1 " ,
88 "description" : " The DB module of Etherspot bundler client" ,
99 "author" : " Etherspot" ,
1010 "homepage" : " https://github.com/etherspot/etherspot-bundler#readme" ,
3434 "dependencies" : {
3535 "@chainsafe/ssz" : " 0.10.1" ,
3636 "@farcaster/rocksdb" : " 5.5.0" ,
37- "@skandha/types" : " ^3.2.0 "
37+ "@skandha/types" : " ^3.2.1 "
3838 },
3939 "devDependencies" : {
4040 "@types/rocksdb" : " 3.0.1" ,
Original file line number Diff line number Diff line change 44 "publishConfig" : {
55 "access" : " public"
66 },
7- "version" : " 3.2.0 " ,
7+ "version" : " 3.2.1 " ,
88 "description" : " The Relayer module of Etherspot bundler client" ,
99 "author" : " Etherspot" ,
1010 "homepage" : " https://github.com/etherspot/skandha#readme" ,
3535 },
3636 "dependencies" : {
3737 "@flashbots/ethers-provider-bundle" : " 0.6.2" ,
38- "@skandha/monitoring" : " ^3.2.0 " ,
39- "@skandha/params" : " ^3.2.0 " ,
40- "@skandha/types" : " ^3.2.0 " ,
41- "@skandha/utils" : " ^3.2.0 " ,
38+ "@skandha/monitoring" : " ^3.2.1 " ,
39+ "@skandha/params" : " ^3.2.1 " ,
40+ "@skandha/types" : " ^3.2.1 " ,
41+ "@skandha/utils" : " ^3.2.1 " ,
4242 "async-mutex" : " 0.4.0" ,
4343 "axios" : " ^1.9.0" ,
4444 "ethers" : " 5.7.2" ,
Original file line number Diff line number Diff line change @@ -246,6 +246,13 @@ export class Config {
246246 )
247247 ) ;
248248
249+ config . waitForConfirmationInterval = Number (
250+ fromEnvVar (
251+ "WAIT_FOR_CONFIRMATION_INTERVAL" ,
252+ config . waitForConfirmationInterval || bundlerDefaultConfigs . waitForConfirmationInterval
253+ )
254+ ) ;
255+
249256 config . bundleSize = Number (
250257 fromEnvVar (
251258 "BUNDLE_SIZE" ,
@@ -624,6 +631,7 @@ const bundlerDefaultConfigs: BundlerConfig = {
624631 } ,
625632 bundleGasLimitMarkup : 25000 ,
626633 bundleInterval : 10000 , // 10 seconds
634+ waitForConfirmationInterval : 1000 , // 1 second
627635 bundleSize : 4 , // max size of bundle (in terms of user ops)
628636 relayingMode : "classic" ,
629637 canonicalMempoolId : "" ,
@@ -657,7 +665,7 @@ const bundlerDefaultConfigs: BundlerConfig = {
657665 tenderlySave : true ,
658666 rpcTimeout : "10s" ,
659667 eip7702 : false ,
660- pollingInterval : 4000 ,
668+ pollingInterval : 3000 ,
661669 disableWatchContract : false ,
662670 epSimulationsContract : "" ,
663671 pimlicoSimulationsContract : "" ,
Original file line number Diff line number Diff line change @@ -144,6 +144,8 @@ export interface NetworkConfig {
144144 // Interval of bundling
145145 // default is 10 seconds
146146 bundleInterval : number ;
147+ // Interval to wait of entries after submission
148+ waitForConfirmationInterval : number ;
147149 // max bundle size in terms of user ops
148150 // default is 4
149151 bundleSize : number ;
Original file line number Diff line number Diff line change @@ -123,6 +123,8 @@ export class Skandha {
123123 bundleGasLimitMarkup : this . networkConfig . bundleGasLimitMarkup ,
124124 relayingMode : this . networkConfig . relayingMode ,
125125 bundleInterval : this . networkConfig . bundleInterval ,
126+ pollingInterval : this . networkConfig . pollingInterval ,
127+ waitForConfirmationInterval : this . networkConfig . waitForConfirmationInterval ,
126128 bundleSize : this . networkConfig . bundleSize ,
127129 canonicalMempoolId : this . networkConfig . canonicalMempoolId ,
128130 canonicalEntryPoint : this . networkConfig . canonicalEntryPoint ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import { ExecutorEventBus } from "../../SubscriptionService.js";
2121import { EntryPointService } from "../../EntryPointService/index.js" ;
2222import { getViemChainDef } from "../utils/chains.js" ;
2323
24- const WAIT_FOR_TX_MAX_RETRIES = 3 ; // 3 blocks
24+ const WAIT_FOR_TX_MAX_RETRIES = 120 ; // 3 blocks
2525
2626export abstract class BaseRelayer implements IRelayingMode {
2727 protected relayers : Relayer [ ] ;
@@ -86,7 +86,7 @@ export abstract class BaseRelayer implements IRelayingMode {
8686 }
8787 clearInterval ( interval ) ;
8888 resolve ( ) ;
89- } , this . networkConfig . bundleInterval ) ;
89+ } , this . networkConfig . waitForConfirmationInterval ) ;
9090 } ) ;
9191 }
9292
You can’t perform that action at this time.
0 commit comments