File tree 2 files changed +5
-5
lines changed
packages/network-controller/src/rpc-service
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ describe('RpcService', () => {
362
362
jsonrpc : '2.0' ,
363
363
error : {
364
364
code : - 32601 ,
365
- message : 'Method not supported by this RPC endpoint ' ,
365
+ message : 'The method does not exist / is not available. ' ,
366
366
} ,
367
367
} ) ;
368
368
} ) ;
@@ -452,7 +452,7 @@ describe('RpcService', () => {
452
452
jsonrpc : '2.0' ,
453
453
error : {
454
454
code : - 32005 ,
455
- message : 'Request rate limit exceeded ' ,
455
+ message : 'Request is being rate limited. ' ,
456
456
data : {
457
457
retryAfter : 1000 ,
458
458
} ,
@@ -490,7 +490,7 @@ describe('RpcService', () => {
490
490
jsonrpc : '2.0' ,
491
491
error : {
492
492
code : - 32005 ,
493
- message : 'Request rate limit exceeded ' ,
493
+ message : 'Request is being rate limited. ' ,
494
494
data : {
495
495
retryAfter : 5000 ,
496
496
} ,
Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ export class RpcService implements AbstractRpcService {
483
483
jsonrpc : jsonRpcRequest . jsonrpc ,
484
484
error : {
485
485
code : - 32601 ,
486
- message : 'Method not supported by this RPC endpoint ' ,
486
+ message : 'The method does not exist / is not available. ' ,
487
487
} ,
488
488
} ;
489
489
}
@@ -497,7 +497,7 @@ export class RpcService implements AbstractRpcService {
497
497
jsonrpc : jsonRpcRequest . jsonrpc ,
498
498
error : {
499
499
code : - 32005 ,
500
- message : 'Request rate limit exceeded ' ,
500
+ message : 'Request is being rate limited. ' ,
501
501
data : {
502
502
retryAfter : retryDelay ,
503
503
} ,
You can’t perform that action at this time.
0 commit comments