Commit Graph

251 Commits

Author SHA1 Message Date
Marek Kotewicz e80ff10f52 Merge branch 'master' into abi_refactor
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-20 15:12:54 +02:00
Marek Kotewicz 38641dfa9c fixed #154 2015-04-20 14:38:08 +02:00
Marek Kotewicz 0567ba1826 outputParser do not require 0x prefix before hash 2015-04-16 22:11:15 +02:00
Marek Kotewicz d643d06b78 solidity abi refactor in progress 2015-04-16 16:37:13 +02:00
Marek Kotewicz 20fb2e3c70 Merge branch 'develop' of https://github.com/ethereum/ethereum.js into develop
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-16 12:43:06 +02:00
Marek Kotewicz 96b44682f1 fixed #161, web3.ssh.post 2015-04-16 12:22:20 +02:00
Marek Kotewicz a320ef8bd9 fixed coverage, unified creating errors 2015-04-16 11:11:33 +02:00
Marek Kotewicz c62f817cc6 picked watch change3 2015-04-13 12:56:14 +02:00
Marek Kotewicz 6763f34c10 tests for creating new contract with nondefault constructor, added missing files 2015-04-09 23:52:57 +02:00
Marek Kotewicz 2ef5efc8f8 fixed #70, creating contract with nondefault constructor 2015-04-09 23:30:18 +02:00
Fabian Vogelsteller 48b351ae6f add gasPrice test and fixed failing uncle tests 2015-04-09 20:15:46 +02:00
Marek Kotewicz e2990ae77e web3.eth.getBlockTransactionCount accepts pending/latest/earliest params 2015-04-02 16:30:40 +02:00
Marek Kotewicz f9a52069b5 more tests for web3.eth.getBalance 2015-04-02 14:04:06 +02:00
Marek Kotewicz 5e150378c8 fixed formatting address 2015-04-02 13:08:58 +02:00
Marek Kotewicz 2536888f81 let travis check if npm package is not broken 2015-03-31 11:03:14 +02:00
Marek Kotewicz 57d9f1f036 removed deprecated && unused lines from contract.js 2015-03-31 10:35:36 +02:00
Marek Kotewicz 5885bfe69b test for #128 2015-03-31 09:42:03 +02:00
Marek Kotewicz e53f316db9 tests for transaction && call 2015-03-31 09:34:06 +02:00
Marek Kotewicz 608d211400 blockNumber can be earliest 2015-03-30 09:27:59 +02:00
Marek Kotewicz e213551699 tests for #144 2015-03-29 21:54:53 +02:00
Marek Kotewicz 2262276dae defaultBlockNumber accepts latest && pending 2015-03-28 15:52:40 +01:00
Marek Kotewicz e01bb23759 fixed #148 && fixed polling test 2015-03-28 15:15:44 +01:00
Marek Kotewicz 2f45df835a fix && tests for #147 2015-03-28 14:38:56 +01:00
Fabian Vogelsteller ed2b62de47 add whisper, network and ethereum version 2015-03-27 11:51:21 +01:00
Fabian Vogelsteller aa9fc92c47 add whisper, network and ethereum version 2015-03-27 11:40:57 +01:00
Marek Kotewicz f4e5a99be1 default log formatter, improved contract test 2015-03-27 11:27:50 +01:00
Marek Kotewicz 07bcdb441e improved tests for contract.js, fixed few minor issues 2015-03-27 08:42:23 +01:00
Marek Kotewicz 82b18c1aa0 refactored filter.js 2015-03-26 18:11:05 +01:00
Marek Kotewicz 2133d2717d filter changes in progress 2015-03-26 15:43:35 +01:00
Marek Kotewicz e928e14bc4 Merge branch 'develop' into sandbox
Conflicts:
	dist/ethereum-light.js
	dist/ethereum-light.js.map
	dist/ethereum-light.min.js
	dist/ethereum.js
	dist/ethereum.js.map
	dist/ethereum.min.js
	lib/web3.js
2015-03-26 11:19:12 +01:00
Marek Kotewicz 1a84015bab fixed events topics 2015-03-26 11:12:33 +01:00
Marek Kotewicz 0beb01f4da test for creating signatures 2015-03-26 08:58:25 +01:00
Marek Kotewicz 9d5b602023 test names 2015-03-25 23:50:39 +01:00
Marek Kotewicz a1ec1493f9 renamed few more tests 2015-03-25 22:22:35 +01:00
Marek Kotewicz cbf8ea19cd test naming convention 2015-03-25 22:17:35 +01:00
Marek Kotewicz 04f0aa5d4f fixed filer.js complexity 2015-03-25 21:46:45 +01:00
Marek Kotewicz 722a5bcd69 fixed eth.getTransaction.js location 2015-03-25 15:02:07 +01:00
Marek Kotewicz 91baec2396 polling tests 2015-03-25 14:37:28 +01:00
Marek Kotewicz 4f5c5fb2fb first try to test polling 2015-03-25 13:17:21 +01:00
Marek Kotewicz f2c8a14bb4 removed duplicate code 2015-03-25 11:56:36 +01:00
Fabian Vogelsteller c01abfc4bd add db tests 2015-03-24 12:21:52 +01:00
Fabian Vogelsteller b247c49511 add sha3 test 2015-03-24 11:53:21 +01:00
Fabian Vogelsteller afd7e7ba32 add shh tests 2015-03-24 11:44:33 +01:00
Fabian Vogelsteller e7304b546e add storage tests 2015-03-24 11:17:06 +01:00
Fabian Vogelsteller f32b8ad5a8 add runTest module to new tests 2015-03-24 09:48:07 +01:00
Marek Kotewicz c1f5ab2cdc test.method.js in helpers 2015-03-24 06:50:42 +01:00
Marek Kotewicz 7df9099075 moved test.utils to helpers 2015-03-23 23:10:18 +01:00
Fabian Vogelsteller b3b95c5f98 add getBlock test 2015-03-23 18:50:53 +01:00
Fabian Vogelsteller f13a72708f add accounts test 2015-03-23 17:27:14 +01:00
Fabian Vogelsteller b915ceb43f add defaultBlock back 2015-03-23 17:11:19 +01:00
Fabian Vogelsteller b074a5e333 add check for providor async function 2015-03-23 17:02:34 +01:00
Fabian Vogelsteller a34321d1e4 removed double FakeHTTPProvidor 2015-03-23 16:50:13 +01:00
Fabian Vogelsteller 7fb440579d add missing formatters, fixed tests 2015-03-23 16:43:49 +01:00
Marek Kotewicz 7511e4c8af fake providers moved to helpers directory 2015-03-23 15:57:36 +01:00
Marek Kotewicz 126b40c23a fixed registering coverage on providers 2015-03-23 15:26:32 +01:00
Marek Kotewicz 2924e00a83 fix for toHex transforming boolean 2015-03-23 15:19:42 +01:00
Marek Kotewicz 99ea9cdc1c fixed for defaultBlock formatter 2015-03-23 14:23:45 +01:00
Marek Kotewicz 33a3fc7bcd generic integration tests 2015-03-23 14:08:59 +01:00
Marek Kotewicz 4d1cf0bd9f inputFormatter is an aray of functions 2015-03-23 13:42:36 +01:00
Marek Kotewicz 89b1ca6f43 first integration tests 2015-03-23 08:37:41 +01:00
Marek Kotewicz a4cf661f24 tests for method.js 2015-03-22 19:48:25 +01:00
Marek Kotewicz 7519faba9c method.js 2015-03-22 18:12:52 +01:00
Marek Kotewicz 0898669bd2 changes in input formatters 2015-03-22 09:43:07 +01:00
Marek Kotewicz 748cda238a requestmanager tests 2015-03-22 09:20:24 +01:00
Marek Kotewicz 476023e0d0 requestmanager refactored 2015-03-22 08:37:12 +01:00
Marek Kotewicz e3faebe6b7 jsonrpc is an object 2015-03-21 23:34:24 +01:00
Marek Kotewicz f6046702f6 tests for qtsyncprovider.js 2015-03-21 22:17:24 +01:00
Marek Kotewicz 288caf32be node-sandbox, tests for httpprovider, request manager refactor in progress 2015-03-21 21:59:38 +01:00
Joris Bontje b032429a1d rename getData to getCode 2015-03-16 09:58:10 +01:00
Lefteris Karapetsas 3a22498281 string type basically becomes bytes type 2015-03-13 13:05:13 +01:00
Lefteris Karapetsas 760634a1cd Changing abi tests to use fixed bytes type 2015-03-13 12:01:47 +01:00
Fabian Vogelsteller 2e320edc46 add versions 2015-03-12 16:33:19 +01:00
Fabian Vogelsteller 7a44f76132 add shh post formatting 2015-03-10 17:27:36 +01:00
Fabian Vogelsteller 3848d3a03c fixed logs 2015-03-10 17:07:16 +01:00
Fabian Vogelsteller 1c9f50feb9 changed topic to topics 2015-03-10 16:22:16 +01:00
Fabian Vogelsteller 8d7d00ded9 fixed input parser test 2015-03-10 16:13:44 +01:00
Fabian Vogelsteller a0b5353f47 changed outputs up to storageAt 2015-03-09 15:09:21 +01:00
Marek Kotewicz c7f8373191 separated formatters files 2015-03-08 18:31:08 +01:00
Marek Kotewicz 068bdd7276 changed project structure 2015-03-08 18:18:52 +01:00
Marek Kotewicz d3569e4ffd more coverage tests 2015-03-08 16:56:21 +01:00
Marek Kotewicz 344428b3b5 tests... 2015-03-08 10:07:32 +01:00
Marek Kotewicz 9fe105e794 fixed from decimal; 2015-03-08 08:48:45 +01:00
Marek Kotewicz 50fc61155e test for utils.toBigNumber 2015-03-08 08:33:22 +01:00
Marek Kotewicz 2b17ad67c9 refactoring 2015-03-07 19:18:22 +01:00
Marek Kotewicz 0a995e1d1f common changes in utils, fixing code complexity 2015-03-07 18:31:09 +01:00
Marek Kotewicz 3f631094af fix all failing karma tests 2015-03-07 17:53:06 +01:00
Marek Kotewicz a8697801cd Merge branch 'master' into apiOverhaul 2015-03-07 16:32:47 +01:00
Wilfried Kopp cbb1efe4e1 test(eth): Disable few tests
Disable for now few tests that fail until the switch to karma is done.

test(karma): Replace mocha by Karma.
2015-03-06 20:58:23 +01:00
Fabian Vogelsteller b8193914cb fixed tests 2015-03-06 16:09:21 +01:00
Marek Kotewicz c1136a08c0 Merge branch 'master' into develop
Conflicts:
	dist/ethereum.js.map
	dist/ethereum.min.js
	package.json
2015-03-06 12:05:40 +01:00
Wilfried Kopp e46f6f156b test(utils): Add test for the toEth() function
- Several test cases to check the conversion into each unit
- Few test cases to check the conversion from strings
2015-03-06 01:03:19 +01:00
Marek Kotewicz a59f3a4c5c Merge pull request #85 from ethers/abiString
constants should be before (dynamic) string contents, fix #84
2015-03-04 00:43:53 +01:00
Marek Kotewicz 688faeca73 Merge pull request #81 from ethers/arraySupport
constants should be before array contents, fixes #30
Conflicts:
	lib/abi.js
2015-03-04 00:42:46 +01:00
Fabian Vogelsteller a05742fda1 Add internal defaultBlock 2015-03-03 11:11:52 +01:00
Fabian Vogelsteller 4096fb8c88 merged develop 2015-03-02 10:45:30 +01:00
ethers 4b9bc177f7 constants should be before (dynamic) string contents 2015-02-27 14:41:52 -08:00
Fabian Vogelsteller 1c136e307e merged develop 2015-02-27 15:57:25 +01:00
Fabian Vogelsteller aef0171927 add shh topic auto transformation for filter options 2015-02-27 14:05:00 +01:00
Fabian Vogelsteller 37e6d1185b add shh output formatters and test 2015-02-27 12:41:07 +01:00
ethers fcab219d7d vary the length of the arrays 2015-02-26 20:28:21 -08:00
ethers f8db634a8f need to save/concat per iteration 2015-02-26 20:24:19 -08:00
ethers ce664d61d5 fix test descriptions 2015-02-26 20:17:27 -08:00
ethers 66196ee8ba constants should be before array contents, fixes #30 2015-02-26 20:06:26 -08:00
Fabian Vogelsteller 47412c3dbd add more tests for blocks 2015-02-26 16:20:46 +01:00
Fabian Vogelsteller 545de254f9 add more tests 2015-02-26 15:54:49 +01:00
Fabian Vogelsteller 181f1093e6 changed getCode to getData 2015-02-25 11:01:58 +01:00
Fabian Vogelsteller 36ca47f11c Changed watch to filter for eth and shh 2015-02-23 18:30:37 +01:00
Fabian Vogelsteller 60cda4e58a fixed tests 2015-02-23 10:01:00 +01:00
Fabian Vogelsteller 91c015e402 Made to/fromWei return strings instead of numbers 2015-02-20 12:40:09 +01:00
Fabian Vogelsteller 188e9e5325 Add toWei/fromWei and isAddress 2015-02-20 09:34:26 +01:00
Marek Kotewicz ec6f9b3d08 added transactionCount && uncleCount methods 2015-02-17 19:55:02 +01:00
Marek Kotewicz 3d652e82c0 fixed web3.reset() 2015-02-06 11:36:27 +01:00
Marek Kotewicz c29f4a1361 filters refactor 2015-02-05 23:11:16 +01:00
Marek Kotewicz f3e1797153 fixed jsonrpc response 0 not handled properly 2015-02-04 11:23:23 +01:00
Marek Kotewicz e58e2f5ee4 jsonrpc.js tests && jsonrpc response validation is more strict 2015-02-03 23:00:02 +01:00
Marek Kotewicz ddc17196da tests && fixes for utils methods 2015-02-03 20:12:56 +01:00
Marek Kotewicz fdcc1af4e2 clearing tests 2015-02-03 19:48:51 +01:00
Marek Kotewicz 03faec9d41 event outputParser && tests 2015-02-03 15:08:19 +01:00
Marek Kotewicz b20e972bec few methods moved to utils 2015-01-31 15:22:05 +01:00
Marek Kotewicz 80c97ca21b events 2015-01-31 03:42:13 +01:00
Marek Kotewicz 995861de4d event options 2015-01-31 01:30:19 +01:00
Marek Kotewicz c8ee08c24b contract.js simplified 2015-01-29 13:32:32 +01:00
Marek Kotewicz 842b8cf323 event.js 2015-01-29 12:35:21 +01:00
Marek Kotewicz 2544d2c952 tests for abi.filters 2015-01-28 14:39:10 +01:00
Marek Kotewicz ea7c2fc673 abi function type 2015-01-28 14:20:36 +01:00
Marek Kotewicz 83fad0fb59 removed fromFixed, toFixed && offset from tests 2015-01-27 23:03:57 +01:00
Marek Kotewicz c2cb2bef96 removed web3.eth.account, fixed #37 2015-01-27 16:02:42 +01:00
Marek Kotewicz 09f633596d fixed #23 2015-01-27 15:20:22 +01:00
Marek Kotewicz da4c2d530d removed promise dependency, updated readme, fixed node.js version of lib 2015-01-27 00:54:21 +01:00
Marek Kotewicz ceb4357a8d sync api tests running, removed unused pieces of code 2015-01-21 20:43:20 +01:00
Marek Kotewicz 380c1522ac solidity methods "overloading" 2015-01-20 15:06:05 +01:00
Marek Kotewicz 6a58db66f7 parsing real, ureal values on output 2015-01-19 13:22:58 +01:00
Marek Kotewicz af54832d24 encoding real on input 2015-01-19 12:59:29 +01:00
Marek Kotewicz 823fb2995b tests for parsing output array 2015-01-17 13:50:07 +01:00
Marek Kotewicz 1e2c1ae98a output parser string support 2015-01-17 13:39:19 +01:00
Marek Kotewicz b457e88cd0 support for int array types[] 2015-01-17 02:14:40 +01:00
Marek Kotewicz 774e9d24a1 abi.js rounds down floating point input 2015-01-16 16:26:58 +01:00
Marek Kotewicz 2c36d5ff45 big integers on abi.js output, tests 2015-01-16 11:58:26 +01:00
Marek Kotewicz f1295b506d tests for bigintegers on input 2015-01-16 11:28:46 +01:00
Marek Kotewicz 46b932ccc0 negative integers support 2015-01-15 15:51:25 +01:00
Marek Kotewicz f85f77f6cc fixed typos 2015-01-15 14:37:18 +01:00
Marek Kotewicz bacc5aa6d3 methodExists and propertyExists are now separated tests 2015-01-15 11:38:21 +01:00
Marek Kotewicz 603c790213 next part of abi.js parsers tests and fixes 2015-01-14 20:29:20 +01:00
Marek Kotewicz 6b2ec23132 formatting bool tests and fixes 2015-01-14 14:06:29 +01:00
Marek Kotewicz ee167e53d1 test for parsing multiple methods description 2015-01-13 15:42:56 +01:00
Marek Kotewicz 4056c046a7 tests... 2015-01-13 13:47:31 +01:00
Marek Kotewicz f3b71a73e3 removed unused line 2015-01-13 12:51:23 +01:00
Marek Kotewicz 380d9862c3 tests in progress, fixed utf characters conversion in toAscii 2015-01-13 12:49:10 +01:00
Marek Kotewicz 9e0de57a82 mocha test reporter 2015-01-13 11:29:19 +01:00
Marek Kotewicz f6ff1f18b8 mocha reporter name starts with lower case letter 2015-01-13 11:21:58 +01:00