solidity/test/libyul
Rodrigo Q. Saramago ef6ff2f055
Adds support for the EVM version "Paris".
Deprecates `block.difficulty` and disallow `difficulty()` in inline assembly for EVM versions >= paris.
The change is due to the renaming introduced by EIP-4399 (see: https://eips.ethereum.org/EIPS/eip-4399).
Introduces `block.prevrandao` in Solidity and `prevrandao()` in inline assembly for EVM versions >= paris.

Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
Co-authored-by: Daniel <daniel@ekpyron.org>
Co-authored-by: matheusaaguiar <95899911+matheusaaguiar@users.noreply.github.com>
Co-authored-by: Nikola Matić <nikola.matic@ethereum.org>
2023-01-23 18:50:36 +00:00
..
controlFlowSideEffects Tests. 2021-11-04 16:38:07 +01:00
evmCodeTransform Use side-effects of user defined functions in evm code transform. 2022-11-14 21:26:36 +01:00
ewasmTranslationTests Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
functionSideEffects Add function side effects test. 2021-04-26 19:56:44 +02:00
objectCompiler Update tests. 2021-11-03 12:39:55 +01:00
yulControlFlowGraph Use side-effects of user defined functions in evm code transform. 2022-11-14 21:26:36 +01:00
yulInterpreterTests Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
yulOptimizerTests Re-use knowledge about keccak calls. 2022-12-07 14:16:13 +01:00
yulStackLayout Use side-effects of user defined functions in evm code transform. 2022-11-14 21:26:36 +01:00
yulSyntaxTests Changed error message for for Unicode character in non-unicode string literal 2022-06-15 16:12:24 +05:30
Common.cpp Add experimental EOF options for CLI and Standard JSON. 2022-11-23 19:53:44 +01:00
Common.h Remove CharStream from SourceLocation. 2021-07-14 15:12:07 +02:00
CompilabilityChecker.cpp Update test expectations. 2021-04-06 13:41:26 +02:00
ControlFlowGraphTest.cpp Add new info severity 2021-09-13 22:48:22 +02:00
ControlFlowGraphTest.h Control flow graph for Yul. 2021-07-15 15:24:12 +02:00
ControlFlowSideEffectsTest.cpp Control flow side effects on non-disambiguated source. 2021-11-04 16:32:11 +01:00
ControlFlowSideEffectsTest.h Control flow side-effects for user-defined functions. 2021-10-14 17:46:07 +02:00
EVMCodeTransformTest.cpp Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
EVMCodeTransformTest.h Extract StackReuseCodegen tests. 2021-03-09 15:47:24 +01:00
EwasmTranslationTest.cpp Add experimental EOF options for CLI and Standard JSON. 2022-11-23 19:53:44 +01:00
EwasmTranslationTest.h Renamed AssemblyStack to YulStack 2022-04-08 20:28:55 +02:00
FunctionSideEffects.cpp Use "for objects" dialect for function side effects test. 2021-04-22 14:37:51 +02:00
FunctionSideEffects.h Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30
Inliner.cpp Remove unused includes and sort existing includes in a few places 2021-10-11 20:34:48 +02:00
KnowledgeBaseTest.cpp Refactor data flow analyzer state access. 2022-03-14 19:32:33 +01:00
Metrics.cpp Adjust cost of literal zero. 2021-04-22 11:42:42 +02:00
ObjectCompilerTest.cpp Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
ObjectCompilerTest.h Remove CharStream from SourceLocation. 2021-07-14 15:12:07 +02:00
ObjectParser.cpp Add experimental EOF options for CLI and Standard JSON. 2022-11-23 19:53:44 +01:00
Parser.cpp Add std:: qualifier to move() calls 2022-08-30 11:12:15 +02:00
StackLayoutGeneratorTest.cpp Add new info severity 2021-09-13 22:48:22 +02:00
StackLayoutGeneratorTest.h Stack layout generator for new code generation. 2021-09-02 17:47:19 +02:00
StackShufflingTest.cpp Improved stack shuffling in corner cases. 2022-01-21 15:41:30 +01:00
SyntaxTest.cpp Cleaning up helpers around errors 2022-09-19 10:51:14 +05:30
SyntaxTest.h Add SPDX license identifier if not present already in source file 2020-07-17 20:24:12 +05:30
YulInterpreterTest.cpp Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
YulInterpreterTest.h yulRun: Fix unexpected return value for call* instructions and add tests 2022-09-14 11:40:08 +02:00
YulOptimizerTest.cpp Add new info severity 2021-09-13 22:48:22 +02:00
YulOptimizerTest.h Remove CharStream from SourceLocation. 2021-07-14 15:12:07 +02:00
YulOptimizerTestCommon.cpp Make hardcoded parts of the optimizer sequence configurable 2022-09-12 10:57:36 +02:00
YulOptimizerTestCommon.h Enable fine grained yul optimizer fuzzing 2021-01-19 18:22:59 +01:00