Commit Graph

407 Commits

Author SHA1 Message Date
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
sc0Vu
234b1e695f Fix failed test on travis
* Change gas limt to 6000000
* Change ganache container compose file
2018-06-24 22:30:34 +08:00
sc0Vu
07f730d8ce Fix decode dynamic bytes
* Fix outputFormat function in dynamic bytes
* Add test test for issue 85 #85
2018-06-24 21:59:08 +08:00
sc0Vu
d5c21afec0 Fix decode bytes
* Return non zero bytes.
  Decode bytes1 data: 0x6300000000000000000000000000000000000000000000000000000000000000
  Will return 0x63
2018-06-24 21:16:12 +08:00
sc0Vu
ecafb1c5ec Fix BytesTypeTest and DynamicBytesTypeTest 2018-06-24 18:30:45 +08:00
sc0Vu
ee9855fcbf
Change isType regex 2018-06-18 23:24:29 +08:00
Kuan-Cheng,Lai
d0559b8c91
Merge pull request #91 from Arul-/patch-2
Fix: method validation in both send and call
2018-06-14 10:18:32 +08:00
Arul
3d8a567054
Fix: method validation in both send and call
Making sure method is a string and it exists under functions

I was trying to call a nonexistent method. Since I passed a string it went through without checking if it exists as a function or not

This commit fixes that by changing `&&` to `||` (or)
2018-06-07 18:02:08 +08:00
Kuan-Cheng,Lai
be7403a00b
Merge pull request #89 from a10000005588/fix-personal-api-test
Change $e to $err
2018-06-04 11:23:28 +08:00
will
80c8c783ae Change $e to $err 2018-06-04 11:10:31 +08:00
sc0Vu
9521b2d167 Check output name is empty 2018-05-28 15:21:18 +08:00