Commit Graph

18085 Commits

Author SHA1 Message Date
a3d4
0f5d0b6455 Improve error coverage of parser 2020-08-19 01:37:11 +02:00
chriseth
3c27d36ebd
Merge pull request #9283 from ethereum/refactor-sideEffects
Refactor SideEffects
2020-08-18 15:12:42 +02:00
Harikrishnan Mulackal
3cbe65e4f3 Refactor SideEffects struct 2020-08-18 14:53:59 +02:00
chriseth
17edf4f207
Merge pull request #9479 from ethereum/exp
Implement checked exponentiation.
2020-08-18 13:57:25 +02:00
chriseth
f24c9c7bde
Merge pull request #8834 from ethereum/freeFunctions
Free functions.
2020-08-18 13:50:37 +02:00
chriseth
c34e349572 Implement checked exponentiation. 2020-08-18 12:42:53 +02:00
chriseth
2ff954ec2d Use kind in json AST for free function. 2020-08-18 11:46:59 +02:00
chriseth
8d92fd1c04 Use opportunistic visiting order for modifiers. 2020-08-18 11:46:59 +02:00
chriseth
cf5aa450bd Documentation. 2020-08-18 11:46:59 +02:00
chriseth
e9f91edc4b Update existing tests. 2020-08-18 11:46:59 +02:00
chriseth
9324fb4f20 Free functions. 2020-08-18 11:46:59 +02:00
chriseth
660ef792ab
Merge pull request #9633 from ethereum/fixReceiveCheck
Fix assertion for receive function in libraries.
2020-08-17 18:31:13 +02:00
chriseth
60c0c610ee
Merge pull request #9634 from ethereum/fix-python-utf
[Trivial] Ignore UTF errors when handling test files in python
2020-08-17 17:12:41 +02:00
Mathias Baumann
53dd818e96 Ignore UTF errors when handling test files in python 2020-08-17 17:06:06 +02:00
chriseth
833f973f0e Fix assertion for receive function in libraries. 2020-08-17 16:49:13 +02:00
chriseth
999f158917
Merge pull request #8640 from randomnetcat/function-call-kind
Encapsulate kind in FunctionCallAnnotation
2020-08-17 11:51:43 +02:00
Leonardo
e6b2075af3
Merge pull request #9630 from ethereum/tests-SideEffects
Tests for refactor-SideEffects
2020-08-17 10:56:52 +02:00
Harikrishnan Mulackal
58bfe0b0d2 Tests for refactor-SideEffects 2020-08-14 17:44:19 +02:00
Leonardo Alt
5afd1219f5 Add test with unused error id 2020-08-14 12:58:27 +02:00
Leonardo Alt
1b720cf674 Changelog 2020-08-14 12:58:27 +02:00
Leonardo Alt
0a160b1ba0 Update remaining tests 2020-08-14 12:58:27 +02:00
Leonardo Alt
80ab56dbc6 Update overflow tests 2020-08-14 12:58:27 +02:00
Leonardo Alt
8a06041bbe [SMTChecker] Add underflow/overflow target to CHC 2020-08-14 12:58:27 +02:00
Alex Beregszaszi
b1fb9da63a
Merge pull request #9619 from ethereum/yul-tests
Add more syntax tests for Yul
2020-08-13 17:09:39 +01:00
Alex Beregszaszi
babb175d86 Add more syntax tests for Yul 2020-08-13 14:20:52 +01:00
Daniel Kirchner
5d670aaa18
Merge pull request #9614 from ethereum/yul-hex
Update tests/documentation to show that hex literals are not supported in Yul
2020-08-13 03:11:45 +02:00
Alex Beregszaszi
acdaff6308
Merge pull request #9615 from haltman-at/fix-immutable-refs-docs
Correct immutableReferences documentation from array to object
2020-08-13 00:31:12 +01:00
Alex Beregszaszi
ce501d6740
Merge pull request #9613 from ethereum/yul-function-arrow
Add/Update tests for Yul function definition
2020-08-13 00:30:00 +01:00
Alex Beregszaszi
b752551ebd Add test case for string literals in switch statements in Yul 2020-08-13 00:27:41 +01:00
Alex Beregszaszi
18eed44688 Drop hex literals from the Yul documentation 2020-08-13 00:27:19 +01:00
Alex Beregszaszi
acb1e8c280 Add tests showing hex literals are not allowed in Yul 2020-08-13 00:27:19 +01:00
Harry Altman
590572d50d Correct immutableReferences documentation from array to object 2020-08-12 19:16:10 -04:00
Alex Beregszaszi
bb29307b02 Add/Update tests for Yul function definition 2020-08-12 23:53:08 +01:00
Jason Cobb
888d7037cd
Make FunctionCallAnnotation::kind a SetOnce 2020-08-12 11:57:01 -04:00
Đorđe Mijović
e68d16d8e0
Merge pull request #9503 from ethereum/copyStructCalldataMemorySol2Yul
[Sol->Yul] Implementing struct copying from calldata to memory.
2020-08-11 23:53:59 +02:00
Djordje Mijovic
d685bee2ec [Sol->Yul] Implementing struct copying from calldata to memory.
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
2020-08-11 16:18:06 +02:00
Leonardo
05901f5bc9
Merge pull request #9521 from ethereum/smt_fix_array_name
[SMTChecker] Fix tuple name for arrays
2020-08-10 15:31:01 +02:00
Leonardo Alt
ec31d971e6 [SMTChecker] Fix tuple name for arrays 2020-08-07 12:28:10 +02:00
chriseth
241a564fca
Merge pull request #9517 from ethereum/documentMappings
Document encoding of mappings in library calls.
2020-08-06 16:43:17 +02:00
Daniel Kirchner
9ca48987dd
Merge pull request #9520 from ethereum/interpreterLiteral
Fix literal arguments in interpreter.
2020-08-06 16:11:31 +02:00
chriseth
ab4aad6dc9
Merge pull request #9588 from ethereum/docs-fix-broken-highlighting-in-some-blocks
[docs] Fix solidity code blocks using incorrect highlighter name
2020-08-06 15:42:18 +02:00
chriseth
ac1e1e9b41
Merge pull request #9584 from ethereum/oldCodegenOnlyWhenRequested
Don't run old codegen, when not needed, in CompilerStack, StandardCompiler and tests.
2020-08-06 15:40:25 +02:00
Daniel Kirchner
143b37af56 Only conditionally run old code generation in CompilerStack, StandardCompiler and semantic tests. 2020-08-06 15:05:17 +02:00
Kamil Śliwak
89c99800d0 docs: Fix solidity code blocks by using the capitalized name
- This only works with `Solidity`, not with `solidity`.
2020-08-06 14:45:58 +02:00
chriseth
0226d104b7 Fix literal arguments in interpreter. 2020-08-06 14:16:59 +02:00
chriseth
3a409c39e4
Merge pull request #9518 from ethereum/smt_fix_bmc_function_inlining
[SMTChecker] Fix ICE in BMC function inlining
2020-08-06 00:50:04 +02:00
chriseth
ebd512cef6
Merge pull request #9576 from ethereum/test-cleanup
Rename libsolidity/SolidityScanner to liblangutil/Scanner in tests
2020-08-06 00:49:33 +02:00
chriseth
488fd5a27a
Merge pull request #9575 from ethereum/yul-optim-check
Parse optimiser output in yulOptimiserTests
2020-08-06 00:40:45 +02:00
Alex Beregszaszi
d98eab24c5
Merge pull request #9502 from ethereum/yul-object-syntax-tests
Add syntax tests for Yul objects
2020-08-05 22:19:36 +01:00
Alex Beregszaszi
2e8616e2e4 Run prequisite steps for VarNameCleaner in tests 2020-08-05 22:12:51 +01:00