File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
scripts/openrpc-json-updater Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -15,21 +15,27 @@ export const CUSTOM_FIELDS = [
15
15
'eth_sendRawTransaction.summary' ,
16
16
] ;
17
17
18
- export const DISCARDED_METHODS = [ 'engine_*' ] ;
18
+ export const UNSUPPORTED_METHODS = [
19
+ 'engine_*' ,
20
+ 'eth_coinbase' ,
21
+ 'eth_blobBaseFee' ,
22
+ 'eth_syncing' ,
23
+ 'eth_getProof' ,
24
+ 'eth_createAccessList' ,
25
+ 'eth_sendTransaction' ,
26
+ 'eth_sign' ,
27
+ 'eth_signTransaction' ,
28
+ ] ;
19
29
20
30
export const NOT_IMPLEMENTED_METHODS = [
21
31
'debug_getBadBlocks' ,
22
32
'debug_getRawBlock' ,
23
33
'debug_getRawHeader' ,
24
34
'debug_getRawReceipts' ,
25
35
'debug_getRawTransaction' ,
26
- 'eth_coinbase' ,
27
- 'eth_blobBaseFee' ,
28
- 'eth_syncing' ,
29
- 'eth_getProof' ,
30
36
] ;
31
37
32
- export const SKIPPED_METHODS = [ ...DISCARDED_METHODS , ...NOT_IMPLEMENTED_METHODS ] ;
38
+ export const SKIPPED_METHODS = [ ...UNSUPPORTED_METHODS , ...NOT_IMPLEMENTED_METHODS ] ;
33
39
34
40
export function shouldSkipMethod ( methodName , path ) {
35
41
if ( ! methodName ) return false ;
@@ -85,7 +91,7 @@ export function getSkippedMethodCategory(methodName) {
85
91
return false ;
86
92
} ;
87
93
88
- if ( DISCARDED_METHODS . some ( ( pattern ) => matchesPattern ( pattern , methodName ) ) ) {
94
+ if ( UNSUPPORTED_METHODS . some ( ( pattern ) => matchesPattern ( pattern , methodName ) ) ) {
89
95
return 'discarded' ;
90
96
}
91
97
You can’t perform that action at this time.
0 commit comments