770 Commits

Author SHA1 Message Date
Alexander Ewetumo
c00277ed93 Update lib with faraz changes from 0.18.4 branch 2017-08-30 16:35:52 +01:00
Fabian Vogelsteller
530c4a3b1d
fixed PR issues 2017-08-10 16:58:29 +02:00
Susmit
f646ab45f9 Refactored method encodeWithOffset (#970)
* Example Code for Message Signing Added

Added an example java script which demonstrates the following
- How to sign a message using Ethereum account
- How to find the address using which the message was signed

* Refactored method encodeWithOffset

Performed refactoring for encodeWithOffset method. Removed code redundancy.
2017-08-10 14:14:10 +02:00
Fabian Vogelsteller
996148d356
bumped version 0.20.1 2017-07-17 13:35:23 +02:00
Shayan Eskandari
0f53c43d7b fix broken basic auth for async calls (#917)
* HTTP Basic Auth, some cleanups

There’s no need for additional dependency `btoa` as `XHR2` already has
the support for Basic Auth.

* remove redundant code

* fix semicolons

* Rewrite Basic Auth to support both sync and async calls.

* semicolon consistency
2017-07-05 14:55:06 +02:00
Fabian Vogelsteller
e7641a7add
Readd semicolon, and build 2017-06-30 11:14:23 +02:00
Shayan Eskandari
1f5e8c9266 Http Basic Auth without additional dependencies (#909)
* HTTP Basic Auth, some cleanups

There’s no need for additional dependency `btoa` as `XHR2` already has
the support for Basic Auth.

* remove redundant code
2017-06-30 11:10:33 +02:00
Jannis Redmann
8fbd5f7c3c allow eth_syncing to return false, support HTTP Basic Auth (#545)
* strict mode in formatters.js

* allow eth.syncing to return false

* HTTPProvider: support HTTP basic auth
2017-06-24 10:21:43 +02:00
Fabian Vogelsteller
6d3e61a010 Whisperv5 (#902)
* added whisper api

* added whisper api tests

* fix lint errors
2017-06-23 14:57:11 +02:00
cdetrio
db6efd5f23 fix bug passing BigNumber as contract method arg (#896) 2017-06-23 11:39:41 +02:00
Fabian Vogelsteller
81ab762ff1
bumped version 2017-05-09 11:59:08 +02:00
Mariano Conti
1c7dde9696 Export padLeft and padRight as functions of web3 (#848)
I'm working with `bytes12` and it's useful to have these two functions in the web3 object for formatting.
2017-05-09 11:56:54 +02:00
Georgi Georgiev
a24df28f1f Porting personal.importRawKey, personal.sign, personal.ecRecover from go-ethereum to web3.js (#565)
* Porting personal.importRawKey

* Porting personal.sign

* Porting personal.ecRecover
2017-05-09 11:49:39 +02:00
Fabian Vogelsteller
f8aa391351
make sure the old behaviour is valued in toHex 2017-05-09 11:42:24 +02:00
Georgi Georgiev
74bff8f0c6 Missing some checks in order to verify if given value is an object (#568) 2017-05-09 11:39:55 +02:00
Alex Oberhauser
f310e7ccdc Fix for "filterCreationErrorCallback is not a function" Error #552 (#861) 2017-05-09 11:38:31 +02:00
cdetrio
54e40bb4bb validate number of args to solidity functions (#866) 2017-05-09 11:34:44 +02:00
Fabian Vogelsteller
76f8798cb5
bumped version 2017-03-29 11:47:27 +02:00
Denis Granha
aeb8baf915 added signTransaction method to web3.eth (#845) 2017-03-29 11:43:26 +02:00
Zac Mitton
7560f27335 removed 1 invisable character that was causing issue number 555 with webpack and browserfy (#563) 2017-02-22 19:07:07 +01:00
bas-vk
4653e3fb01 fix jslint warnings (#561) 2017-02-17 12:13:26 +01:00
bas-vk
be528f7436 add support for Ethereum blooms (#559) 2017-02-17 11:10:34 +01:00
Fabian Vogelsteller
9268315be6
bumped version 0.18.3 to republish meteor package 2017-01-19 10:45:47 +01:00
Fabian Vogelsteller
12bea40dca
fixes #548 2017-01-13 13:41:08 +01:00
Fabian Vogelsteller
174b735723
fixed go xmlhttprequest issue, bumped version 2017-01-12 15:36:24 +01:00
Fabian Vogelsteller
cbd57465b4
rebuild 2017-01-06 12:08:39 +01:00
Fabian Vogelsteller
30549159ef
better weay of handeling PR #458 2017-01-06 11:59:52 +01:00
Anton Simernia
209239c539 add filterCreationErrorCallback argument to Filter constructor for check if filter is created (#435) 2017-01-06 11:53:51 +01:00
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