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
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