internal: move eth_config defn from web3.js to web3ext.go

This commit is contained in:
lightclient 2025-08-22 10:36:58 -06:00
parent 2883e3a656
commit f3c827ff48
No known key found for this signature in database
GPG key ID: 657913021EF45A6A
2 changed files with 5 additions and 4 deletions

View file

@ -5491,10 +5491,6 @@ var properties = function () {
name: 'protocolVersion', name: 'protocolVersion',
getter: 'eth_protocolVersion' getter: 'eth_protocolVersion'
}), }),
new Property({
name: 'config',
getter: 'eth_config'
})
]; ];
}; };

View file

@ -595,6 +595,11 @@ web3._extend({
call: 'eth_getBlockReceipts', call: 'eth_getBlockReceipts',
params: 1, params: 1,
}), }),
new web3._extend.Method({
name: 'config',
call: 'eth_config',
params: 0,
})
], ],
properties: [ properties: [
new web3._extend.Property({ new web3._extend.Property({