eth, miner: add RPC method to modify miner gaslimit (pre london: ceiling) (#23134)

This commit is contained in:
Martin Holst Swende
2021-07-06 10:35:39 +02:00
committed by GitHub
parent 13bc9c0c6e
commit d21a069619
4 changed files with 24 additions and 0 deletions

View File

@ -641,6 +641,12 @@ web3._extend({
params: 1,
inputFormatter: [web3._extend.utils.fromDecimal]
}),
new web3._extend.Method({
name: 'setGasLimit',
call: 'miner_setGasLimit',
params: 1,
inputFormatter: [web3._extend.utils.fromDecimal]
}),
new web3._extend.Method({
name: 'setRecommitInterval',
call: 'miner_setRecommitInterval',