Commit Graph

15937 Commits

Author SHA1 Message Date
chriseth
8b3da371ed
Merge pull request #8194 from ethereum/json-ast-extract-fix
Remove binary mode from JSON AST extraction script
2020-01-28 18:08:32 +01:00
chriseth
35820398c2
Merge pull request #8179 from pinkiebell/codegen
libsolidity/codegen: Use calldatacopy to cheaply zero memory..
2020-01-28 18:07:30 +01:00
Mathias Baumann
b8e2baf5f4 Use yul::AstWalker to resolve assembly symbols 2020-01-28 17:57:48 +01:00
chriseth
e1139ce490
Merge pull request #8175 from ethereum/fix-7896
yul proto fuzzer: Make function call generation optional
2020-01-28 17:56:55 +01:00
Mathias Baumann
2f1f8e25c1 TestFramework: Remove headers from Options.h 2020-01-28 17:29:22 +01:00
chriseth
336f560155
Merge pull request #8206 from ethereum/docs-conf-copyright
Fixes copyright in readthedocs config
2020-01-28 16:44:33 +01:00
Erik Kundt
a2f28f0a9d Fixes copyright in readthedocs config. 2020-01-28 16:38:20 +01:00
Erik K
2d3bd91dbb
Merge pull request #8203 from ethereum/extract-tests
Extract some semantic tests
2020-01-28 16:16:37 +01:00
Erik Kundt
4a87f6e403 Removes the binary option from JSON AST extraction script. 2020-01-28 16:11:10 +01:00
chriseth
f0afb0aeff Remove stack height checks. 2020-01-28 15:26:17 +01:00
rodiazet
f1004e712c [WASM] Add div, sdiv, mod, smod, exp, lt, sar, addmod, mulmod, signextend 2020-01-28 13:32:43 +01:00
Mathias Baumann
1027f6f78f Extract some semantic tests 2020-01-28 11:59:44 +01:00
chriseth
0dd398e2ac
Merge pull request #8201 from ethereum/release
Merge release back into develop.
2020-01-27 19:20:41 +01:00
chriseth
8809d4bb0c
Merge pull request #8199 from ethereum/version063prepare
Set version to 0.6.3.
2020-01-27 19:20:04 +01:00
chriseth
c8994d9ee2 Set version to 0.6.3. 2020-01-27 18:57:33 +01:00
chriseth
3ce1a957c4
Merge pull request #8196 from ethereum/fix-appveyor
Attempt to fix appveyor
2020-01-27 18:56:45 +01:00
Mathias Baumann
7eb5fd1ca9 Appveyor: Prevent git from warning on std out 2020-01-27 18:28:23 +01:00
chriseth
bacdbe5787
Merge pull request #8193 from ethereum/develop
Merge develop into release for 0.6.2.
2020-01-27 14:43:22 +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
Bhargava Shastry
8cbe1d4b1d yul proto fuzzer: Make function call generation optional 2020-01-24 12:31:43 +05:30
Bhargava Shastry
a335fed189 yul proto fuzzer: Add EVM version field 2020-01-24 12:31:20 +05:30
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
pinkiebell
bb6fb675e0 libsolidity/codegen: Use calldatacopy to cheaply zero memory instead of
codecopy.

Motiviation:
  Zero'ing memory is commonplace in contracts, but with the upcoming
  Layer-2 EVM translation layers and other on-chain verification
  mechanisms, using `codecopy` becomes a `costly` operation in those
  sandboxes. Using `calldatacopy` achieves the same thing, gas costs
  are also the same as codecopy, and is significantly cheaper in the `sandbox` situation.
2020-01-22 17:56:56 +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