Commit Graph
10537 Commits
Author SHA1 Message Date
Daniel Kirchner ece9afef8f Check for matching number of components in TupleType::isImplicitlyConvertibleTo instead of the TypeChecker. 2018-07-10 12:17:01 +02:00
chriseth f6edb7fb8f Merge pull request #4434 from mattaereal/patch-4
Update isolate_tests.py
2018-07-09 22:47:34 +02:00
chriseth ab99893396 Merge pull request #4440 from ethereum/hex_denomination_enforce_error
[BREAKING] Enforce error on hex combined with denomination
2018-07-09 17:57:16 +02:00
chriseth 4747ef26fb Add backticks to changelog. 2018-07-09 17:56:53 +02:00
chriseth e950fd434a Merge pull request #4403 from ethereum/syntaxTestsVisibility
Specify default visibility in syntax tests (pt. 2)
2018-07-09 17:53:23 +02:00
Leonardo Alt c1b67a845b Enforce error on hex number combined with unit denomination 2018-07-09 17:19:41 +02:00
Alex Beregszaszi 694754b4fe Merge pull request #4432 from ethereum/visibilityCompilationTests
Specify default visibility in compilation tests
2018-07-09 14:59:42 +01:00
chriseth e028d25ed3 Merge pull request #4325 from ethereum/rename-aleth
Rename eth to aleth in testing scripts
2018-07-09 15:31:43 +02:00
Alex Beregszaszi 8dc7609257 Merge pull request #4395 from xinbenlv/patch-1
Indicating abbr.
2018-07-09 13:28:27 +02:00
xinbenlv 1e7d44d31c Indicate what the abbreviation ABI stands for in the ABI documentation 2018-07-09 12:24:54 +01:00
Alex Beregszaszi 5bd2229247 Merge pull request #4433 from mattaereal/patch-2
Docs: Missing new line for markdown to display properly
2018-07-09 13:23:58 +02:00
Alex Beregszaszi f83ff3bd33 Merge pull request #4448 from elopio/patch-3
Add missing periods to opcodes table
2018-07-09 12:59:23 +02:00
Leo Arias 4fb1fa02ea Add missing periods to opcodes table in assembly.rst
The table is inconsistent between `..` and `...`. This updates all the explanations to use `...`.
2018-07-09 11:31:43 +01:00
Alex Beregszaszi c42583d27e Merge pull request #4366 from ethereum/libsolc-cleanup
Implement new libsolc API
2018-07-09 12:30:11 +02:00
Matías A. Ré Medina 5640eba382 Update isolate_tests to use simple quotes consistently.
The previous code had double quotes and the project uses simple quotes.
2018-07-09 11:28:34 +01:00
Matías A. Ré Medina 1ebeb7e588 Change isolate_tests to support single files as an input
On the documentation the examples for the usage of isolate_tests.py are shown with single files, and it's currently not working. It only works for folders or wildcards that return more than one file, since that's how os.walk works within a loop for that cases.

Proposed an simple and easy fix.

I extracted the core functionality for extracting tests from files, and made another function called `extract_and_write`
If the program receives a single file the function `extract_and_write` is called once, it even works for `docs` when specified.
If the program receives a path or a wildcard, works as used to.
2018-07-09 11:28:09 +01:00
Alex Beregszaszi 273be204b6 Rename eth to aleth in testing scripts 2018-07-09 11:10:39 +01:00
Alex Beregszaszi 8b8565c873 Simplify code regarding eth in tests.sh 2018-07-09 11:08:36 +01:00
Erik Kundt 19f6b5ad05 Updates interface constructor and function type test. 2018-07-06 19:42:44 +02:00
chriseth f3e0bf1dd8 Merge pull request #4418 from ethereum/initialConstants
Only allow compile-time constants for constant state variables.
2018-07-05 17:07:32 +02:00
chriseth 2987e33e23 Merge pull request #4424 from ethereum/fixBytesAlloc
Fix allocation of byte arrays.
2018-07-05 17:06:37 +02:00
chriseth 98c0347722 Merge pull request #4435 from ethereum/pullBeforePush
Pull before pushing to bytecode (as on *ix).
2018-07-05 14:36:53 +02:00
chriseth c8ac861832 Fix allocation of byte arrays. 2018-07-05 14:18:14 +02:00
chriseth 0e12903094 Pull before pushing to bytecode (as on *ix). 2018-07-05 12:18:43 +02:00
chriseth b1ab81ef22 Merge pull request #4387 from ethereum/endToEndDefaultVisbility
Specify default visibility in unit tests
2018-07-05 10:32:07 +02:00
Matías A. Ré Medina de78c816b5 Docs: Missing new line for markdown to display properly
Somehow on the last PR I sent about this section a newline disappeared, I added it again.
2018-07-04 20:23:14 -03:00
Erik Kundt febbfd4204 Adds visibility to compilation tests. 2018-07-04 19:20:51 +02:00
Erik Kundt 87ab7d1821 Fixes compilation errors. 2018-07-04 15:45:42 +02:00
Erik Kundt cbfe3766db Fixes defects in end-to-end tests. 2018-07-04 15:45:42 +02:00
Erik Kundt 7cb46ea707 Fixes assembly test. 2018-07-04 15:45:42 +02:00
Erik Kundt fc2b006fe1 Updates unit test to specify visibility. 2018-07-04 15:45:42 +02:00
Erik Kundt b42929975f Updates end-to-end tests to specify default visibility. 2018-07-04 15:32:49 +02:00
Erik Kundt 3f53db402f Fixes wrong visibility specifier in interface constructor test. 2018-07-04 15:15:30 +02:00
chriseth 7101a89056 Merge pull request #4380 from elopio/patch-3
Update examples to use constructor keyword
2018-07-04 14:16:46 +02:00
chriseth 4a332ab324 Merge pull request #4409 from ethereum/viewPureChecker
Enforce state mutability in view pure checker.
2018-07-04 14:09:46 +02:00
chriseth 476372243b Merge pull request #4423 from ethereum/enforce_error_gasleft
[BREAKING] Enforce error on msg.gas and block.blockhash()
2018-07-04 13:56:10 +02:00
Erik Kundt 0dd3e6052c Fixes broken syntax tests. 2018-07-04 11:47:35 +02:00
Leonardo Alt 8202d512e0 Enforcing error on msg.gas and block.blockhash() 2018-07-04 11:42:05 +02:00
Daniel Kirchner f5be38bff1 Extend view pure test suite. 2018-07-04 11:25:45 +02:00
Erik Kundt 2e0d019ef0 Adds default visibility specifier to syntax tests. 2018-07-04 10:45:59 +02:00
Daniel Kirchner d9a8f2aace Update documentation and Changelog. 2018-07-04 10:14:58 +02:00
Daniel Kirchner 0a738b4ac4 Adjust tests wrt strict view pure checker. 2018-07-04 10:14:58 +02:00
Daniel Kirchner 7ea8365ab0 Remove v050 check for enforcing "view" in ViewPureChecker. 2018-07-04 10:14:58 +02:00
Leo Arias 8fdf3f5d45 update the style guide 2018-07-04 04:29:00 +00:00
chriseth 8ed3da1d5f Only allow compile-time constants for constant state variables. 2018-07-03 23:03:26 +02:00
chriseth 533d5d4b1c Merge pull request #4379 from ethereum/constructorArgsTwice
Disallow constructor arguments given multiple times.
2018-07-03 22:49:02 +02:00
chriseth 16f8c23aa0 Merge pull request #4367 from shad-k/fix/issue-4238
Add custom.css for docs to change pre tag styles
2018-07-03 22:40:51 +02:00
Shadab Khan a673785326 Add custom.css for docs to change pre tag styles
Specify white space for table cells

Add custom.css for docs to change pre tag styles

Specify white space for table cells

Rearrange code

Delete theme_overrides.css

Remove extra code
2018-07-04 00:08:59 +05:30
chriseth 672bc7fc00 Merge pull request #4407 from ajsantander/exit-if-no-eth
Avoid hanging in tests.sh when IPC program is not found
2018-07-03 20:22:54 +02:00
chriseth 58aeffb45b Merge pull request #4413 from ethereum/dropConstantKeywordOnly
Drop constant keyword only
2018-07-03 20:17:01 +02:00