Commit Graph

417 Commits

Author SHA1 Message Date
Peter Lai
0659ec04dc
Merge pull request #157 from sc0Vu/add-defaultblock
Add defaultblock in Contract.call
2019-10-02 10:42:08 +08:00
sc0vu
0e303787ba
Add defaultblock in contract call 2019-10-02 10:26:41 +08:00
Peter Lai
fff321de37
Merge pull request #156 from sc0Vu/add-dockerfile
Add dockerfile
2019-09-08 23:41:37 +08:00
sc0vu
5e284d0037
Update .travis.yml 2019-09-08 23:12:58 +08:00
sc0vu
3943f00b38
Update php dockerfiles
Change:
* Add Dockerfile-73
* Install gmp library automatically
2019-09-08 23:11:27 +08:00
Peter Lai
8a34582d23
Merge pull request #154 from tomcyr/master
Fix call Eth NewBlockFilter
2019-07-30 11:48:05 +08:00
Tomasz Cyrankowski
d67367a2f2 Eth NewBlockFilter method hasn't any arguments so it shouldn't have any validators 2019-07-25 10:52:57 +02:00
sc0Vu
b6fc44d9e3
Update composer.json
Require ext-mbstring
2019-03-12 22:50:29 +08:00
sc0vu
10b000d3e5 Update docker/php/composer-setup.php 2019-02-26 18:50:22 +08:00
Peter Lai
08a237df37
Merge pull request #144 from sc0Vu/fix-143
Fix #143
2019-02-24 17:01:47 +08:00
sc0Vu
4779c7e710
Fix #143
Fix wrong $argsLen in contract.
2019-02-24 16:57:26 +08:00
Peter Lai
13f6d3338d
Merge pull request #142 from sc0Vu/fix-134
Fix #134
2019-02-11 22:15:57 +08:00
sc0Vu
2b5295533f
Add support for same function name but with different parameters
See issue #134
2019-02-11 22:11:29 +08:00
sc0Vu
cd1bcf3a17 Add test contracts 2019-02-11 22:08:09 +08:00
sc0Vu
d35ecef5f7
Fix bytes and dynamic bytes format 2019-02-11 00:10:14 +08:00
Peter Lai
b0615caf03
Merge pull request #138 from sc0Vu/fix-dynamic-bytes
Fix DynamicBytes.php
2019-01-17 01:08:50 +08:00
Peter Lai
5e4e5e35fd
Merge pull request #135 from 1099511627776/bclounge
Close connection after stream read
2019-01-17 01:08:34 +08:00
sc0Vu
fcb959dec7
Fix DynamicBytes.php
Call inputFormat failed when toBn return array of data
See: https://github.com/sc0Vu/web3.php/pull/97
2019-01-17 00:57:08 +08:00
1099511627776
b0b1841642 Fix indent 2019-01-13 12:24:06 +02:00
Peter Lai
fbf2ba4f97
Merge pull request #137 from sc0Vu/fix-112
Fix #112
2019-01-13 15:09:26 +08:00
sc0Vu
83188b171e
Fix #112
Remove depth for jsonToArray function
2019-01-13 14:07:31 +08:00
Peter Lai
c5fe156d97
Merge pull request #136 from sc0Vu/fix-94
Remove support for int and float in toWei
2019-01-12 23:59:47 +08:00
sc0Vu
734dbebb76
Remove support for int and float in toWei 2019-01-06 23:26:21 +08:00
sc0Vu
9dd5056790
Remove comments 2018-12-21 00:19:56 +08:00
Peter Lai
53b5165062
Merge pull request #104 from sinabs/master
getTransactionReceipt result maybe null
2018-12-21 00:14:15 +08:00
Peter Lai
08956500b0
Merge pull request #127 from sc0Vu/fix-125
Fix #125
2018-12-21 00:09:15 +08:00
sc0Vu
0ef6000be3 Fix #125 2018-12-21 00:03:38 +08:00
sc0Vu
51abbc2f5e Clean code 2018-12-14 12:12:04 +08:00
Peter Lai
d579535485
Merge pull request #131 from sc0Vu/add-test
Add test for personal_lockAccount
2018-12-13 18:35:48 +09:00
sc0Vu
f3259100ec Add test for personal_lockAccount
Change:
* Add test for personal_lockAccount
2018-12-13 17:27:52 +08:00
Peter Lai
28627c5ecf
Merge pull request #100 from soraclub/master
Add method: personal_lockAccount
2018-12-13 18:18:54 +09:00
Peter Lai
46708ab7b1
Merge pull request #130 from sc0Vu/update-docker
Update docker
2018-12-13 12:53:41 +09:00
sc0Vu
60bbb2c17a Update docker
Change:
* Add default configuration files.
* Update composer-setup.php.
* Remove composer-setup.php after intallation.
2018-12-13 11:18:48 +08:00
Peter Lai
77f20738aa
Merge pull request #108 from sunshuzhou/patch-1
Updata README.md
2018-12-12 19:22:27 +09:00
Peter Lai
fe5dc8ed63
Merge pull request #128 from sc0Vu/remove-get-compilers
Remove eth_getCompilers
2018-12-12 19:17:15 +09:00
sc0Vu
0d415ce360 Remove eth_getCompilers
Remove deprecated api: eth_getCompilers

See: https://github.com/ethereum/EIPs/issues/209
2018-12-12 16:46:58 +08:00
Peter Lai
01a70408ac
Merge pull request #106 from Arul-/patch-3
Fix for PHP Notice:  Undefined index: inputs in src/Contract.php:394
2018-12-12 00:09:06 +09:00
Peter Lai
e7e04c542b
Merge pull request #105 from amateescu/patch-1
Don't send an empty "to" address when estimating gas for the constructor
2018-12-12 00:05:51 +09:00
1099511627776
29ceef6552 exclude .idea from tracked files 2018-11-13 18:30:21 +02:00
1099511627776
54e18048e3 Rename result to stream 2018-11-02 13:40:24 +02:00
1099511627776
70ac87df82 Close connection after stream read 2018-10-30 19:29:03 +02:00
Sun Shuzhou
c81e4ee4e5
Updata README.md
Fix typo
2018-09-19 11:45:46 +08:00
Arul
0f1b9183b0
Fix for PHP Notice: Undefined index: inputs in src/Contract.php on line 394
When creating an instance of the contract with the new method, `$constructor['inputs']` is not available all the time, causing the above notice

This commit fixes it by checking it first
2018-09-04 21:04:39 +08:00
Andrei Mateescu
908d841bce
Don't send an empty "to" address when estimating gas for the constructor
Sending a empty "to" address when estimating the gas usage of the contract constructor returns the following error (from geth at least):

> invalid argument 0: hex string has length 0, want 40 for common.Address in
2018-08-23 08:31:18 +03:00
sinabs
6d59d3d372 Test transaction result maybe null 2018-08-08 14:59:25 +08:00
sinabs
1a9784da30 add code comments 2018-08-08 14:22:02 +08:00
sinabs
e5729b757c getTransactionReceipt result is NULL, Transaction status Pending
but RequestManage class throw 'Something wrong happened'
2018-08-08 12:52:09 +08:00
guanzi
16d341455d add method: personal_lockAccount 2018-08-01 19:32:44 +08:00
Kuan-Cheng,Lai
1fb7762eb7
Merge pull request #76 from sciku1/master
Added getToAddress
2018-06-24 22:45:20 +08:00
Kuan-Cheng,Lai
87dbe235a4
Merge pull request #87 from sc0Vu/fix-85
decodeParameters not work
2018-06-24 22:42:35 +08:00