@@ -155,6 +155,8 @@ func newEVMReader(ctx context.Context, c *CreateInfo, s *Service) service.IServi
155155 readerArgs := evmreader.CreateInfo {
156156 CreateInfo : service.CreateInfo {
157157 Name : "evm-reader" ,
158+ Context : s .Context ,
159+ Cancel : s .Cancel ,
158160 LogLevel : c .Config .LogLevel ,
159161 LogColor : c .Config .LogColor ,
160162 EnableSignalHandling : false ,
@@ -179,6 +181,8 @@ func newAdvancer(ctx context.Context, c *CreateInfo, s *Service) service.IServic
179181 advancerArgs := advancer.CreateInfo {
180182 CreateInfo : service.CreateInfo {
181183 Name : "advancer" ,
184+ Context : s .Context ,
185+ Cancel : s .Cancel ,
182186 LogLevel : c .Config .LogLevel ,
183187 LogColor : c .Config .LogColor ,
184188 EnableSignalHandling : false ,
@@ -202,6 +206,8 @@ func newValidator(ctx context.Context, c *CreateInfo, s *Service) service.IServi
202206 validatorArgs := validator.CreateInfo {
203207 CreateInfo : service.CreateInfo {
204208 Name : "validator" ,
209+ Context : s .Context ,
210+ Cancel : s .Cancel ,
205211 LogLevel : c .Config .LogLevel ,
206212 LogColor : c .Config .LogColor ,
207213 EnableSignalHandling : false ,
@@ -225,6 +231,8 @@ func newClaimer(ctx context.Context, c *CreateInfo, s *Service) service.IService
225231 claimerArgs := claimer.CreateInfo {
226232 CreateInfo : service.CreateInfo {
227233 Name : "claimer" ,
234+ Context : s .Context ,
235+ Cancel : s .Cancel ,
228236 LogLevel : c .Config .LogLevel ,
229237 LogColor : c .Config .LogColor ,
230238 EnableSignalHandling : false ,
@@ -249,6 +257,8 @@ func newJsonrpc(ctx context.Context, c *CreateInfo, s *Service) service.IService
249257 jsonrpcArgs := jsonrpc.CreateInfo {
250258 CreateInfo : service.CreateInfo {
251259 Name : "jsonrpc" ,
260+ Context : s .Context ,
261+ Cancel : s .Cancel ,
252262 LogLevel : c .Config .LogLevel ,
253263 LogColor : c .Config .LogColor ,
254264 EnableSignalHandling : false ,
@@ -271,6 +281,8 @@ func newPrt(ctx context.Context, c *CreateInfo, s *Service) service.IService {
271281 prtArgs := prt.CreateInfo {
272282 CreateInfo : service.CreateInfo {
273283 Name : "prt" ,
284+ Context : s .Context ,
285+ Cancel : s .Cancel ,
274286 LogLevel : c .Config .LogLevel ,
275287 LogColor : c .Config .LogColor ,
276288 EnableSignalHandling : false ,
0 commit comments