diff options
Diffstat (limited to 'web3.eth.getCode.js')
-rw-r--r-- | web3.eth.getCode.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/web3.eth.getCode.js b/web3.eth.getCode.js deleted file mode 100644 index fc4f5b86..00000000 --- a/web3.eth.getCode.js +++ /dev/null @@ -1,23 +0,0 @@ -var chai = require('chai'); -var web3 = require('../index'); -var testMethod = require('./helpers/test.method.js'); - -var method = 'getCode'; - - -var tests = [{ - args: ['0x47d33b27bb249a2dbab4c0612bf9caf4c1950855'], - formattedArgs: ['0x47d33b27bb249a2dbab4c0612bf9caf4c1950855', web3.eth.defaultBlock], - result: '0x47d33b27bb249a2dbab4c0612bf9caf4747d33b27bb249a2dbab4c0612bf9cafd33b27bb249a2dbab4c0612bf9caf4c1950855', - formattedResult: '0x47d33b27bb249a2dbab4c0612bf9caf4747d33b27bb249a2dbab4c0612bf9cafd33b27bb249a2dbab4c0612bf9caf4c1950855', - call: 'eth_'+ method -},{ - args: ['0x47d33b27bb249a2dbab4c0612bf9caf4c1950855', 2], - formattedArgs: ['0x47d33b27bb249a2dbab4c0612bf9caf4c1950855', '0x2'], - result: '0x47d33b27bb249a2dbab4c0612bf9caf4747d33b27bb249a2dbab4c0612bf9cafd33b27bb249a2dbab4c0612bf9caf4c1950855', - formattedResult: '0x47d33b27bb249a2dbab4c0612bf9caf4747d33b27bb249a2dbab4c0612bf9cafd33b27bb249a2dbab4c0612bf9caf4c1950855', - call: 'eth_'+ method -}]; - -testMethod.runTests('eth', method, tests); - |