Skip to content

Commit

Permalink
internal/web3ext: update console definitions with new debug names
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed Aug 9, 2022
1 parent 62f884b commit 1c11ccd
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions internal/web3ext/web3ext.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,20 +224,25 @@ web3._extend({
outputFormatter: console.log
}),
new web3._extend.Method({
name: 'getHeaderRlp',
call: 'debug_getHeaderRlp',
name: 'getRawHeader',
call: 'debug_getRawHeader',
params: 1
}),
new web3._extend.Method({
name: 'getBlockRlp',
call: 'debug_getBlockRlp',
name: 'getRawBlock',
call: 'debug_getRawBlock',
params: 1
}),
new web3._extend.Method({
name: 'getRawReceipts',
call: 'debug_getRawReceipts',
params: 1
}),
new web3._extend.Method({
name: 'getRawTransaction',
call: 'debug_getRawTransaction',
params: 1
}),
new web3._extend.Method({
name: 'setHead',
call: 'debug_setHead',
Expand Down

0 comments on commit 1c11ccd

Please sign in to comment.