Commit Graph

15616 Commits

Author SHA1 Message Date
Mathias Baumann
1027f6f78f Extract some semantic tests 2020-01-28 11:59:44 +01:00
chriseth
cebca57ac2
Merge pull request #8192 from ethereum/polishChangelog
Polish changelog for 0.6.2.
2020-01-27 10:29:31 +01:00
chriseth
99202e85ce Polish changelog for 0.6.2. 2020-01-27 09:41:15 +01:00
Rafael Lorandi
6f0506637e Fix Gentoo overlay link text 2020-01-27 09:32:55 +01:00
chriseth
a651eb149b
Merge pull request #8189 from ethereum/makeYulExampleCompilable
Make yul example compilable.
2020-01-27 09:30:36 +01:00
chriseth
1bdb409b3a
Merge pull request #8181 from ethereum/variablePartRefactor
[YulIR] Change expression parts to use strings instead of numbers.
2020-01-27 09:24:16 +01:00
chriseth
6ded158739 Change expression parts to use strings instead of numbers. 2020-01-27 08:55:11 +01:00
chriseth
bc77132161 Make yul example compilable. 2020-01-24 01:11:12 +01:00
chriseth
45caaf5ad8
Merge pull request #8177 from ethereum/new2-2136
Implement `new` with CREATE2 and function call options
2020-01-23 23:19:39 +01:00
chriseth
790c6d2cae Tests for salted create. 2020-01-23 21:20:01 +01:00
chriseth
2fa586beac Test that uses function call options on overloaded function. 2020-01-23 21:20:01 +01:00
chriseth
981ed5f773 Documentation for function call options. 2020-01-23 21:20:01 +01:00
Erik Kundt
893fb4d05b Implements AST JSON import for function call options. 2020-01-23 21:20:01 +01:00
chriseth
8e7aef63f0 Changelog entry. 2020-01-23 21:20:01 +01:00
Mathias Baumann
a3f23d3158 Implement new with CREATE2 and function call options. 2020-01-23 21:20:01 +01:00
chriseth
679f729f2f Implement create2 for evmhost. 2020-01-23 21:20:01 +01:00
chriseth
0e3a2fec66
Merge pull request #8187 from ethereum/fixWindowsExtractTests
Fix extract tests on windows.
2020-01-23 17:40:11 +01:00
chriseth
8f36dd1571 Fix extract tests on windows. 2020-01-23 16:36:46 +01:00
chriseth
3add37a2c9
Merge pull request #8184 from ethereum/scannerLookahead
Increase scanner lookahead to two.
2020-01-23 15:00:06 +01:00
Mathias Baumann
dd035f8f48 Increase scanner lookahead to two. 2020-01-23 13:25:03 +01:00
chriseth
641bb815e8
Merge pull request #8091 from random-internet-cat/interface-inheritance
Interface inheritance
2020-01-22 20:10:06 +01:00
Jason Cobb
86145adac8
Update documentation for interface inheritance 2020-01-22 09:40:40 -05:00
Jason Cobb
f492a0a3ef
Update changelog for interface inheritance 2020-01-22 09:40:40 -05:00
Jason Cobb
595f569e97
Update tests for interface inheritance 2020-01-22 09:40:40 -05:00
Jason Cobb
573a054d5d
Prohibit interfaces inheriting from non-interfaces 2020-01-22 09:40:40 -05:00
Jason Cobb
1cc8ce1656
Don't prohibit interface inheritance 2020-01-22 09:40:40 -05:00
chriseth
29d7c7d065
Merge pull request #8174 from vbaranov/develop
Fix the latest byte of metadata hash encoding in the docs
2020-01-20 18:05:32 +01:00
chriseth
5ccfaf8c10
Merge pull request #8169 from imapp-pl/fix-str-bytes-mismatch-in-prepare-report-py
Fix str/bytes mismatch crashing prepare_report.py when running storebytecode.sh
2020-01-20 17:36:24 +01:00
cameel
d48883ca17 Fix crashes in prepare_report.py caused by using str where bytes is expected and vice-versa
1) `Popen.communicate()` expects `bytes` (a raw, binary string) if `stdout`/`stderr` are open in binary mode but is given output from `json.loads()` which is str (an abstract unicode string). Encoding the `str` object into `bytes` using UTF-8 encoding fixes that.
2) `REPORT_FILE` gets opened in binary mode which means that functions like `write()` expect `bytes`. We're giving them `str` which results in an error. Changed mode to text solves the problem.
2020-01-20 17:33:44 +01:00
Victor Baranov
e7c109898e Fix the latest byte of metadata hash encoding in the docs 2020-01-20 17:13:40 +03:00
chriseth
1b19524036
Merge pull request #8150 from ethereum/isoltest-alignment-output
[isoltest] Proper output of alignment in obtained test results
2020-01-20 12:38:12 +01:00
chriseth
18bf3688be
Merge pull request #8172 from ethereum/fix-7803
yul proto fuzzer: Do not generate infinite for loops and limit number of for loops
2020-01-20 12:32:04 +01:00
Bhargava Shastry
9befb4bdf0 yul proto fuzzer: Do not generate infinite for loops and limit total
number of for loops per test program to two
2020-01-20 16:27:01 +05:30
chriseth
470c19eb8c
Merge pull request #8165 from imapp-pl/yulopti-missing-step
yulopti: Add missing ConditionalUnsimplifier step
2020-01-20 11:45:29 +01:00
Alex Beregszaszi
92908f5260
Merge pull request #8158 from ethereum/fixedhash-ffs
Use multiprecision::msb() in GasMeter and remove FixedHash dependency
2020-01-17 14:05:05 +00:00
Alex Beregszaszi
004f01a388 Add test case for gas metering of exp(n, 0) 2020-01-17 14:24:55 +01:00
Alex Beregszaszi
00f3c42d17 Use multiprecision::msb() in GasMeter and remove FixedHash dependency 2020-01-17 14:24:55 +01:00
cameel
bf5e62931d fixup! [yulopti] Fix typo: (f)flatten -> (f)latten 2020-01-17 12:38:45 +01:00
cameel
49ca1f8534 [yulopti] Add missing ConditionalUnsimplifier to the list of available optimizations 2020-01-17 08:01:39 +01:00
cameel
4262eebdc4 [yulopti] Fix typo: (f)flatten -> (f)latten 2020-01-17 08:01:31 +01:00
chriseth
3a17ca6331
Merge pull request #8163 from ethereum/removeLabel
Remove Scope::Label.
2020-01-16 19:35:18 +01:00
chriseth
43ad5ed1d2
Merge pull request #8137 from ethereum/declarationsByContractName
Clean up visibility via contract name and unimplemented base functions.
2020-01-16 19:33:48 +01:00
chriseth
81569f7208 Remove Scope::Label. 2020-01-16 19:13:25 +01:00
Daniel Kirchner
ee5ff4df4e Clean up visibility via contract name and fix ICE on calling unimplemented base function. 2020-01-16 19:13:04 +01:00
chriseth
0f2ec771b9
Merge pull request #8124 from ethereum/combineYulDocs
Combine Yul documentation sections.
2020-01-16 19:08:18 +01:00
chriseth
53106011eb
Merge pull request #8159 from ethereum/fixedhash-cleanup
Remove some rarely used features of FixedHash
2020-01-16 19:01:20 +01:00
chriseth
1d6b42eaa4 Combine Yul documentation sections. 2020-01-16 18:57:04 +01:00
Alex Beregszaszi
b3d2413a1f Remove unused features of FixedHash 2020-01-16 17:18:03 +00:00
Alex Beregszaszi
4d8758fcc3 Remove operator~ from FixedHash 2020-01-16 17:18:03 +00:00
Alex Beregszaszi
3c88d295b3 Remove FixedHash(unsigned) constructor 2020-01-16 16:18:08 +00:00