Fabian Vogelsteller
e5e651375c
changed UTF-8 encoding to allow u/0000
2017-03-02 16:20:39 +01:00
Fabian Vogelsteller
7b8b8c433b
removed unnecessary utils functions
2017-03-01 15:58:13 +01:00
Fabian Vogelsteller
d1f0e1f900
removed ethjs-abi tests for now
2017-03-01 14:33:31 +01:00
Fabian Vogelsteller
b8030755df
added ethjs de/encode tests
2017-03-01 14:29:28 +01:00
Fabian Vogelsteller
fd2d0269fc
contract deploy returns now new instance
2017-02-28 21:12:39 +01:00
Fabian Vogelsteller
c800df8d6d
decode receipts logs on contract events
2017-02-28 20:11:58 +01:00
Fabian Vogelsteller
b1cce88df5
removed SYNC, moved providers in separate packages
2017-02-28 16:02:54 +01:00
Fabian Vogelsteller
acf45217d3
moved to BN.js
2017-02-23 18:21:50 +01:00
Fabian Vogelsteller
7593c52cd4
moved to ethjs-sha3
2017-02-22 21:36:25 +01:00
Fabian Vogelsteller
2c4e4adfa1
fixed net
2017-02-22 20:59:27 +01:00
Fabian Vogelsteller
fd3511d8b3
add tests for getNetworkType
2017-02-22 16:06:57 +01:00
Fabian Vogelsteller
55bdc3309b
moved net package to web3.eth.net
2017-02-22 11:39:16 +01:00
Fabian Vogelsteller
f8a049707f
added strict to all files
2017-02-17 14:15:00 +01:00
Fabian Vogelsteller
83e42fa584
changed contract internal method name
2017-02-14 18:03:37 +01:00
Fabian Vogelsteller
e94a0a00a1
added contract.clone()
2017-02-14 17:58:38 +01:00
Fabian Vogelsteller
e6b89d4d38
moved contract to its own repository
2017-02-14 16:39:17 +01:00
Fabian Vogelsteller
9b4075860c
changed batch requests
2017-02-13 12:42:54 +01:00
Fabian Vogelsteller
c69051b126
added providers.givenProvider
2017-02-13 11:41:40 +01:00
Fabian Vogelsteller
06f22aedef
finished iban documentation
2017-02-08 11:05:57 +01:00
Fabian Vogelsteller
3fbb723d3b
changed eth.contract and eth.iban to uppercase
2017-02-08 10:03:12 +01:00
Fabian Vogelsteller
091d282f2a
improved returned error
2017-02-07 17:11:39 +01:00
Fabian Vogelsteller
0f85b38020
added pending tx test
2017-02-06 19:26:08 +01:00
Fabian Vogelsteller
8293ffa472
re-add coder tests
2017-02-06 19:23:23 +01:00
Fabian Vogelsteller
ea0e9445e2
added tests for syncing subscription
2017-02-06 18:37:48 +01:00
Fabian Vogelsteller
2700ba71eb
moved data and topics in decoded events to raw
2017-02-06 16:00:50 +01:00
Fabian Vogelsteller
1b554e0bb7
wip move docs over
2017-01-27 15:41:56 +01:00
Fabian Vogelsteller
e4c43d5e55
add more address tests
2017-01-26 19:29:12 +01:00
Fabian Vogelsteller
b08d97f79b
add more address tests
2017-01-26 16:28:06 +01:00
Fabian Vogelsteller
7755d13f8a
add more address tests
2017-01-26 15:02:53 +01:00
Fabian Vogelsteller
8f347fb7d6
added contract address conversino tests
2017-01-26 11:38:30 +01:00
Fabian Vogelsteller
3f723c36f5
fixed once tests
2017-01-26 10:55:46 +01:00
Fabian Vogelsteller
bbfefb091c
Modularize web3.js ( #541 )
...
* added sub packages
* added lerna monopackage management
* check for package is instance
* added method, subscription and utils package
* moved almost all packages
* moved all packages, no umbrella package yet
* added extend to packages
* made contract pass
* made batch tests pass
* expose providers
* fixed test async
* fixed test errors
* fixed test event encode decode
* fixed test formatter tests
* fixed method tests
* fixed method utils
* fixed some eth methods
* fixed some eth methods 2
* bumped version 0.18.3 to republish meteor package
* fixed get* tests
* fixed subscribe tests
* added newBlockHeaders subscription
* remove unpublished package from package.json
* added sendTransaction test
* fixed call test
* moved files to done
* changed extend
* added iban tests
* Fixed ALL tests
* Fixed lint tests
* Fixed contract tests
* added method tests
* added more method tests to test promiEvents extensively
* added confirmation event
* improved method confirmation checking
2017-01-26 10:24:14 +01:00
Fabian Vogelsteller
17af9b5565
Merge branch 'develop' into 1.0
2017-01-05 15:56:28 +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
742e55c721
added payable checks and tests
2017-01-05 15:23:41 +01:00
Fabian Vogelsteller
c3529f0539
reworked deploy method
2017-01-05 14:43:10 +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
Fabian Vogelsteller
345b756361
merged develop
2017-01-05 11:17:41 +01:00
David Braun
02f083198c
Fix #483 by improving formatting of bytes type.
2016-11-21 13:36:34 -05:00
David Braun
b4613cc5f5
Remove bytes64 test.
...
There is no bytes64 type in Solidity (http://solidity.readthedocs.io/en/1242/types.html#fixed-size-byte-arrays ).
2016-11-21 12:12:46 -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
Fabian Vogelsteller
a3373365d1
added tests for once with on('data'..)
2016-11-11 16:29:18 +01:00
Fabian Vogelsteller
c4c71b9145
added tests for multiple topics in events
2016-11-11 15:46:57 +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
cce1b3d68c
added getPastEvent docs
2016-11-10 15:38:03 +01:00
Fabian Vogelsteller
f1658b1eda
added deploy docs
2016-11-10 12:04:47 +01:00
Fabian Vogelsteller
8deb24161d
moved address and jsonInterface to options
2016-11-10 11:14:01 +01:00
Fabian Vogelsteller
9c1d54453f
added tests for changing address
2016-11-10 10:51:45 +01:00
Fabian Vogelsteller
b455bcb950
added tests for re-setting json interface
2016-11-09 16:34:10 +01:00