chriseth
8af298ade3
Merge pull request #2902 from ethereum/warn-obsolete
...
Warn about obsolete sha3/suicide calls
2017-09-20 18:00:40 +02:00
Paweł Bylica
49c98bbc34
CMake: Better ccache configuration
...
EthCcache module taken from cpp-ethereum.
2017-09-20 16:39:41 +02:00
chriseth
2adeb26d43
Merge pull request #2924 from ethereum/inlineasm-assign-multi
...
Support multiple assignment in inline assembly
2017-09-20 14:45:06 +02:00
chriseth
e14ab959f9
Remove unintentional copy in assignment operation.
2017-09-20 11:16:26 +02:00
Alex Beregszaszi
6948758156
Limit parser recursion depth further (needed by increased assembly data structure size)
2017-09-20 11:16:23 +02:00
Alex Beregszaszi
3b813ed295
Support multiple assignment in inline assembly
2017-09-20 11:16:23 +02:00
chriseth
c0b3e5b078
Merge pull request #2930 from ethereum/no-deps-submodule
...
Remove deps git submodule
2017-09-20 09:48:24 +02:00
Alex Beregszaszi
d6bc0a0631
Merge pull request #2929 from ethereum/cppcheck
...
Another set of improvements found by cppcheck
2017-09-20 08:41:44 +01:00
Alex Beregszaszi
f958463416
Rename MiniMoustache to Whiskers in tests
2017-09-20 01:23:21 +01:00
Alex Beregszaszi
efa4598c23
Mark functions static
2017-09-20 01:23:21 +01:00
Alex Beregszaszi
6cec0789b5
Limit of scope of variables in SHA3
2017-09-20 01:23:21 +01:00
Alex Beregszaszi
1c0c5d923a
Mark constructors explicit
2017-09-20 01:23:21 +01:00
Alex Beregszaszi
aad829948a
Ensure parameter names match between headers and implementation
2017-09-20 01:23:21 +01:00
Paweł Bylica
b9e4d5b6c8
Windows: Copy install_deps.cmake from cpp-dependencies repo
2017-09-19 20:55:47 +02:00
Paweł Bylica
4a499a38ea
jsoncpp: Restore download dir in source tree
2017-09-19 20:41:28 +02:00
chriseth
137b214be4
Merge pull request #2927 from ethereum/abispecfix
...
Fix ABI spec.
2017-09-19 17:05:41 +02:00
Paweł Bylica
d59ec0b9ab
Remove deps git submodule
2017-09-19 15:23:40 +02:00
Paweł Bylica
39d7faa476
Merge pull request #2926 from ethereum/deps
...
deps: Move and fix jsoncpp.cmake from deps submodule
2017-09-19 15:19:06 +02:00
Alex Beregszaszi
ed1fd49ab0
Warn about obsolete sha3/suicide calls
2017-09-19 11:11:19 +01:00
Alex Beregszaszi
a061e8db34
Clarify shorthand notation in ABI
2017-09-19 11:02:14 +01:00
chriseth
32965807a7
Fix ABI spec regarding arrays.
2017-09-19 11:01:41 +01:00
Paweł Bylica
5706508332
deps: Move and fix jsoncpp.cmake from deps submodule
...
This copies jsoncpp.cmake from ethereum/cpp-dependencies repo and adds BUILD_BYPRODUCT information to ExternalProject configuration (required by Ninja).
2017-09-19 11:55:55 +02:00
Alex Beregszaszi
1fc71bd758
Merge pull request #2920 from ethereum/fixConstantBytes
...
Allow constant byte arrays.
2017-09-19 07:42:32 +01:00
Alex Beregszaszi
ada68bcee6
Add tests for constant bytes/strings
2017-09-18 22:25:50 +01:00
chriseth
ff275e369c
Allow constant byte arrays.
2017-09-18 19:49:27 +01:00
chriseth
3a9a9db6d6
Merge pull request #2910 from ethereum/fallback-restrict-external
...
Force fallback to be external (experimental 0.5.0 change)
2017-09-18 16:38:55 +02:00
chriseth
068a593d9c
Merge pull request #2922 from ethereum/asm-bytes-required
...
Properly calculate bytesRequired for subs
2017-09-18 16:38:02 +02:00
Alex Beregszaszi
f676325d60
Merge pull request #1673 from ethereum/structs
...
Returning structs
2017-09-18 15:20:56 +01:00
chriseth
f473a43a25
Merge pull request #2921 from ethereum/asm-assertion-messages
...
Add useful messages to exceptions in the assembler
2017-09-18 14:36:31 +02:00
Alex Beregszaszi
a3380ea8d0
Force fallback to be external (experimental 0.5.0 change)
2017-09-18 11:58:37 +01:00
Alex Beregszaszi
20ffa1db43
Properly calculate bytesRequired for subs
2017-09-18 11:39:49 +01:00
Alex Beregszaszi
f4b87548c8
Add useful messages to exceptions in the assembler
2017-09-18 11:32:56 +01:00
chriseth
c289fd3d9e
Merge pull request #2905 from ethereum/circleci
...
Emscripten build on Circle CI
2017-09-18 11:13:54 +02:00
bernard peh
5234408ff5
possible typo fix
2017-09-16 23:13:50 +10:00
chriseth
c001903cdc
Fixed tests with mappings in structs and added some more.
2017-09-16 12:31:13 +01:00
chriseth
0696545808
Check for interface types of members and cache recursion check.
2017-09-16 12:31:13 +01:00
Alex Beregszaszi
b687d74c47
Add changelog
2017-09-16 12:31:13 +01:00
Alex Beregszaszi
923373b41e
Clarify ABI & Solidity types
2017-09-16 12:31:12 +01:00
chriseth
c5063d3155
Use "tuple" for struct types in ABI JSON.
...
Only use tuple as a type in the ABI (and remove all "anonymous struct" references too)
2017-09-16 12:31:12 +01:00
chriseth
70d70e7816
Implement struct encoder.
2017-09-16 12:31:12 +01:00
chriseth
6385641f6e
Fix tests.
2017-09-16 12:31:12 +01:00
chriseth
44825d1c1e
Expect test to fail until implemented.
2017-09-16 12:12:44 +01:00
chriseth
e4bb767dcd
Document structs in ABI
2017-09-16 12:12:44 +01:00
chriseth
7e1b9c1652
Structure type json using "components".
2017-09-16 12:12:44 +01:00
chriseth
36a90289e6
Fix interface type conversion internal to structs.
2017-09-16 12:12:43 +01:00
chriseth
823e67bf40
Tests for external signatures.
2017-09-16 12:12:43 +01:00
chriseth
080be885f8
Function signatures containing structs.
2017-09-16 12:12:43 +01:00
chriseth
22f85d5af3
Update tests and error messages.
2017-09-16 12:12:43 +01:00
chriseth
59ea19b3b9
Check for recursive structs.
2017-09-16 12:12:43 +01:00
chriseth
2e72bd163a
Allow structs as part of function interfaces.
2017-09-16 12:12:43 +01:00