Commit Graph

22323 Commits

Author SHA1 Message Date
chriseth
755e043a6d Use error message for unary operators. 2022-04-04 16:53:36 +05:30
Leo
5f4c91cc6d
Merge pull request #12702 from ethereum/ninja-build-fix
cmake/EthCompilerSettings.cmake: generator expression fix for ninja.
2022-04-04 13:11:28 +02:00
wechman
1e7688e8a1 Tests for the equivalence of one and two-stage compilation via IR supports multi-file contracts 2022-04-04 11:09:43 +02:00
Leo
37a4e9e3db
Merge pull request #12868 from ethereum/ext-tests-workaround-for-ethers-5.6.2-breaking-revert-string-testing
Workarounds for ext test breakage (ethers.js downgrade, disabled polygon test in zeppelin, switch to compiler-only in elementfi)
2022-04-04 11:05:15 +02:00
Kamil Śliwak
73443c0ada elementfi: Switch all presets to compile-only 2022-04-01 23:06:21 +02:00
Kamil Śliwak
5ef0048d85 zeppelin: Disable the newly added Polygon-Child test, failing via IR due to Hardhat heuristics 2022-04-01 23:06:21 +02:00
Kamil Śliwak
b445e7e74c Revert "perpetual-pools: Use Hardhat 2.8.4 to work around @openzeppelin/hardhat-upgrades's problem with parallel compilation on Hardhat 2.9.0"
This reverts commit 30008465bf.
2022-03-28 19:51:46 +02:00
Kamil Śliwak
34c06c27a5 Downgrade ethers.js to 5.6.1 in ens, gnosis, euler, perpetual-pools and uniswap external tests 2022-03-28 17:56:30 +02:00
chriseth
c4909e99c1
Merge pull request #12750 from nishant-sachdeva/abi_encodecall_should_properly_convert_function_type_to_externally_called_function
typeCheckAbiEncodeCallFunction should type check the arguments on functionPointerType->asExternallyCallableFunction instead of the plain function type
2022-03-24 15:16:55 +01:00
nishant-sachdeva
4c6066bfad typeCheckAbiEncodeCallFunction should type check the arguments on functionPointerType->asExternallyCallableFunction instead of teh plain function type 2022-03-24 18:53:46 +05:30
chriseth
b08190c284
Merge pull request #12799 from ethereum/asm-json-export
libevmasm: refactor asm-json export & add support for source list.
2022-03-24 12:13:21 +01:00
chriseth
d39de36051
Merge pull request #12842 from aathan/patch-4
Update mapping-types.rst
2022-03-24 12:12:05 +01:00
aathan
54fa215885
Update mapping-types.rst
typo
2022-03-23 17:15:17 -07:00
Alexander Arlt
1a0988e503 libevmasm: refactor asm-json export & add support for source list. 2022-03-23 15:58:07 -05:00
chriseth
b35cda5998
Merge pull request #12838 from aathan/patch-1
Update value-types.rst
2022-03-23 18:45:05 +01:00
Mathias L. Baumann
6c06d27f00
Merge pull request #12839 from ethereum/lsp-test-fail-fast
lsp.py: Adds --fail-fast (-f) to terminate early on first failure.
2022-03-23 18:24:07 +01:00
Christian Parpart
13a4c79a9b lsp.py: Adds --fail-fast (-f) to terminate early on first failure. 2022-03-23 17:34:04 +01:00
aathan
07c9384b44
Update value-types.rst 2022-03-22 23:06:23 -07:00
Christian Parpart
43f29c00da
Merge pull request #12724 from ethereum/lsp-tests
Implement & use markers in existing test framework
2022-03-21 13:54:33 +01:00
Marenz
0bf674b442 LSP test: Minor refactoring and better exception reporting 2022-03-21 13:23:02 +01:00
chriseth
430ecb6e16
Merge pull request #12795 from ethereum/morePopRemovalInPeepholeOptimizer
More pop removal in peephole optimizer.
2022-03-17 12:22:48 +01:00
chriseth
cd19023bfb
Merge pull request #12810 from hroussille/create2-documentation-error
Fixed ambiguity in the create2 address computation doc
2022-03-17 11:46:50 +01:00
Hector Roussille
040c444a2a Fixed ambiguity in the create2 address computation doc
specify that arguments are encoded using abi.encode in the example code
2022-03-16 19:56:11 +01:00
chriseth
10b581b8e8
Merge pull request #12808 from ethereum/simplifyRematCandidates
Simplify rematerialization candidates.
2022-03-16 17:42:38 +01:00
chriseth
a054285f31 Simplify rematerialization candidates. 2022-03-16 16:43:21 +01:00
chriseth
af86a80536
Merge pull request #12796 from ethereum/refactorStackCompressor
Refactor stack compressor
2022-03-16 16:36:41 +01:00
Daniel Kirchner
4b9c01752d Test updates. 2022-03-16 15:34:38 +01:00
Daniel Kirchner
54ab09fee8 Additional peephole optimizer rules for removing side-effect free instructions before simple terminations. 2022-03-16 15:34:37 +01:00
chriseth
936b07a979
Merge pull request #12805 from ethereum/setversionto0814
Set version to 0.8.14.
2022-03-16 15:29:20 +01:00
chriseth
e786bf9b5a Set version to 0.8.14. 2022-03-16 14:38:15 +01:00
chriseth
abaa5c0eb3
Merge pull request #12801 from ethereum/cse-optimization
CSE optimization
2022-03-16 13:54:28 +01:00
wechman
8b0845fe97 CommonSubexpressionEliminator performance optimization 2022-03-16 12:57:38 +01:00
chriseth
281b68b83a
Merge pull request #12803 from ethereum/documentsatetvarinitcahnge
Move state variable initialization to top.
2022-03-16 12:43:43 +01:00
chriseth
1be21e2670 Move state variable initialization to top. 2022-03-16 12:23:23 +01:00
chriseth
6eece8114a
Merge pull request #12800 from ethereum/setreleasefor0813
Set release date.
2022-03-16 11:12:57 +01:00
chriseth
acd488532d Set release date. 2022-03-16 10:28:40 +01:00
chriseth
75abe92eb2 Refactor stack compressor. 2022-03-15 21:28:47 +01:00
chriseth
724af73fb8
Merge pull request #12759 from ethereum/evmCodeTransformAvoidPops
Avoid unnecessary pops in evm code transform.
2022-03-15 19:14:46 +01:00
Daniel Kirchner
5cd98006d4 Fill in junk in stack layouts on terminating control flow paths. 2022-03-15 18:36:55 +01:00
Daniel Kirchner
b6cd3e154c Test case for current behaviour. 2022-03-15 18:36:30 +01:00
chriseth
5afa2adec2
Merge pull request #12775 from ethereum/refactorDataFlowAnalyzer
Refactor data flow analyzer state access.
2022-03-15 15:52:40 +01:00
chriseth
d946b6b3a0
Merge pull request #12793 from ethereum/hasDefaultHelper
Add helper to see if a switch has a default case.
2022-03-15 15:20:53 +01:00
chriseth
28593839d9 Add helper to see if a switch has a default case. 2022-03-15 14:29:54 +01:00
chriseth
2858f705c1
Merge pull request #12791 from ethereum/usingForDocAtFileLevel
[DOC] Using for at file level.
2022-03-15 12:36:39 +01:00
chriseth
0bc29f2cb5 Using for at file level. 2022-03-15 12:07:28 +01:00
chriseth
c6ac1625bd
Merge pull request #12773 from ethereum/encodeCallBug
Fix encodeCall bug.
2022-03-15 10:52:13 +01:00
Daniel Kirchner
8cb01a9953 Fix and updated test. 2022-03-15 10:23:09 +01:00
Daniel Kirchner
db27051024 Test for old behaviour. 2022-03-15 10:23:09 +01:00
Daniel Kirchner
353759c1d4
Merge pull request #12680 from devtooligan/fix/underscore-prefix
fix: corrects _ prefixes
2022-03-14 22:58:42 +01:00
chriseth
afdf22f5c7 Create a state struct. 2022-03-14 19:32:33 +01:00