Commit Graph

21583 Commits

Author SHA1 Message Date
Kamil Śliwak
589f4b2a83 pylint: Enable bad-continuation and ungrouped-imports warnings and update the list of warnings to eliminate in the future 2021-12-21 15:31:01 +01:00
Kamil Śliwak
dece5f4de2 pylint: Enable and fix redefined-builtin warnings 2021-12-21 15:30:11 +01:00
Kamil Śliwak
5b10ff1216 pylint: Enable and fix singleton-comparison warnings 2021-12-21 15:30:11 +01:00
Kamil Śliwak
784ae91b41 pylint: Enable and fix no-self-use warnings 2021-12-21 15:30:11 +01:00
Kamil Śliwak
449f56c15b pylint: Enable and fix consider-using-sys-exit warnings 2021-12-21 15:30:11 +01:00
Kamil Śliwak
b65e093394
Merge pull request #12438 from ethereum/documentnodejsversionchange
Document nodejs required version change.
2021-12-20 21:17:46 +01:00
chriseth
a4b2fc9cb7
Merge pull request #12361 from mejsiej/improved-err-msg-when-getter-returns-nothing
Changed the message of the error thrown when the structure has all it's members omitted
2021-12-20 21:06:14 +01:00
chriseth
e5d7b81ca6
Merge pull request #12397 from ethereum/enable-ext-test-presets-that-compile-but-fail-tests
Enable external test presets that compile but fail tests
2021-12-20 20:05:53 +01:00
chriseth
1cb9766835 Document nodejs required version change. 2021-12-20 19:39:05 +01:00
Kamil Śliwak
1124e28628 externalTests: With COMPILE_ONLY=1 still do compilation on all levels if only JS tests fail 2021-12-20 19:14:37 +01:00
chriseth
113ecbdeb3
Merge pull request #12408 from sbillig/fix-mac-build
Update circleci mac xcode version to 13.2
2021-12-20 18:49:22 +01:00
mejsiej
ddd9a84141 Improve failure message when generating getter. 2021-12-20 18:16:27 +01:00
chriseth
8da9239c83
Merge pull request #12396 from ethereum/ext-tests-via-ir
External tests via IR
2021-12-20 18:13:02 +01:00
chriseth
08abab1373
Merge pull request #12432 from ethereum/nextVersion
Set version to 0.8.12.
2021-12-20 17:04:57 +01:00
chriseth
ff181ad129 Set version to 0.8.12. 2021-12-20 16:17:07 +01:00
chriseth
d7f0394316
Merge pull request #12426 from ethereum/setDateFor0811
Set release date for 0.8.11
2021-12-20 15:00:55 +01:00
chriseth
25a3bf2df0 Set release date. 2021-12-20 13:15:58 +01:00
chriseth
018f8cd2e2
Merge pull request #12428 from ethereum/fix/arch-ci-build-error
Fixes CI build error for ArchLinux.
2021-12-20 13:15:22 +01:00
Christian Parpart
b8e64a4883 Fixes CI build error for ArchLinux. 2021-12-20 13:11:00 +01:00
Alex Beregszaszi
700a09aae4
Merge pull request #12425 from GitHubPang/patch-1
Fix a few typos
2021-12-20 10:30:35 +01:00
GitHubPang
1b0cef4624
Fix a few typos 2021-12-20 10:56:39 +08:00
Sean Billig
4819d010a8 Update circleci mac xcode version to 13.2 2021-12-16 20:26:14 -08:00
Kamil Śliwak
10289fbc6a
Merge pull request #12420 from ethereum/security-policy-and-labels-in-template-chooser
Restore security policy link and labels in issue template chooser
2021-12-16 18:58:53 +01:00
chriseth
3193dfbb5d
Merge pull request #11350 from ethereum/lsp
Language Server
2021-12-16 18:54:26 +01:00
chriseth
1594518cfc
Merge pull request #12417 from nishant-sachdeva/invalid_ir_generated_during_copy_of_dynamically_sized_storage_arrays_of_function_type
Added sameType check for fromType and toType in YulUtilFunctions.cpp and relevant tests in semanticTests
2021-12-16 18:33:54 +01:00
chriseth
835efea427
Merge pull request #12287 from ethereum/abi.encodeCall
Implement typechecked abi.encodeCall()
2021-12-16 18:24:33 +01:00
Kamil Śliwak
b3d9c596cd Move issue template labels to config.yml 2021-12-16 18:12:04 +01:00
Kamil Śliwak
84738eb9e6 Add security policy to github's template chooser 2021-12-16 18:05:25 +01:00
Christian Parpart
927b24df1f Initial implementation of Language Server 2021-12-16 17:52:49 +01:00
chriseth
dc1dff975a
Merge pull request #12419 from ethereum/add-about-in-issue-templates-config
Move `about` field from issue templates to `config.yml`
2021-12-16 17:50:14 +01:00
Kamil Śliwak
fc88226376 Move about field from issue templates to config.yml 2021-12-16 17:47:43 +01:00
Kamil Śliwak
76e83a9b05
Merge pull request #12412 from ethereum/labels-in-issue-templates
Labels in issue templates
2021-12-16 17:40:41 +01:00
Marenz
7a96953e78 Implement typechecked abi.encodeCall() 2021-12-16 17:35:58 +01:00
nishant-sachdeva
7cc7a0f183 Added sameType check for fromType and toType in YulUtilFunctions.cpp and relevant tests in semanticTests 2021-12-16 21:51:09 +05:30
chriseth
e49780362b
Merge pull request #12289 from nishant-sachdeva/extract_test_cases_from_sol_end_to_end
trial test cases extracted from SolidityEndToEndTest.cpp into .sol files
2021-12-16 17:17:23 +01:00
chriseth
270793b0b2
Merge pull request #12414 from ethereum/fixWarnRef
Fix warning from Xcode 12.4 about a reference in `ranges::zip_view`
2021-12-16 14:04:53 +01:00
nishant-sachdeva
19a74506e3 trial test cases extracted from SoliidityEndToEndTest.cpp into .sol files.
removed libevmone.so files from the directory

trial test cases extracted from SoliidityEndToEndTest.cpp into .sol files. Corresponding code in the .cpp file has been commented instead of begin removed pending preliminary reviews

removed libevmone files

Added testcase packed_storage_structs_delete

added test case invalid_enum_logged

added test case enum_referencing

added test case memory_types_initialisation

added test case return string

added test case constant_string_literal.sol

removed extractable keyword from solidityEndtoEnd.cpp, moved copying_bytes_multiassigned.sol to array/copying folder, added recv() function to copying_bytes_multiassigned.sol but this test case is failing now

change typo error in the name of test case library_staticcall_delegatecal.sol to library_staticcall_delegatecall.sol

Added compileToEwasm:false to call_forward_bytes.sol test case and moved it to semanticTests/fallback

added compileToEwasm:false line to library_call_in_homestead

added compileToEwasm: false line to copying_bytes_multiassign, copy_from_calldata_removes_bytes, enum_referencing, library_call_in_homestead, struct_referencing

Added test case internal_types_in_library

Added test case mapping_arguments_in_library

Added test case mapping_returns_in_library

Added test case mapping_returns_in_library_named

Added test case using_library_mappings_public

Added test case library_function_external

Added test case library_stray_values

added test case using_library_mappings_return

added test case using_library_structs

Added test case using_for_function_on_struct and corrections to using_library_structs, using_library_mpapings_return, library_stray_values

Added test case using_for_overload

added test case using_for_by_name

added test case bound_function_in_function

added test case bound_function_in_var

added test case bound_function_to_string

added test case payable_function_calls_library

added function call corrections to copying_bytes_multiassign and call_forward_bytes

Made changes to the test cases as per comments on PR #12289

mentioned in Changelog.md : Extraced some test cases from SolEndToEnd.cpp
2021-12-16 16:56:38 +05:30
chriseth
6363ff31db
Merge pull request #12413 from ethereum/issues-automatically-in-solidity-project
Links to issue templates that automatically apply the `Solidity` project
2021-12-16 11:29:08 +01:00
chriseth
9a0821f2c3 Fix warning about reference. 2021-12-16 00:12:19 +01:00
Kamil Śliwak
b2a05a1bcf Remove unused "general" issue template 2021-12-15 21:07:28 +01:00
Kamil Śliwak
6035e8c02a Configure issue type selection screen to always select the "Solidity" project 2021-12-15 21:07:18 +01:00
Kamil Śliwak
9e0f03b3dc Remove hard wrapping in the issue templates 2021-12-15 20:48:52 +01:00
Kamil Śliwak
fdeb971708 Add an appropriate label to each type of issue 2021-12-15 20:45:39 +01:00
chriseth
1822261da1
Merge pull request #12372 from nishant-sachdeva/invalid_ir_generated_during_copy_of_dynamically_sized_storage_arrays_of_function_type
Added sameType check for fromType and toType in YulUtilFunctions.cpp and relevant tests in semanticTests
2021-12-15 20:05:46 +01:00
nishant-sachdeva
9b55d4788e Added sameType check for fromType and toType in YulUtilFunctions.cpp and relevant tests in semanticTests 2021-12-15 23:50:25 +05:30
chriseth
cf373fba82
Merge pull request #12373 from ethereum/explainOperators
Explanation about operators.
2021-12-15 18:37:41 +01:00
chriseth
c15ef45d29 Explanation about operators. 2021-12-15 18:37:18 +01:00
chriseth
55dd953cc8
Merge pull request #12381 from acoglio/patch-4
Improve description of break/continue restrictions.
2021-12-14 18:52:52 +01:00
Leo
2a587b2390
Merge pull request #12404 from ethereum/smt_fix_havocing
[SMTChecker] Fix soundness of struct storage/memory pointers
2021-12-14 18:44:00 +01:00
Kamil Śliwak
3ec05d02b5 externalTests: Add extra viaIR runs 2021-12-14 13:19:54 +01:00