Skip to content

Commit 234325a

Browse files
committed
internal: move eth_config defn from web3.js to web3ext.go
1 parent 032ec71 commit 234325a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

internal/jsre/deps/web3.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5491,10 +5491,6 @@ var properties = function () {
54915491
name: 'protocolVersion',
54925492
getter: 'eth_protocolVersion'
54935493
}),
5494-
new Property({
5495-
name: 'config',
5496-
getter: 'eth_config'
5497-
})
54985494
];
54995495
};
55005496

internal/web3ext/web3ext.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,11 @@ web3._extend({
600600
call: 'eth_getBlockReceipts',
601601
params: 1,
602602
}),
603+
new web3._extend.Method({
604+
name: 'config',
605+
call: 'eth_config',
606+
params: 0,
607+
})
603608
],
604609
properties: [
605610
new web3._extend.Property({

0 commit comments

Comments
 (0)