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
Alex Beregszaszi
a0d171722a
Merge pull request #2823 from ethereum/iuliaCompressor
...
Combine all ABI functions into a single assembly.
2017-09-16 03:46:29 +01:00
chriseth
80ce3ca66f
Move ABI encoder into its own function.
2017-09-15 20:46:32 +01:00
chriseth
73771f5bb2
Named assembly labels.
2017-09-15 20:44:49 +01:00
Paweł Bylica
48e0e3b97f
Circle CI: Emscripten build
2017-09-15 16:06:05 +02:00
Alex Beregszaszi
7dd372ce5c
Merge pull request #2904 from ethereum/viewPure5
...
Enforce view with error for experimental 0.5.0.
2017-09-14 18:13:56 +01:00
chriseth
934b0d2f0d
Merge pull request #2749 from ethereum/require-visibility
...
Warn if no visibility is specified on contract functions.
2017-09-14 18:44:03 +02:00
chriseth
24fd67b7db
Enforce view with error for experimental 0.5.0.
2017-09-14 17:53:43 +02:00
Alex Beregszaszi
67f96652f5
Update view/pure tests to contain mandatory visibility specifiers
2017-09-14 16:30:00 +01:00
Alex Beregszaszi
df8380193b
Update type tests to contain mandatory visibility specifiers
2017-09-14 16:29:39 +01:00
Alex Beregszaszi
a02cf83d86
Update std to contain visibility specifiers
2017-09-14 15:58:04 +01:00
Alex Beregszaszi
5b5367dc12
Warn if no visibility is specified on contract functions.
2017-09-14 15:58:04 +01:00
Alex Beregszaszi
1c85ba10e1
Merge pull request #2883 from ethereum/experimental-v050
...
Add experimental feature 'v0.5.0'
2017-09-13 21:35:30 +01:00
Alex Beregszaszi
06c2ddfd50
Add experimental feature 'v0.5.0'
2017-09-13 19:22:03 +01:00
Alex Beregszaszi
bc5306863d
Merge pull request #2900 from ethereum/viewpure-warnings
...
Fix view/pure warnings on selector tests
2017-09-13 19:21:34 +01:00
Alex Beregszaszi
71118e99fe
Fix view/pure warnings on selector tests
2017-09-13 18:48:21 +01:00
chriseth
66d7c1d474
Merge pull request #2898 from ethereum/docs-abi
...
Fix nested lists in the ABI documentation
2017-09-13 18:47:13 +02:00
Alex Beregszaszi
e1f90f0ad6
Fix nested lists in the ABI documentation
2017-09-13 17:39:48 +01:00
Alex Beregszaszi
5c9dbd5083
Merge pull request #2473 from ethereum/functiontype-sig
...
Add .selector member on function types
2017-09-13 17:35:48 +01:00
chriseth
3f3bcc4f8a
Merge pull request #2848 from ethereum/checkViewPure
...
Enforce view and pure.
2017-09-13 18:29:13 +02:00
chriseth
172704a58f
Changelog entry.
2017-09-13 18:28:36 +02:00
chriseth
e2f30ce9ca
Minor changes from review.
2017-09-13 17:29:27 +02:00