Browse Source

internal/web3ext: add debug_accountRange (#20410)

xinluyin 6 năm trước cách đây
mục cha
commit
d556d39a2c
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      internal/web3ext/web3ext.go

+ 5 - 0
internal/web3ext/web3ext.go

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