Commit Graph
100 Commits
Author SHA1 Message Date
chriseth 2a62814686 Merge pull request #10758 from ethereum/defaultBuildType
Set default build type, if none was specified.
2021-01-14 11:36:33 +01:00
chriseth 170cd5d2ae Merge pull request #10760 from ethereum/asmConstantsFileLevel
Fix accessing constants at file level from inline assembly.
2021-01-14 11:33:47 +01:00
chriseth 8905af28c3 Merge pull request #10759 from ethereum/nestedBytesArraySol2Yul
[Sol->Yul] Fixing nested bytes array push.
2021-01-14 11:33:06 +01:00
chriseth 45be47fc6b Merge pull request #10756 from ethereum/fixModifierLookup
Fix modifier lookup
2021-01-14 11:28:26 +01:00
chriseth c8a351d34f Merge pull request #10467 from ethereum/dataFlowAnalyzerOptimization
Various optimizations for the DataFlowAnalyzer.
2021-01-14 11:21:22 +01:00
chriseth eb88ba05c7 Merge pull request #10751 from ethereum/emscriptenDockerUpdate
Update emscripten docker image to be based on emscripten 2.0.12 and boost 1.75.0.
2021-01-14 11:19:52 +01:00
chriseth 8ad9290086 Fix modifier lookup. 2021-01-14 11:01:14 +01:00
chriseth 30305ebbd9 Fix accessing constants at file level from inline assembly. 2021-01-14 10:51:47 +01:00
chriseth afbf68f79c Merge pull request #10753 from ethereum/ir-negate
Fix YulUtilFunctions::negateNumberWrappingFunction
2021-01-14 10:48:15 +01:00
chriseth 6eea2f5c08 Merge pull request #9959 from a3d4/fix-ice-struct-with-mapping-assignment
Fix ICE caused by const structs with mappings
2021-01-13 15:19:02 +01:00
chriseth e9dcd4f813 Merge pull request #10739 from ethereum/mapFetchValue
Add fetchValue utility for maps.
2021-01-12 20:33:40 +01:00
chriseth d97b9ba865 Merge pull request #10686 from ethereum/libraryCallGuard
Library call guard.
2021-01-12 16:52:24 +01:00
chriseth 99add1e4e5 Merge pull request #10710 from ethereum/implicit-conversion-bug
Disallow certain implicit conversions between integer types.
2021-01-12 15:42:12 +01:00
chriseth 7b00f8302f Merge pull request #10709 from ethereum/clarifyArrayLiterals
Clarify array literal documentation.
2021-01-12 14:28:48 +01:00
chriseth 24aded266e Dereference. 2021-01-12 14:28:27 +01:00
chriseth 7487a7d927 Use drop_exactly. 2021-01-12 14:01:10 +01:00
chriseth 9ddb8a6ecf Clarify array literal documentation. 2021-01-12 11:55:17 +01:00
chriseth a29493120e Merge pull request #10740 from ethereum/useZip
Use zip.
2021-01-12 09:40:37 +01:00
chriseth b9de0c6155 Use zip. 2021-01-11 20:54:28 +01:00
chriseth 5c453acbe8 Fix encoding of library return values. 2021-01-11 20:37:45 +01:00
chriseth 8058cad772 Enable some tests. 2021-01-11 20:37:45 +01:00
chriseth e807c9bb63 Library call guard. 2021-01-11 20:37:44 +01:00
chriseth 67d21a87c5 Merge pull request #10737 from ethereum/range-v3
Add range-v3.
2021-01-11 19:24:13 +01:00
chriseth d43693ecca Merge pull request #10675 from ethereum/refactor-bytecode-comparison-scripts
Refactor bytecode comparison scripts
2021-01-11 18:57:47 +01:00
chriseth fda3a31930 Merge pull request #10560 from ethereum/arrayPushStructSol2Yul
[Sol->Yul] Implementing missing array push
2021-01-11 18:51:30 +01:00
chriseth dfcba3bbd3 Merge pull request #10733 from ethereum/fixEncodingLibrary
Determine encoding type earlier.
2021-01-11 15:27:09 +01:00
chriseth e6d3fcbdc7 Merge pull request #10734 from ethereum/smt_fix_bfs_agaon
Fix BFS visit
2021-01-11 14:55:19 +01:00
chriseth 3804ad85f6 Enable tests. 2021-01-11 14:51:33 +01:00
chriseth 994fdb7517 Determine encoding type earlier. 2021-01-11 11:57:22 +01:00
chriseth f03245d473 Merge pull request #10724 from a3d4/fix-docu-typo-windows-build
Fix a tiny typo in building-on-windows documentation
2021-01-08 15:40:50 +01:00
chriseth 2ab83217e3 Use wrapping arithmetic for exp in unchecked blocks. 2020-12-22 16:49:55 +01:00
chriseth e299d8ba64 Merge pull request #10677 from ethereum/dirtyMemoryBytesSol2Yul
[Sol->Yul] Disable old codegen test viaYul and create new one that fits IR semantics
2020-12-22 16:22:38 +01:00
chriseth 04d83af1d2 Merge pull request #10492 from ethereum/arrayClearingDiffBaseSol2Yul
[Sol->Yul] Fixing array clearing when copying from storage to storage.
2020-12-22 15:15:03 +01:00
chriseth d46da8e53c Optimize iszero(sub(x, y)) to eq(x, y). 2020-12-22 15:11:48 +01:00
chriseth d987834e79 Merge pull request #10079 from ethereum/catchPanic
Catch panic.
2020-12-22 13:06:57 +01:00
chriseth 0437ee7ad9 Fix length check when decoding error data. 2020-12-22 11:08:44 +01:00
chriseth b965446182 Catch panic. 2020-12-22 11:08:44 +01:00
chriseth a9a62e86df Merge pull request #10669 from ethereum/testRecursionModifiers
Test for recursion with modifiers.
2020-12-21 12:06:26 +01:00
chriseth 43baceb1ed Test for recursion with modifiers. 2020-12-21 11:39:59 +01:00
chriseth 85ac8513e1 Merge pull request #10651 from ethereum/rename-asmscope
Rename AsmScope* to Scope*
2020-12-18 14:32:23 +01:00
chriseth c4ade1753e Merge pull request #10445 from ethereum/modifiers
[Sol->Yul] Implement function modifiers.
2020-12-18 14:29:00 +01:00
chriseth 8c455a1a99 Merge pull request #10650 from haltman-at/update-payable-docs
Mark msg.sender and tx.origin as nonpayable in docs
2020-12-18 11:21:06 +01:00
chriseth 242bf9b6dc Document modifier changes. 2020-12-17 17:00:51 +01:00
chriseth 1fa371d426 Tests 2020-12-17 17:00:51 +01:00
chriseth 35908c602b Modifiers for constructors. 2020-12-17 17:00:51 +01:00
chriseth ccaa81fbe7 Implement function modifiers. 2020-12-17 17:00:51 +01:00
chriseth 191070d322 Remove version pragmas using .99. 2020-12-16 19:39:02 +00:00
chriseth 21ed65d956 Set version to 0.8.1. 2020-12-16 20:08:13 +01:00
chriseth c7dfd78e57 Merge pull request #10636 from ethereum/smt_fix_constant
Fix constant evaluation build
2020-12-16 18:04:09 +01:00
chriseth b252ab08a9 Merge pull request #10632 from ethereum/sortChangelog
Sort changelog for 0.8.0
2020-12-16 17:02:03 +01:00
chriseth 9cfdba6e64 Update bug list. 2020-12-16 16:59:44 +01:00
chriseth e5a8a9e6ed Sort changelog and set release date. 2020-12-16 16:59:32 +01:00
chriseth 3a23df6717 Merge remote-tracking branch 'origin/develop' into breaking 2020-12-16 16:56:45 +01:00
chriseth 7338295fee Merge pull request #10623 from ethereum/smt_const_expr
[SMTChecker] Apply const eval to arithmetic binary expressions
2020-12-16 15:39:16 +01:00
chriseth 3d0e8aa69c Merge pull request #10630 from ethereum/setReleaseDate
Set release date for 0.7.6.
2020-12-16 15:25:20 +01:00
chriseth 33cc26f32e Merge pull request #10628 from ethereum/fix-line-endings-in-unicode-direction-override-test
Fix line endings in Unicode diretion override tests
2020-12-16 15:25:06 +01:00
chriseth 7f677025ec Set release date for 0.7.6. 2020-12-16 15:01:45 +01:00
chriseth eec1e2a66c Merge pull request #10626 from ethereum/howToUpdateYourCode
How to update your code.
2020-12-16 14:45:45 +01:00
chriseth f31cf6b9b5 How to update your code. 2020-12-16 13:48:16 +01:00
chriseth 8f833f4e8f Merge pull request #10618 from ethereum/develop
Merge develop into breaking.
2020-12-16 12:34:41 +01:00
chriseth e347545597 Merge pull request #10625 from ethereum/reportIllegalTokens
Report illegal tokens in the Yul parser.
2020-12-16 12:34:20 +01:00
chriseth cd7795f9e4 Merge pull request #10624 from ethereum/sortChangelog
Sort changelog.
2020-12-16 12:24:10 +01:00
chriseth 5c40fb060c Report illegal tokens in the Yul parser. 2020-12-16 12:20:07 +01:00
chriseth d8aff53771 Sort changelog. 2020-12-16 12:05:28 +01:00
chriseth 3881d223b0 Merge pull request #10617 from ethereum/codegen-fixed-assert
Unary minus is not implemented for fixed point type
2020-12-15 19:25:51 +01:00
chriseth 17293858c0 Merge pull request #10326 from ethereum/unicode-directional-marks
Scanner: Generate error on inbalanced RLO/LRO/PDF override markers.
2020-12-15 18:54:29 +01:00
chriseth 6c7e6a3c9f Merge pull request #10615 from ethereum/develop
Merge develop into breaking.
2020-12-15 18:34:01 +01:00
chriseth 53368eff9b Merge pull request #10604 from ethereum/strict-address-payable
[BREAKING] Strict address payable
2020-12-15 18:25:31 +01:00
chriseth 67b7267735 Merge pull request #10613 from ethereum/fix-10609
Asmanalysis: Add test case that demonstrates bug
2020-12-15 18:21:54 +01:00
chriseth 1521e9e4d5 Merge pull request #10611 from ethereum/fix-10609
AsmAnalysis: Fix out of bounds read due to incorrect bounds checking …
2020-12-15 16:42:27 +01:00
chriseth 43863bc982 Merge pull request #10610 from ethereum/recently080
Recently released 0.8.
2020-12-15 16:38:25 +01:00
chriseth 3c270ca7f7 Merge pull request #10608 from ethereum/develop
Merge develop into breaking.
2020-12-15 15:24:53 +01:00
chriseth 29f46f0b8a Recently released 0.8. 2020-12-15 15:24:01 +01:00
chriseth 4e86390e40 Merge pull request #10590 from ethereum/deposit-test
Include the eth2 deposit contract as an external test
2020-12-15 14:57:38 +01:00
chriseth ffaf40950a Merge pull request #10605 from ethereum/develop
Merge develop into breaking.
2020-12-15 14:01:01 +01:00
chriseth 5f59a949d7 Merge pull request #10598 from ethereum/disable-byte
[BREAKING] Disable the type `byte`
2020-12-15 14:00:17 +01:00
chriseth 2a54079d41 Merge pull request #10575 from ethereum/calldataArraySlices
Conversion of calldata array slices to memory
2020-12-15 12:21:33 +01:00
chriseth 271a17d908 Merge pull request #10496 from ethereum/address-payable
[BREAKING] tx.origin, msg.sender and address(literal) are non-payable addresses
2020-12-14 20:16:52 +01:00
chriseth 9c3690c246 Some more tests for overflow. 2020-12-14 19:12:48 +01:00
chriseth d257ab7141 Merge remote-tracking branch 'origin/develop' into breaking 2020-12-14 16:05:12 +01:00
chriseth e3b009d6a7 Merge pull request #10580 from ethereum/sized-types
Disallow leading zeroes in sized-types
2020-12-14 14:44:06 +01:00
chriseth 20ed816c1b Merge pull request #10589 from ethereum/fixBuildBreaking
Fix breaking.
2020-12-14 14:41:01 +01:00
chriseth 0dd2f1edbe Update counter-examples. 2020-12-14 14:21:35 +01:00
chriseth b03d110528 Ignore "no version found" check for pragmas containing "99". 2020-12-14 14:18:03 +01:00
chriseth 843e37b6e6 Do not warn about unreachable break. 2020-12-14 14:18:03 +01:00
chriseth e1e1337aca Move functions into anonymous namespace. 2020-12-14 14:18:03 +01:00
chriseth 6fff408d82 Fix lexer rules wrt leading zeros. 2020-12-14 14:17:16 +01:00
chriseth 28374447d2 Merge pull request #10582 from ethereum/addr-literal
Fix crash with oversized address literals
2020-12-14 12:14:28 +01:00
chriseth 561280a5cc Merge remote-tracking branch 'origin/develop' into breaking 2020-12-14 11:33:40 +01:00
chriseth e37e3099aa Merge pull request #10583 from ethereum/fix-doc-pragma-checks
Fix checks for code snippets embedded in docs
2020-12-14 11:30:12 +01:00
chriseth 12f31c49ee Merge pull request #10584 from ethereum/fix-minor-bugs-in-shell-scripts
Fix minor bugs in shell scripts
2020-12-14 10:01:48 +01:00
chriseth baaf7c0db8 Implement address(...).code in the IR 2020-12-11 03:00:30 +00:00
chriseth 7764ee8d86 Fix copying byte arrays from storage to storage. 2020-12-10 21:47:37 +01:00
chriseth ef3bcbda97 Merge pull request #9549 from ethereum/yul-reserved
[BREAKING] Disallow using reserved identifiers in Yul
2020-12-10 18:49:44 +01:00
chriseth eb7b191726 Merge pull request #10557 from ethereum/chainid
[BREAKING] Introduce block.chainid
2020-12-10 18:40:15 +01:00
chriseth f7a7e2928b New test. 2020-12-10 18:35:13 +01:00
chriseth d0551b67d7 Merge remote-tracking branch 'origin/develop' into breaking 2020-12-10 17:07:56 +01:00
chriseth d84415cb3b Merge pull request #10483 from ethereum/dlopenZ3
Experimental mechanism for loading Z3 dynamically at runtime.
2020-12-10 17:06:07 +01:00
chriseth db57842653 Merge pull request #10549 from ethereum/someDocs08
Some changes for the 0.8 list of changes.
2020-12-10 14:09:08 +01:00
chriseth e15136c210 Merge pull request #10558 from ethereum/magictype-tests
Adds more tests for state access (block/tx/msg)
2020-12-10 14:05:37 +01:00