Pārlūkot izejas kodu

internal/web3ext: add debug_accountRange (#20410)

xinluyin 6 gadi atpakaļ
vecāks
revīzija
d556d39a2c
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      internal/web3ext/web3ext.go

+ 5 - 0
internal/web3ext/web3ext.go

@@ -227,6 +227,11 @@ const DebugJs = `
 web3._extend({
 web3._extend({
 	property: 'debug',
 	property: 'debug',
 	methods: [
 	methods: [
+		new web3._extend.Method({
+			name: 'accountRange',
+			call: 'debug_accountRange',
+			params: 2
+		}),
 		new web3._extend.Method({
 		new web3._extend.Method({
 			name: 'printBlock',
 			name: 'printBlock',
 			call: 'debug_printBlock',
 			call: 'debug_printBlock',