mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 19:48:13 +00:00
changed getCode to getData
This commit is contained in:
parent
1fa7fa6958
commit
181f1093e6
4
dist/ethereum.js
vendored
4
dist/ethereum.js
vendored
@ -594,7 +594,7 @@ var methods = [
|
||||
{ name: 'getState', call: 'eth_stateAt' },
|
||||
{ name: 'getStorage', call: 'eth_storageAt' },
|
||||
{ name: 'getTransactionCount', call: 'eth_countAt'},
|
||||
{ name: 'getCode', call: 'eth_codeAt' },
|
||||
{ name: 'getData', call: 'eth_codeAt' },
|
||||
{ name: 'sendTransaction', call: 'eth_transact', inputFormatter: formatters.inputTransactionFormatter },
|
||||
{ name: 'call', call: 'eth_call' },
|
||||
{ name: 'getBlock', call: blockCall },
|
||||
@ -613,7 +613,7 @@ var methods = [
|
||||
{ name: 'stateAt', call: 'eth_stateAt', newMethod: 'getState' },
|
||||
{ name: 'storageAt', call: 'eth_storageAt', newMethod: 'getStorage' },
|
||||
{ name: 'countAt', call: 'eth_countAt', newMethod: 'getTransactionCount' },
|
||||
{ name: 'codeAt', call: 'eth_codeAt', newMethod: 'getCode' },
|
||||
{ name: 'codeAt', call: 'eth_codeAt', newMethod: 'getData' },
|
||||
{ name: 'transact', call: 'eth_transact', newMethod: 'sendTransaction' },
|
||||
{ name: 'block', call: blockCall, newMethod: 'getBlock' },
|
||||
{ name: 'transaction', call: transactionCall, newMethod: 'getTransaction' },
|
||||
|
2
dist/ethereum.js.map
vendored
2
dist/ethereum.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/ethereum.min.js
vendored
2
dist/ethereum.min.js
vendored
File diff suppressed because one or more lines are too long
@ -49,7 +49,7 @@ var methods = [
|
||||
{ name: 'getState', call: 'eth_stateAt' },
|
||||
{ name: 'getStorage', call: 'eth_storageAt' },
|
||||
{ name: 'getTransactionCount', call: 'eth_countAt'},
|
||||
{ name: 'getCode', call: 'eth_codeAt' },
|
||||
{ name: 'getData', call: 'eth_codeAt' },
|
||||
{ name: 'sendTransaction', call: 'eth_transact', inputFormatter: formatters.inputTransactionFormatter },
|
||||
{ name: 'call', call: 'eth_call' },
|
||||
{ name: 'getBlock', call: blockCall },
|
||||
@ -68,7 +68,7 @@ var methods = [
|
||||
{ name: 'stateAt', call: 'eth_stateAt', newMethod: 'getState' },
|
||||
{ name: 'storageAt', call: 'eth_storageAt', newMethod: 'getStorage' },
|
||||
{ name: 'countAt', call: 'eth_countAt', newMethod: 'getTransactionCount' },
|
||||
{ name: 'codeAt', call: 'eth_codeAt', newMethod: 'getCode' },
|
||||
{ name: 'codeAt', call: 'eth_codeAt', newMethod: 'getData' },
|
||||
{ name: 'transact', call: 'eth_transact', newMethod: 'sendTransaction' },
|
||||
{ name: 'block', call: blockCall, newMethod: 'getBlock' },
|
||||
{ name: 'transaction', call: transactionCall, newMethod: 'getTransaction' },
|
||||
|
@ -8,7 +8,7 @@ describe('web3', function() {
|
||||
u.methodExists(web3.eth, 'getState');
|
||||
u.methodExists(web3.eth, 'getStorage');
|
||||
u.methodExists(web3.eth, 'getTransactionCount');
|
||||
u.methodExists(web3.eth, 'getCode');
|
||||
u.methodExists(web3.eth, 'getData');
|
||||
u.methodExists(web3.eth, 'sendTransaction');
|
||||
u.methodExists(web3.eth, 'call');
|
||||
u.methodExists(web3.eth, 'getBlock');
|
||||
|
Loading…
x
Reference in New Issue
Block a user