Skip to content

Commit d5cb1ce

Browse files
committed
chore: edit config.js
Signed-off-by: nikolay <[email protected]>
1 parent 3efdcad commit d5cb1ce

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

scripts/openrpc-json-updater/config.js

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff 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

2030
export 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

3440
export function shouldSkipMethod(methodName, path) {
3541
if (!methodName) return false;
@@ -85,7 +91,7 @@ export function getSkippedMethodCategory(methodName) {
8591
return false;
8692
};
8793

88-
if (DISCARDED_METHODS.some((pattern) => matchesPattern(pattern, methodName))) {
94+
if (UNSUPPORTED_METHODS.some((pattern) => matchesPattern(pattern, methodName))) {
8995
return 'discarded';
9096
}
9197

0 commit comments

Comments
 (0)