File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed
scripts/openrpc-json-updater Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -15,21 +15,27 @@ export const CUSTOM_FIELDS = [
1515 'eth_sendRawTransaction.summary' ,
1616] ;
1717
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+ ] ;
1929
2030export const NOT_IMPLEMENTED_METHODS = [
2131 'debug_getBadBlocks' ,
2232 'debug_getRawBlock' ,
2333 'debug_getRawHeader' ,
2434 'debug_getRawReceipts' ,
2535 'debug_getRawTransaction' ,
26- 'eth_coinbase' ,
27- 'eth_blobBaseFee' ,
28- 'eth_syncing' ,
29- 'eth_getProof' ,
3036] ;
3137
32- export const SKIPPED_METHODS = [ ...DISCARDED_METHODS , ...NOT_IMPLEMENTED_METHODS ] ;
38+ export const SKIPPED_METHODS = [ ...UNSUPPORTED_METHODS , ...NOT_IMPLEMENTED_METHODS ] ;
3339
3440export function shouldSkipMethod ( methodName , path ) {
3541 if ( ! methodName ) return false ;
@@ -85,8 +91,8 @@ export function getSkippedMethodCategory(methodName) {
8591 return false ;
8692 } ;
8793
88- if ( DISCARDED_METHODS . some ( ( pattern ) => matchesPattern ( pattern , methodName ) ) ) {
89- return 'discarded ' ;
94+ if ( UNSUPPORTED_METHODS . some ( ( pattern ) => matchesPattern ( pattern , methodName ) ) ) {
95+ return 'unsupported ' ;
9096 }
9197
9298 if ( NOT_IMPLEMENTED_METHODS . some ( ( pattern ) => matchesPattern ( pattern , methodName ) ) ) {
You can’t perform that action at this time.
0 commit comments