solidity/test/libsolidity/syntaxTests/tryCatch
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
..
almost_call_options.sol Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
catch_error_named.sol Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
catch_error.sol Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
catch_low_level.sol Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
creation.sol Add more syntax tests for uncovered cases 2020-11-05 10:30:09 +00:00
data_location_error_message.sol Error message: try-catch parameter cannot be in storage. 2021-05-31 11:25:08 +02:00
double_panic_correct.sol Catch panic. 2020-12-22 11:08:44 +01:00
double_panic.sol Catch panic. 2020-12-22 11:08:44 +01:00
elementary_non_address_state_mutability_catch.sol Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous 2023-01-20 20:05:36 +01:00
elementary_non_address_state_mutability_try_returns.sol Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous 2023-01-20 20:05:36 +01:00
empty_catch.sol
empty_returns.sol
error_and_panic.sol Catch panic. 2020-12-22 11:08:44 +01:00
error_with_wrong_type.sol
invalid_catch_parameter_location_calldata.sol Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous 2023-01-20 20:05:36 +01:00
invalid_catch_parameter_location_storage.sol Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous 2023-01-20 20:05:36 +01:00
invalid_error_name.sol Catch panic. 2020-12-22 11:08:44 +01:00
invalid_returns_var_location.sol Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous 2023-01-20 20:05:36 +01:00
invalid_returns_vars_and_catch_parameter_indexed.sol Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous 2023-01-20 20:05:36 +01:00
invalid_returns_vars_and_catch_parameter_mutability.sol Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous 2023-01-20 20:05:36 +01:00
invalid_returns_vars_and_catch_parameter_visibility.sol Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous 2023-01-20 20:05:36 +01:00
invalid_returns.sol
library_call.sol
low_level_homestead.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
low_level_spuriousDragon.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
low_level_tangerineWhistle.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
low_level_with_wrong_type.sol
multiple_returns_vars_and_catch_parameter_location.sol Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous 2023-01-20 20:05:36 +01:00
no_catch.sol
no_external_call.sol
no_returns.sol Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
no_special.sol Add type().min/max for enums 2021-09-01 15:02:02 +02:00
returns_memory_anonymous.sol Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
returns_memory.sol Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
returns_mismatch.sol Add missing test case for try/Catch 2021-02-16 12:33:55 +00:00
returns.sol Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
scoping.sol Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
simple_catch.sol Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
structured_homestead.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
structured_spuriousDragon.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
structured_tangerineWhistle.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
two_catch_clauses.sol Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
two_error_catch_clauses.sol
two_low_level_catch_clauses.sol
wrong_panic_2.sol Catch panic. 2020-12-22 11:08:44 +01:00
wrong_panic.sol Catch panic. 2020-12-22 11:08:44 +01:00