60 Commits

Author SHA1 Message Date
bas-vk
be528f7436 add support for Ethereum blooms (#559) 2017-02-17 11:10:34 +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
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
cd1974b883 added separate function for checksum 2016-02-22 15:17:32 -03:00
Alexandre Van de Sande
9f47fa5535 Simplifies checksum process 2016-02-22 12:19:50 -03:00
Alexandre Van de Sande
083ab3a2cc experimental checksum 2016-02-19 11:05:42 -02:00
Fabian Vogelsteller
0563dba4ee readd topic convertion, add fix 2015-11-24 22:03:21 +01:00
debris
b794007a52 sed ethereum.js -> web3.js 2015-10-08 15:34:07 +08: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
da082a393c fromICAP method 2015-10-05 12:50:19 +02:00
Fabian Vogelsteller
072b7962cb make address check case independent 2015-09-10 14:44:34 +02:00
caktux
e500fd3101 fromUtf8 and toUtf8 should ignore null characters 2015-08-26 17:21:49 -04:00
caktux
a0e34b2dd5 fix fromAscii, toAscii and toHex, fix wrong test assertions, add raw bytes test #291 2015-08-10 23:33:51 -04:00
debris
9743787c07 fixed #267 2015-08-10 22:20:41 +02:00
debris
639f451517 toAscii/fromAscii -> toUtf8/fromUtf8 2015-08-10 22:11:37 +02:00
debris
ac7ac14760 use utf8 library for utf encoding/decoding 2015-08-10 21:38:27 +02:00
debris
9b005e4473 removed utf8 support, do not use "escape" && "unescape" 2015-08-10 21:23:56 +02:00
debris
b965bd8506 Merge branch 'develop' 2015-08-07 11:55:40 +02:00
debris
f9130a58bd fixed lint errors 2015-08-07 11:13:40 +02:00
debris
a9db26f22a refactored iban stuff 2015-08-06 17:11:15 +02:00
Fabian Vogelsteller
f9b735ea8b add Meteor server fix 2015-07-30 15:44:51 +02:00
debris
bbd6df0a83 isFinite behaves differently in go js env 2015-07-27 11:01:12 +02:00
Marek Kotewicz
4a7edb5ad8 fixed utf8 encoding/decoding in solidity params 2015-07-21 11:35:52 +02:00
Fabian Vogelsteller
0e3b29c7c2 fixed coverage issue 2015-06-19 13:33:43 +02:00
ethers
8379696e64 unit names per White Paper
A very early version of the White Paper (Dec 10 2014) already clarified unit names.
502e0e0135
2015-06-18 03:27:51 -07:00
Fabian Vogelsteller
bd6d9ba5b2 merged develop 2015-06-09 12:56:05 +02:00
Fabian Vogelsteller
cc533d9e83 fixed bytes wrong encoding 2015-06-04 23:13:33 +02:00
Fabian Vogelsteller
61f1ba6dda Merge pull request #224 from alexvandesande/prefix-name-reorg
Prefix name reorg
2015-06-03 17:16:05 +02:00
Marek Kotewicz
fa3239f457 abi string type, fixes #216, #218, #219 2015-06-01 19:50:45 +02:00
Alexandre Van de Sande
5866f0882a milli should have two l's 2015-05-22 12:04:06 -03:00
Alexandre Van de Sande
bacb03cc5d Rename Kwei to kwei, added support for some SI base units for ether 2015-05-22 11:45:37 -03:00
Marek Kotewicz
e9483a6404 icap.html example 2015-05-19 15:17:02 +02:00
Fabian Vogelsteller
d1e1206e5a removed byte formatter methods 2015-05-12 11:02:46 +02:00
Fabian Vogelsteller
edf808ad7c add getWork and submitWork functions and toXBytes utils 2015-05-11 16:22:39 +02:00
Marek Kotewicz
93b323f176 removed unused function findIndex from utils 2015-04-22 09:51:27 +02:00
Marek Kotewicz
5f2eb3308f fixed filters encoding null 2015-04-22 09:39:28 +02:00
Marek Kotewicz
4482d5bf00 Merge branch 'develop' into events_refactor
Conflicts:
	dist/web3-light.js
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js
	dist/web3.js.map
	dist/web3.min.js
	lib/web3/filter.js
2015-04-22 09:28:56 +02:00
Fabian Vogelsteller
c8f42262cc add possible 2d topic arrays fixes #175 2015-04-21 20:46:14 +02:00
Marek Kotewicz
501e3bc56e utils cleanup 2015-04-20 23:01:21 +02:00
Marek Kotewicz
96b44682f1 fixed #161, web3.ssh.post 2015-04-16 12:22:20 +02:00
Marek Kotewicz
2ef5efc8f8 fixed #70, creating contract with nondefault constructor 2015-04-09 23:30:18 +02:00
Marek Kotewicz
5e150378c8 fixed formatting address 2015-04-02 13:08:58 +02:00
Marek Kotewicz
cbf8ea19cd test naming convention 2015-03-25 22:17:35 +01:00