423 Commits

Author SHA1 Message Date
Fabian Vogelsteller
154911071e
added test for contract.once 2016-11-09 16:06:46 +01:00
Fabian Vogelsteller
e2dd99cccb
removed functions from main contract object 2016-11-09 15:48:44 +01:00
Fabian Vogelsteller
f5511d729b
fixed all lint errors 2016-11-04 16:29:40 +01:00
Fabian Vogelsteller
abb393b88c
fixed linting 2016-11-04 12:17:20 +01:00
Fabian Vogelsteller
72859abf7e
merged develop 2016-11-02 11:13:46 +01:00
Fabian Vogelsteller
50754c5b28
doc changes 2016-11-01 17:24:16 +01:00
Fabian Vogelsteller
54a56e770c
changed minded event to receipt 2016-11-01 16:03:03 +01:00
Fabian Vogelsteller
23f428b096 Refactored the contract object (#424)
* started contract

* prepared the contract functions

* added deploy function

* added event emitter funcitons

* eventified promise

* added encodeABI

* added optional bluebird

* improved the param finder

* added call, transact and estimateGas

* allow siganture for encodeABI

* working on events

* added event listeners to contracts

* working on contract events

* changed on message to on data

* working on decoding events

* switched deploy check to subscriptions

* removed all event functions, keep only contract.on

* added subscription stuff

* fixed substractions formatters

* added log decoding

* added all events

* fixed events

* added new method calling structure

* added mined event for send tx

* worked on getPastEvents, still WIP

* working on tests

* added once method

* made options object in function execution optional

* finished pastEvents

* added request function for batch processing to contract methods

* fixed contract tests

* finished proting tests

* test provider isolatiton issues

* commented out test to prevent unsolvable issue for now

* changed deploy resolve

* deactivate encodeABI

* improved fake provider, with stacking validation and results

* added fromBlock test

* added tests for internal methods of the contract object
2016-10-07 13:07:42 +02:00
Marius Darila
b489f5e24b add formatter for syncing States (#482) 2016-09-12 15:52:36 +02:00
bas-vk
c2426ad880 add eth_protocolVersion (#491) 2016-09-12 15:20:20 +02:00
kumavis
14494699c8 Add callback handling in method Filter.stopWatching 2016-08-26 16:01:44 -07:00
kumavis
74995bbbf7 Jsonrpc - fix singleton pattern 2016-08-26 14:55:16 -07:00
Fabian Vogelsteller
7273693588 merged develop 2016-06-29 11:40:06 +02:00
Leon Liang
49bed91163 Fix test coverage calculation (#467) 2016-06-29 11:34:05 +02:00
Fabian Vogelsteller
5275969765 merged subscriptions 2016-04-05 14:33:33 +02:00
Martin
84420e3340 also passes options argument 2016-03-04 00:58:00 +01:00
Martin
dd875e06aa web3.sha3 returns string with hex prefix 2016-03-04 00:47:05 +01:00
Fabian Vogelsteller
fc9e96473a fixed test 2016-02-29 16:24:50 +01:00
Fabian Vogelsteller
dccde3f1d7 Merge branch 'master' of github.com:ethereum/web3.js 2016-02-29 11:42:38 +01:00
Fabian Vogelsteller
bb5a1d9297 Merge branch 'develop' of github.com:ethereum/web3.js into develop 2016-02-29 11:23:18 +01:00
Fabian Vogelsteller
f6b7d89878 fixed tests 2016-02-29 11:22:57 +01:00
Dan Turner
6a7a896da3 Implement the "personal" API's of go-ethereum
As per: https://github.com/ethereum/go-ethereum/wiki/Go-ethereum-management-API's
2016-02-29 15:59:54 +11:00
Alexandre Van de Sande
7400df977f added checksum tests 2016-02-25 11:40:32 -03:00
Alexandre Van de Sande
a824f5ad83 merge conflicts 2016-02-25 11:13:34 -03:00
ethers
e2b30f4260 match with Homestead guide
https://github.com/ethereum/homestead-guide/blob/master/source/using-ethereum-the-basics/ether.rst
2016-02-24 18:55:04 -08:00
Fabian Vogelsteller
093f2fc161 fixed jshint errors 2016-01-22 13:22:37 +01:00
Fabian Vogelsteller
21165db545 removed polling completely 2016-01-21 16:24:07 +01:00
Fabian Vogelsteller
30bb0c892f fixed examples 2016-01-21 15:28:30 +01:00
Fabian Vogelsteller
031a006c6e changed tests to apot new subscription API 2016-01-21 15:25:44 +01:00
Fabian Vogelsteller
96863391d5 moved whisper filter to subscriptions 2016-01-19 16:46:39 +01:00
debris
2a3c011ba1 removed circular references from web3 object 2015-10-21 12:00:11 +08:00
debris
ad45c571e1 Merge branch 'master' of https://github.com/ethereum/web3.js into develop 2015-10-19 11:32:49 +08:00
debris
31bcdb4496 fixed failing test 2015-10-15 14:46:47 +08:00
debris
08e92c2aaa fixed race condition in test/helpers/test.method.js 2015-10-12 15:27:12 +08:00
debris
61916f9bb8 fixed some of the test that interferred with each other 2015-10-12 14:23:16 +08:00
Gustav Simonsson
43a9626c7a Add IBAN/ICAP test for address with two leading zero bytes 2015-10-08 18:18:04 +02:00
Fabian Vogelsteller
ecd0b7776f improved requestmanager 2015-10-08 13:43:53 +02:00
Fabian Vogelsteller
c8f8ba8086 fixed filter polling 2015-10-08 12:17:54 +02:00
debris
553ab1d431 finished refactor? 2015-10-08 16:09:37 +08:00
debris
10e79d64b2 uncommented few more tests 2015-10-08 08:41:55 +02:00
debris
190f9815d9 eth.filter works 2015-10-08 07:42:08 +02:00
debris
9da9bfdbd4 batch requests 2015-10-08 04:45:15 +02:00
debris
95a3b5a35f most of test working 2015-10-08 04:14:43 +02:00
debris
7dff0a461a refactored extensions 2015-10-08 04:09:51 +02:00
debris
98f4318015 web3.eth test are passing 2015-10-07 05:10:02 +02:00
debris
799bd88279 refactor in progress 2015-10-07 04:32:32 +02:00
Marek Kotewicz
d04c48dd8e Merge pull request #307 from caktux/develop
fromUtf8 and toUtf8 should ignore null characters
2015-10-06 03:48:54 +02:00
debris
50a42ab839 additional test and bugfix for encoding bytes3, fixed #325 2015-10-06 00:51:36 +02:00
debris
0a79a520a7 added vitaliks test to test/sha3.js 2015-10-05 13:46:50 +02:00
debris
b5f8244ff6 fixed #290, #320. Fixed sha3 encoding of hex values 2015-10-05 13:45:11 +02:00