internal/ethapi: add db operations to api (#24739)

Adds `debug_dbGet` method to rpc api
This commit is contained in:
Sina Mahmoodi
2022-04-27 08:37:48 +02:00
committed by GitHub
parent a52bcccfe1
commit 16701c5169
4 changed files with 29 additions and 13 deletions
+5
View File
@@ -471,6 +471,11 @@ web3._extend({
params: 2,
inputFormatter:[web3._extend.formatters.inputBlockNumberFormatter, web3._extend.formatters.inputBlockNumberFormatter],
}),
new web3._extend.Method({
name: 'dbGet',
call: 'debug_dbGet',
params: 1
}),
],
properties: []
});