Skip to content

Commit 33c5031

Browse files
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
1 parent e79177d commit 33c5031

File tree

1 file changed

+1
-36
lines changed

1 file changed

+1
-36
lines changed

internal/jsre/deps/web3.js

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5435,36 +5435,6 @@ var methods = function () {
54355435
outputFormatter: utils.toDecimal
54365436
});
54375437

5438-
var compileSolidity = new Method({
5439-
name: 'compile.solidity',
5440-
call: 'eth_compileSolidity',
5441-
params: 1
5442-
});
5443-
5444-
var compileLLL = new Method({
5445-
name: 'compile.lll',
5446-
call: 'eth_compileLLL',
5447-
params: 1
5448-
});
5449-
5450-
var compileSerpent = new Method({
5451-
name: 'compile.serpent',
5452-
call: 'eth_compileSerpent',
5453-
params: 1
5454-
});
5455-
5456-
var submitWork = new Method({
5457-
name: 'submitWork',
5458-
call: 'eth_submitWork',
5459-
params: 3
5460-
});
5461-
5462-
var getWork = new Method({
5463-
name: 'getWork',
5464-
call: 'eth_getWork',
5465-
params: 0
5466-
});
5467-
54685438
return [
54695439
getBalance,
54705440
getStorageAt,
@@ -5483,12 +5453,7 @@ var methods = function () {
54835453
sendRawTransaction,
54845454
signTransaction,
54855455
sendTransaction,
5486-
sign,
5487-
compileSolidity,
5488-
compileLLL,
5489-
compileSerpent,
5490-
submitWork,
5491-
getWork
5456+
sign
54925457
];
54935458
};
54945459

0 commit comments

Comments
 (0)