Commit Graph

9681 Commits

Author SHA1 Message Date
Alex Beregszaszi
076c0754ea Update tests for empty structs 2018-03-31 00:27:01 +01:00
Alex Beregszaszi
acd6ec0d03
Merge pull request #3800 from wbt/patch-2
Fix small formatting issue
2018-03-30 21:10:02 +01:00
wbt
8aadc179ae
Fix small formatting issue
in which a constant was not treated as code, inconsistent with surrounding examples.
2018-03-30 15:28:15 -04:00
chriseth
326d656a55
Merge pull request #3790 from ethereum/empty-structs
Disallow empty structs
2018-03-30 13:58:35 +02:00
Alex Beregszaszi
58c57e446b
Merge pull request #3753 from ethereum/whoSupportsPackedEncoding
Prevent encoding of weird types and support packed encoding of extenal function types.
2018-03-29 11:24:51 +01:00
chriseth
5c8a6aac69 Prevent encoding of weird types and support packed encoding of external function types. 2018-03-29 09:57:11 +01:00
Alex Beregszaszi
c2ae33f806
Merge pull request #3754 from AnthonyBroadCrawford/error-on-missing-file
Error on non existing or irregular files
2018-03-29 01:53:56 +01:00
Anthony Broad-Crawford
8a18f22b87 Support for error on non-existant or irregular files with command line option to ignore 2018-03-28 10:25:43 +01:00
chriseth
3bb54e8bd5
Merge pull request #3775 from federicobond/improve-error-fractional-shift
Improve error message when attempting to shift by fractional number
2018-03-28 11:16:44 +02:00
Alex Beregszaszi
ebb12756ad Still allow empty structs for non-0.5.0 mode 2018-03-27 15:49:41 +01:00
Alex Beregszaszi
b540ba527a Disallow empty structs 2018-03-27 15:49:41 +01:00
chriseth
62559cf127
Merge pull request #3681 from ethereum/interface-external
Allow overriding external functions in interfaces with public in a child
2018-03-27 15:47:59 +02:00
Alex Beregszaszi
8c1352ca75
Merge pull request #3772 from ethereum/docsTestingGuide
Add syntax testing guide to docs
2018-03-27 14:28:16 +01:00
chriseth
59538e9a04
Merge pull request #3686 from ethereum/doNotIncludeItnernal
Do not include internal functions only used by constructor
2018-03-27 15:28:08 +02:00
chriseth
af26228159
Merge pull request #3748 from ethereum/extractScopingTests
Extract scoping tests
2018-03-27 15:23:36 +02:00
Alex Beregszaszi
32f08989db
Merge pull request #3646 from ethereum/blockhash-global
Move blockhash from block.blockhash to global level.
2018-03-27 11:40:06 +01:00
Erik Kundt
80458b0420 Explains test structure and update mechanism more detailed. 2018-03-27 11:55:21 +02:00
Alex Beregszaszi
fab527c414 Add runtimeOnly option to pushCombinedFunctionEntryLabel 2018-03-27 04:00:12 +01:00
chriseth
0a58e57ceb Changelog entry. 2018-03-27 04:00:12 +01:00
chriseth
0a67d616db Use shortcut for internal function calls to avoid runtime reference. 2018-03-27 04:00:12 +01:00
chriseth
f8f50e14d2 Test that internal functions only used by constructor are not included in runtime context. 2018-03-27 04:00:12 +01:00
bitshift
2c56e53046 Changes deprecation and adjusts tests. 2018-03-27 03:30:03 +01:00
bitshift
bddfa47e77 Updates docs for blockhash changes. 2018-03-27 03:30:03 +01:00
bitshift
be35a65eb3 Adds unit tests for moved function. 2018-03-27 03:30:03 +01:00
bitshift
ed632025fe Moves blockhash function to global level. 2018-03-27 03:30:03 +01:00
Alex Beregszaszi
8bae2dba7c Introduce inContractKind helper on FunctionDefinition 2018-03-26 11:37:38 +01:00
Alex Beregszaszi
ef3595b000 Allow overriding external functions in interfaces with public in an implementing contract 2018-03-26 11:35:17 +01:00
Federico Bond
b79531bebf Improve error message when trying to shift by fractional number 2018-03-22 10:05:49 -03:00
Erik Kundt
9d9c0bf908 Updates "How to contribute"
Adds detailed description of  the new syntax test tool.
2018-03-21 19:35:22 +01:00
chriseth
ba209fe485
Merge pull request #3746 from ethereum/disableCCache
Disable ccache
2018-03-21 18:22:50 +01:00
chriseth
85b0cfea9a
Merge pull request #3308 from ethereum/usereturndatacopy
Use returndatacopy for retrieving dynamically sized outputs.
2018-03-21 18:12:41 +01:00
Alex Beregszaszi
8fd53c1c03
Merge pull request #3744 from ethereum/useUsrBinEditor
Use /usr/bin/editor if exists.
2018-03-21 15:28:21 +00:00
chriseth
cddb549d2c
Merge pull request #3763 from mattaereal/patch-1
Fix: Missing payable at function forceOwnerChange
2018-03-21 16:27:12 +01:00
chriseth
c7860a0fba Changelog entry. 2018-03-21 14:53:29 +00:00
chriseth
cc0f70263f Tests for returning dynamic data. 2018-03-21 14:53:29 +00:00
chriseth
c2709a2d8e Decode dynamic data. 2018-03-21 14:53:29 +00:00
chriseth
cc2f71e4ac Move dynamic type removal out of the type system. 2018-03-21 14:53:29 +00:00
chriseth
32c94f5059 Simple size check for old ABI decoder. 2018-03-21 14:53:25 +00:00
chriseth
2cdf44f65c Move the old ABI decoder code. 2018-03-20 15:20:43 +00:00
Matías A. Ré Medina
6e730df036
Fix: Missing payable at function forceOwnerChange
forceOwnerChange expects ether, and does not have the payable keyword.
2018-03-19 16:38:20 -03:00
chriseth
2b2527f31c
Merge pull request #3751 from ethereum/syntaxTestsExtensions
Only consider files ending with .sol and not starting with ~ in synta…
2018-03-16 13:39:01 +01:00
Daniel Kirchner
e68c19c47b Only consider files ending with .sol and not starting with ~ in syntax tests. 2018-03-16 12:28:21 +01:00
chriseth
c9db105ad7 Extract scoping tests. 2018-03-16 00:47:32 +01:00
chriseth
6589555790 Test extraction tool. 2018-03-16 00:47:32 +01:00
chriseth
0a4d4d6c52 Remove ccache on circle. 2018-03-15 23:25:20 +01:00
chriseth
ea8d5f8afc Use /usr/bin/editor if exists. 2018-03-15 18:20:23 +01:00
chriseth
9e1095608d
Merge pull request #3709 from ethereum/syntaxTestsInteractiveTool
Interactive syntax test tool.
2018-03-15 17:03:43 +01:00
Daniel Kirchner
50ad89d369 Only colour error type, not error message in isoltest. 2018-03-15 16:27:54 +01:00
Daniel Kirchner
7fa892eca9 Add interactive test tool isoltest. 2018-03-15 16:23:49 +01:00
Daniel Kirchner
269241e910 Add formatted printing to SyntaxTest and expand its public interface. 2018-03-15 16:23:46 +01:00