Commit Graph

742 Commits

Author SHA1 Message Date
phiferd f6b3ce5c0e Propagating unpacking errors to async callback to be consistent with synchronous case (#530)
* buy fix to make synchronous and asynchronous cases compatible (avoid swallowing errors encountered during unpacking)

* removing example comments and whitespace changes

* reworking to avoid catching errors thrown by the callback

* exiting early if there is an error
2017-01-06 11:50:14 +01:00
Jordi Baylina 3d70c778c9 call stopwatch asynchronously (#498) 2017-01-06 11:49:30 +01:00
Alex Beregszaszi b451db0f9c Include Swarm bzz_ methods (#473) 2017-01-06 11:48:04 +01:00
Fabian Vogelsteller 935aa886cb
bumped version to 0.18.0 2017-01-06 10:29:22 +01:00
David Braun 864071fd30 Fix staticPartLength calculation for multidimensional arrays. (#527)
* Remove extraneous whitespace.

* Fix dynamicOffset calculation when encoding params.

Dynamic types should contribute only one word, not their staticPartLength.

* Fix staticPartLength calculation for multidimensional arrays.

Previously it was accounting for only one of the dimensions.

* Define default behavior for SolidityType.staticPartLength.

The default behavior was defined redundantly for every type.
2017-01-05 15:55:55 +01:00
Fabian Vogelsteller 1592dd4dd9
changed to personl_sendTransaction 2017-01-05 15:42:22 +01:00
Federico Bond f33723ee39 Throw error if trying to send value to non-payable function (#534) 2017-01-05 11:23:24 +01:00
David Braun 02f083198c Fix #483 by improving formatting of bytes type. 2016-11-21 13:36:34 -05:00
David Braun 7efbe40c9c Remove extraneous whitespace. 2016-11-21 12:12:41 -05:00
Pedro Branco 09044dff1d Add timeout to HTTP provider (#499) 2016-11-14 09:00:13 +01:00
Leonid Gaiazov 557268d116 Fixed a bug where negative numbers were rounded up instead of rounding down (#507)
There was an issue in combination of `solidity.formatters.formatInputInt` and `utils.toTwosComplement` where the value was rounded *after* performing the toTwosComplement. This caused negative floats to round _UP_ instead of rounding _DOWN_. I'm not sure if this is a bug or intentional, but from reading the code it appears to be intended to be rounded down.

Added simple unit test to demonstrate the behavior
2016-11-11 11:38:03 +01:00
Fabian Vogelsteller e4eb9606aa bumped version 2016-09-15 15:03:27 +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 c4cc700622 lint - add missing semicolons 2016-08-26 16:09:50 -07: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 35bcace717 merged develop, build script 2016-07-19 15:12:50 +02:00
Aakil Fernandes 6e43426767 Contract code length fix (#459)
* Meteor 1.3+ can handle default CommonJs syntax

* Fixed padLeft for iban addresses.

* Fix bignumber dependency

* check code.length > 3

* build

* expose BigNumber on web3 instances

* Fix incorrect filename in documentation

* re-build after merges

* check code.length > 3
2016-07-19 15:02:45 +02:00
Fabian Vogelsteller 8abc0af2f5 merged master 2016-06-27 15:35:31 +02:00
Fabian Vogelsteller f317f5cf05 Merge pull request #412 from mhhf/master
Meteor 1.3+ can handle default CommonJs syntax
2016-06-27 15:26:41 +02:00
Fabian Vogelsteller 08499e3f24 Merge pull request #417 from ricmoo/master
Fixed padLeft for iban addresses.
2016-06-27 15:25:53 +02:00
Aakil Fernandes ba91eccd3e expose BigNumber on web3 instances 2016-06-23 13:24:34 -04:00
Fabian Vogelsteller 134f55388f bumped to version alpha 2016-05-30 10:50:13 +02:00
Fabian Vogelsteller 0f1ab3227b added unlock and send 2016-05-24 16:25:35 +02:00
Fabian Vogelsteller 35a06d36d4 bumped version 2016-05-12 16:48:21 +02:00
Richard Moore dc9da1a385 Fixed padLeft for iban addresses. 2016-03-23 21:30:30 -04:00
Fabian Vogelsteller 3ba32a6734 added lockAccount method 2016-03-22 17:53:53 +01:00
Fabian Vogelsteller ae1ace97a1 release 0.16.0 2016-03-22 17:51:45 +01:00
Denis Erfurt a3a963eff3 Meteor 1.3+ can handle default CommonJs syntax 2016-03-19 20:35:56 +01:00
Fabian Vogelsteller 7b8e30a897 Merge branch 'master' into develop 2016-03-04 12:29:30 +01: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
Alex Beregszaszi a46cec3bb7 Return an actual exception in inputAddressFormatter()
Without this, stack traces are truncated.
2016-03-02 11:23:10 +00: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 d494d70617 bumped version 2016-02-29 11:29:05 +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 58bd679ba5 fixed regex 2016-02-25 15:23:35 -03:00
Alexandre Van de Sande 0b287b606f readded regex 2016-02-25 15:21:47 -03:00
Alexandre Van de Sande a850e6d945 added correct sha3.js address 2016-02-25 15:01:07 -03:00
Alexandre Van de Sande 9fc4f508dc Merge branch 'ethers-units' into experimental-hex-checksum 2016-02-25 11:14:12 -03:00
Alexandre Van de Sande a824f5ad83 merge conflicts 2016-02-25 11:13:34 -03:00
Alexandre Van de Sande 2caadc4495 solve travis test issues 2016-02-25 11:10:43 -03:00
ethers b9dff51d89 match with Homestead guide
https://github.com/ethereum/homestead-guide/blob/master/source/using-ethereum-the-basics/ether.rst
2016-02-24 18:57:11 -08:00
ethers 60aa712a88 matc with Homestead guide
https://github.com/ethereum/homestead-guide/blob/master/source/using-ethereum-the-basics/ether.rst
2016-02-24 18:52:27 -08:00
Alexandre Van de Sande c6c344d7d8 if undefined, return 2016-02-23 16:54:44 -03:00
Alexandre Van de Sande d95b10a57a off by one error 2016-02-23 08:40:27 -03:00
Alexandre Van de Sande 2682af7bd6 removed accidental whitespace 2016-02-22 15:33:34 -03:00
Alexandre Van de Sande bcd4625520 reverted unrecognised change 2016-02-22 15:32:57 -03:00