Commit Graph

11928 Commits

Author SHA1 Message Date
chriseth
32d252ff88
Merge pull request #5411 from ethereum/lll-docs
Add LLL chapter in the documentation
2018-11-13 16:15:52 +01:00
chriseth
aa7dc60ef6
Merge pull request #5342 from Mordax/issue-5177
Disable coverage cmake option
2018-11-13 16:14:27 +01:00
Alex Beregszaszi
4c98a6a2a3 Add LLL chapter in the documentation 2018-11-13 15:14:10 +00:00
chriseth
8ed2e02407
Merge pull request #5105 from ethereum/libsolc-api
Remove old libsolc API (compileJSON, compileJSONMulti, compileJSONCallback)
2018-11-13 16:13:14 +01:00
Leonardo
c21c7e74fe
Merge pull request #5398 from ethereum/smt_model_scanner
Add Scanner function that prints source based on SourceLocation
2018-11-13 16:06:10 +01:00
ritzdorf
8258712771
keccak256 does not call an external contract
``keccak256`` will be compiled to the ``SHA3`` opcode and not call an external contract.
2018-11-13 15:54:13 +01:00
chriseth
6ed3765941 Fix bytecode tests for solc-js 2018-11-13 13:57:31 +00:00
chriseth
28d98d61ef Use latest solcjs and replace compileStandard by compile. 2018-11-13 13:54:01 +00:00
Alex Beregszaszi
b6c3257752 Remove old libsolc API (compileJSON, compileJSONMulti, compileJSONCallback) 2018-11-13 13:54:01 +00:00
chriseth
c237013911
Merge pull request #5020 from ethereum/lll-seq-fix
LLL: terminate sequences with a STOP
2018-11-13 14:10:48 +01:00
Leonardo Alt
9a4fd946c3 Add Scanner function that prints source based on SourceLocation 2018-11-13 13:49:29 +01:00
Alex Beregszaszi
90e4d24407 LLL: ensure assembly tests have the correct arguments 2018-11-13 13:47:29 +01:00
Alex Beregszaszi
e82917d4e6 Add LLL error when assembly instruction causes stack underflow 2018-11-13 13:47:29 +01:00
Alex Beregszaszi
a4d2e17a04 LLL: add test which has a sub assembly without a forced STOP 2018-11-13 13:47:29 +01:00
Alex Beregszaszi
d2e65a3ac4 LLL bytecode is padded by STOP in tests 2018-11-13 13:47:29 +01:00
Alex Beregszaszi
280255e64d LLL: do not wrap opcode tests into sequence 2018-11-13 13:47:29 +01:00
Alex Beregszaszi
c320a650f9 LLL: terminate sequences with a STOP 2018-11-13 13:47:29 +01:00
chriseth
82fadfd1a7
Merge pull request #5408 from ethereum/updateTests
Update tests.
2018-11-13 13:46:46 +01:00
chriseth
2e025cf917 Update tests. 2018-11-13 13:33:33 +01:00
chriseth
7e0041cf22
Merge pull request #5406 from ethereum/uninitializedStorageUnimplemented
Ignore unimplemented functions for detecting uninitialized storage returns.
2018-11-13 13:22:59 +01:00
Daniel Kirchner
b5e9d849ef Ignore unimplemented functions for storage returns. 2018-11-13 12:18:22 +01:00
chriseth
9c6048b0b8
Merge pull request #5333 from ethereum/joinPerformance
[Yul] Use map join algorithm for performance.
2018-11-13 12:15:11 +01:00
chriseth
ac980fb89b
Merge pull request #5400 from ethereum/fixcheckstyle
Fix check style script.
2018-11-13 10:59:42 +01:00
chriseth
b14eec5bab
Merge pull request #5392 from ethereum/yulStringRepositoryHash
[Yul] Deterministic YulStringRepository using string hashes.
2018-11-13 00:07:55 +01:00
Daniel Kirchner
74557ceb0e Deterministic YulStringRepository using string hashes. 2018-11-12 23:43:16 +01:00
chriseth
b1454433b2 Remove variables that go out of scope from data structure. 2018-11-12 23:00:37 +01:00
chriseth
faa7b61d76 Use map join algorithm for performance. 2018-11-12 23:00:37 +01:00
chriseth
5256da03db Fix check style script. 2018-11-12 22:57:32 +01:00
chriseth
a7b3ec0e42 Fix style. 2018-11-12 22:57:32 +01:00
chriseth
4eaed37b96
Merge pull request #5070 from ethereum/2661-clarify-contract-example
Docs: Clarify creating a contract example code
2018-11-12 15:08:56 +01:00
Chris Ward
144909dfb8 Clarify creating a contract example as reported in #2661 2018-11-12 15:07:57 +01:00
chriseth
288582e38e
Merge pull request #4497 from ethereum/faq-reorg-control-structures
Move control structure related FAQ points
2018-11-12 14:37:34 +01:00
Chris Ward
6319a3fd06 Move control structure related FAQ points
Updates from reviews

clarify returning structs, and move returning arrays and strings from separate section

Further clarifications

Updates from review

Final updates
2018-11-12 14:34:09 +01:00
chriseth
d68dfd2c20
Merge pull request #4860 from ethereum/docs-2175-index-missing
Add mention of common subexpression elimination
2018-11-12 14:18:28 +01:00
Chris Ward
4370425823 Clarify term and tidy text
Use UK spelling in heading

Remove colon
2018-11-12 14:17:09 +01:00
chriseth
60b44b1101
Merge pull request #5364 from ethereum/chriseth-patch-5
Add note about changing the storage layout.
2018-11-12 13:00:16 +01:00
chriseth
0b94ac5b04 Add note about changing the storage layout. 2018-11-12 12:59:26 +01:00
chriseth
09f8ff27fc
Merge pull request #5395 from ethereum/fixStyle
Fix style
2018-11-12 09:55:32 +01:00
chriseth
2cc304fd3f Fix for style. 2018-11-12 09:15:22 +01:00
chriseth
af65bac737 Remove trailing whitespace. 2018-11-12 09:15:22 +01:00
chriseth
405565db62
Merge pull request #5275 from svenski123/20181018-4894-refactoring-split-bool-typechecker-visit-functioncall-into-multiple-functions
Refactored bool TypeChecker::visit(FunctionCall const& _functionCall).
2018-11-11 18:15:17 +01:00
Kristofer Peterson
f927da9182 Refactor of bool TypeChecker::visit(FunctionCall const& _functionCall).
Visit method now cleanly determines if node represents a function call,
struct construction or type conversion. Type checking, validation and
error message logic is moved to separate methods.
2018-11-09 16:35:54 +00:00
chriseth
9709dfe046
Merge pull request #5128 from ethereum/breakUnbreak
[Yul] Test case that shows that break / unbreak are more or less inverse
2018-11-09 16:07:20 +01:00
chriseth
dffbeebf60
Merge pull request #5377 from ethereum/resetYulString
Reset yul string repository.
2018-11-09 16:06:51 +01:00
chriseth
0f2ba3522f Reset yul string repository. 2018-11-09 15:40:36 +01:00
chriseth
6bbedab383
Merge pull request #5265 from ethereum/cleanupsha3
Simplify sha3.
2018-11-09 15:39:57 +01:00
chriseth
5ea514213a Test case that shows that break/unbreak are more or less inverse. 2018-11-09 15:36:52 +01:00
Daniel Kirchner
6f13647923 Only run soltest with --no-ipc. 2018-11-09 11:43:52 +01:00
Daniel Kirchner
d33d4b02a9 Add archlinux run on circleci. 2018-11-08 19:20:06 +01:00
chriseth
cbd0116e98
Merge pull request #5326 from ethereum/removeSideEffectFreeStatements
[Yul] Remove side-effect-free statements.
2018-11-08 19:09:07 +01:00