internal: remove eth_{compile,getWork,submitWork} from console #31856 (#1408)

This commit is contained in:
Daniel Liu 2025-09-03 15:41:09 +08:00 committed by GitHub
parent eb770486f2
commit e711a77747
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5474,36 +5474,6 @@ var methods = function () {
outputFormatter: utils.toDecimal
});
var compileSolidity = new Method({
name: 'compile.solidity',
call: 'eth_compileSolidity',
params: 1
});
var compileLLL = new Method({
name: 'compile.lll',
call: 'eth_compileLLL',
params: 1
});
var compileSerpent = new Method({
name: 'compile.serpent',
call: 'eth_compileSerpent',
params: 1
});
var submitWork = new Method({
name: 'submitWork',
call: 'eth_submitWork',
params: 3
});
var getWork = new Method({
name: 'getWork',
call: 'eth_getWork',
params: 0
});
var getCandidateStatus = new Method({
name: 'getCandidateStatus',
call: 'eth_getCandidateStatus',
@ -5540,12 +5510,7 @@ var methods = function () {
sendRawTransaction,
signTransaction,
sendTransaction,
sign,
compileSolidity,
compileLLL,
compileSerpent,
submitWork,
getWork
sign
];
};