Commit Graph

18109 Commits

Author SHA1 Message Date
Leonardo Alt
b9b9c229b4 New tests 2020-10-13 17:49:04 +01:00
Leonardo Alt
47b268d509 Update tests 2020-10-13 17:49:04 +01:00
Leonardo Alt
aec456021d Add tx constraints to CHC 2020-10-13 17:49:04 +01:00
Leonardo Alt
a2cdde1191 Add tx data to symbolic state 2020-10-13 17:49:04 +01:00
chriseth
44dc668777
Merge pull request #10022 from ethereum/fixIsoltestFormatting
Fix error message formatting in isoltest.
2020-10-13 17:51:24 +02:00
chriseth
fed6ea0125 Fix error message formatting in isoltest. 2020-10-13 17:20:19 +02:00
Leonardo
8fd6de9403
Merge pull request #10014 from ethereum/smt_fix_predicagte
[SMTChecker] Fix implicit constructor summary predicate
2020-10-13 14:55:52 +01:00
chriseth
9eed68f776
Merge pull request #10016 from ethereum/stackToMemoryMoverRefactor
Refactor stack to memory mover in preparation of moving function arguments.
2020-10-13 15:43:50 +02:00
chriseth
f4525631d7
Merge pull request #9990 from ethereum/issue-4751
Print warning for unnamed return parameters and no return statement
2020-10-13 15:35:05 +02:00
Mathias Baumann
32b4f18023 Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
Daniel Kirchner
61a03036fe Refactor stack to memory mover in preparation of moving function arguments. 2020-10-13 12:20:04 +02:00
Leonardo Alt
1e568d7dc6 [SMTChecker] Fix implicit constructor summary predicate 2020-10-13 09:38:58 +01:00
chriseth
abfa136afb
Merge pull request #10012 from ethereum/extractSelectorFunction
Extract function to compute function selector from signature.
2020-10-12 20:32:05 +02:00
chriseth
4b342a7cad
Merge pull request #9816 from ethereum/exp-base-literals
[Sol->Yul] Optimization for exponentiation when the base is a literal
2020-10-12 19:34:38 +02:00
Harikrishnan Mulackal
dbd5326d0c Commandline test for exp with literal base 2020-10-12 18:54:58 +02:00
Harikrishnan Mulackal
418aa01c5b Optimization for exponentiation when the base is a literal 2020-10-12 18:54:58 +02:00
chriseth
466b05398f
Merge pull request #10008 from ethereum/irBreakingChangesDocs
[Sol->Yul] Adding documentation section about breaking changes when using ir
2020-10-12 18:19:10 +02:00
chriseth
cb0d1134b7 Extract function to compute function selector from signature. 2020-10-12 17:57:34 +02:00
Đorđe Mijović
52f9db141b
Merge pull request #9977 from ethereum/smtArrayLiterals
[SMTChecker] Supporting inline arrays.
2020-10-12 17:43:31 +02:00
Djordje Mijovic
e23d8f5593 [SMTChecker] Supporting inline arrays. 2020-10-12 16:59:14 +02:00
Djordje Mijovic
1c142c500a [Sol->Yul] Adding documentation section about breaking changes when using ir
Co-authored-by: chriseth <chris@ethereum.org>
2020-10-12 15:46:38 +02:00
chriseth
bc97c3e1ce
Merge pull request #10004 from ethereum/fix-type-check-against-inheriting-functions-with-abiencoderv2-return-parameters
Add missing ABI compatibility check for return parameters in inherited functions
2020-10-12 15:40:43 +02:00
chriseth
939d1d3293
Merge pull request #10009 from ethereum/enable-4-passing-function-call-inheritance-semantic-tests-via-yul
Enable the four semantic tests from `functionCall.inheritance` that now pass via Yul
2020-10-12 15:21:16 +02:00
Kamil Śliwak
e1cc888369 Fix checkBaseABICompatibility() to make it actually check return parameters and not just ordinary parameters twice 2020-10-12 15:14:56 +02:00
Kamil Śliwak
9dc7f5de4a Enable 4 semantic tests from functionCall.inheritance that now work via Yul
- Looks like something overlooked in one of the recently merged PRs.
2020-10-12 15:10:16 +02:00
chriseth
3724b98578
Merge pull request #9971 from ethereum/fix-modifiers-using-exprimental-features-from-calling-module
Checking experimental pragmas in the right source unit when compiling modifiers and inherited functions
2020-10-12 14:44:21 +02:00
Kamil Śliwak
3128e82a9a Look for experimental pragmas in the module containing the definition when generating code for modifiers and inherited functions 2020-10-12 14:29:53 +02:00
chriseth
e7603d7590
Merge pull request #10003 from ethereum/more-tests-and-docs-for-mixed-abi-encoder-use-checks
More tests and some minimal docs for mixed ABI encoder use
2020-10-12 14:22:44 +02:00
chriseth
bff812dbff
Merge pull request #10000 from ethereum/updateChecklist
Update release checklist.
2020-10-12 14:17:28 +02:00
chriseth
1a125cf755
Merge pull request #10006 from ethereum/bug-9229-fix
Fixes internal compiler error with an unused reference to module member.
2020-10-12 13:43:35 +02:00
chriseth
d1b06328a6
Merge pull request #8635 from ethereum/test-coverage-inheritance
Improving test coverage wrt. inheritance
2020-10-12 13:40:48 +02:00
Kamil Śliwak
692e4487ba Expand docs on mixed ABIEncoderV2 and V1 use 2020-10-12 13:27:03 +02:00
Kamil Śliwak
94a49fcc4a Additional tests for ABIEncoderV1 calls using ABIEncoderV2 types 2020-10-12 13:26:01 +02:00
Leonardo
e5fe524786
Merge pull request #9845 from ethereum/smt_state
[SMTChecker] Add `this` and blockchain state to CHC
2020-10-12 13:02:54 +02:00
Christian Parpart
8ac0bee361 Adds some more tests and groups all function call inheritance related together into single sub-directory. 2020-10-12 12:29:55 +02:00
Leonardo Alt
3d2e6252f0 Add/update tests 2020-10-12 11:11:52 +01:00
Leonardo Alt
18cf01c187 Add this and state to CHC 2020-10-12 11:11:52 +01:00
Leonardo Alt
a86f656704 Refactor state as tuple 2020-10-12 11:11:52 +01:00
Christian Parpart
712d0805eb Fixes internal compiler error with an unused reference to module member. 2020-10-12 11:56:01 +02:00
chriseth
9251f57e12 Update release checklist. 2020-10-12 11:28:57 +02:00
Harikrishnan Mulackal
b0acf5dc86
Merge pull request #10005 from ethereum/bugs-fix-tabs
Docs: convert tabs to spaces
2020-10-12 10:03:13 +02:00
Harikrishnan Mulackal
8f2cd82fd9
Merge pull request #9968 from ethereum/docs_fixes
[Docs] Updates Index/Home Page of Sol Docs / Adds "Getting Started"
2020-10-12 08:54:31 +02:00
hrkrshnn
30652394e5 Docs: convert tabs to spaces 2020-10-12 08:01:20 +02:00
Kamil Śliwak
d9215cf956
Merge pull request #9999 from ethereum/enableTest
Enable test that started working for yul.
2020-10-09 19:44:15 +02:00
chriseth
3739b03af6
Merge pull request #9877 from a3d4/fix-homonymous-declarations-warnings
Fix shadowing/same-name warnings for later declarations
2020-10-08 22:27:15 +02:00
a3d4
90c8c32d86 If a declaration shadows several others, group them together 2020-10-08 21:01:25 +02:00
chriseth
aa7aa21913 Enable test. 2020-10-08 21:00:50 +02:00
chriseth
49c2e84181
Merge pull request #9998 from ethereum/noshiftneg
Remove traces of errors due to shifts by negative amounts.
2020-10-08 20:59:04 +02:00
chriseth
ca86eacfb2 Remove traces of errors due to shifts by negative amounts. 2020-10-08 20:24:53 +02:00
a3d4
f29ebc0847 Fix shadowing/same-name warnings for later declarations 2020-10-08 20:22:04 +02:00