mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
0b6d06e5aa
9a85b09 version upgrade ec6f9b3 added transactionCount && uncleCount methods b96a7aa gulp cleanup d6128f2 coveralls badge points to master efee649 coveralls badge 339f565 travis coveralls 27d53dd travis coveralls 001077e Merge pull request #59 from cubedro/master 9902977 updated dist af7c26b check request.status in httpsync.js to prevent throwing errors when undefined ad8112c Merge pull request #15 from ethereum/master d1e6b20 updated README c184728 version upgrade 3d652e8 fixed web3.reset() 26561e4 fixed #51 03661d3 eth_polling_timeout const 9e806cc Merge branch 'master' into develop 82d32bb providermanager -> requestmanager a86fccf web3 refactor (in progress) c29f4a1 filters refactor 9d84609 Merge branch 'master' of https://github.com/ethereum/ethereum.js 859a199 Merge pull request #55 from ethereum/develop fd5146d Merge pull request #12 from debris/master git-subtree-dir: libjsqrc/ethereumjs git-subtree-split: 9a85b098a082f9ed38bcf92ab5ee6ba64489d7cf
37 lines
1.3 KiB
JavaScript
37 lines
1.3 KiB
JavaScript
var assert = require('assert');
|
|
var web3 = require('../index.js');
|
|
var u = require('./test.utils.js');
|
|
|
|
describe('web3', function() {
|
|
describe('eth', function() {
|
|
u.methodExists(web3.eth, 'balanceAt');
|
|
u.methodExists(web3.eth, 'stateAt');
|
|
u.methodExists(web3.eth, 'storageAt');
|
|
u.methodExists(web3.eth, 'countAt');
|
|
u.methodExists(web3.eth, 'codeAt');
|
|
u.methodExists(web3.eth, 'transact');
|
|
u.methodExists(web3.eth, 'call');
|
|
u.methodExists(web3.eth, 'block');
|
|
u.methodExists(web3.eth, 'transaction');
|
|
u.methodExists(web3.eth, 'uncle');
|
|
u.methodExists(web3.eth, 'compilers');
|
|
u.methodExists(web3.eth, 'lll');
|
|
u.methodExists(web3.eth, 'solidity');
|
|
u.methodExists(web3.eth, 'serpent');
|
|
u.methodExists(web3.eth, 'logs');
|
|
u.methodExists(web3.eth, 'transactionCount');
|
|
u.methodExists(web3.eth, 'uncleCount');
|
|
|
|
u.propertyExists(web3.eth, 'coinbase');
|
|
u.propertyExists(web3.eth, 'listening');
|
|
u.propertyExists(web3.eth, 'mining');
|
|
u.propertyExists(web3.eth, 'gasPrice');
|
|
u.propertyExists(web3.eth, 'accounts');
|
|
u.propertyExists(web3.eth, 'peerCount');
|
|
u.propertyExists(web3.eth, 'defaultBlock');
|
|
u.propertyExists(web3.eth, 'number');
|
|
});
|
|
});
|
|
|
|
|