mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 13:06:40 +00:00
internal: remove eth_{compile,getWork,submitWork} from console (#31856)
The `compile` and `eth_getWork` `eth_submitWork` apis were not available anymore, so try to remove them
This commit is contained in:
parent
e79177d1bc
commit
33c5031a2e
1 changed files with 1 additions and 36 deletions
|
|
@ -5435,36 +5435,6 @@ var methods = function () {
|
||||||
outputFormatter: utils.toDecimal
|
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
|
|
||||||
});
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
getBalance,
|
getBalance,
|
||||||
getStorageAt,
|
getStorageAt,
|
||||||
|
|
@ -5483,12 +5453,7 @@ var methods = function () {
|
||||||
sendRawTransaction,
|
sendRawTransaction,
|
||||||
signTransaction,
|
signTransaction,
|
||||||
sendTransaction,
|
sendTransaction,
|
||||||
sign,
|
sign
|
||||||
compileSolidity,
|
|
||||||
compileLLL,
|
|
||||||
compileSerpent,
|
|
||||||
submitWork,
|
|
||||||
getWork
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue