Commit Graph

21380 Commits

Author SHA1 Message Date
chriseth
f50dcd451a
Merge pull request #12113 from mau211/docs/addReferences
Fix mismatched Yul optimizer step lists in docs
2021-10-18 10:49:12 +02:00
Kamil Śliwak
fdf3b96e3f
Merge pull request #12155 from vowchick/develop
Use range-v3 loops: delete boost includes
2021-10-16 12:03:43 +02:00
vowchick
5d985a24ac Use range-v3 loops: delete boost includes
An addition to issue #10738, couldn't change boost::for_each to
std::for_each, doesn't compile.

Build successful
./scripts/test.sh successful
2021-10-16 11:54:46 +03:00
Kamil Śliwak
7f0771f8f5
Merge pull request #12135 from tcoyvwac/fix/replace-remaining-raw-news
Prefer `make_unique` over `new`
2021-10-15 22:14:29 +02:00
tcoyvwac
ba0c09e082
Prefer make_unique over new 2021-10-15 19:46:47 +02:00
Zachinquarantine
07c98227aa Remove old, unsupported Ubuntu versions and adds new ones.
https://releases.ubuntu.com/
2021-10-15 19:44:34 +02:00
Zachinquarantine
a67b3bdd58 Removes support for Debian Wheezy (7)
As per the schedule on https://wiki.debian.org/LTS.
The only reason I haven't fully removed support for Jesse (8) is because it's still in https://wiki.debian.org/LTS/Extended
2021-10-15 19:44:34 +02:00
Mikko Ohtamaa
025bbbad82 Clarify block.* and tx.* values in off-chain calls
Looks like this may vary between different EVM implementations and confuses users.
2021-10-15 19:15:12 +02:00
Midhun07
b28e5c881e Disallowed --error-recovery in Standard json, Assembly and Linker input modes 2021-10-15 18:57:16 +02:00
Mariela Mantle
d684494389 feat(docs): get mismatched Yul optimizer step lists back in sync 2021-10-15 18:47:25 +02:00
Kamil Śliwak
d846410172 yul.rst: Clarify that linkersymbol() accepts but does not require a fully qualified library name 2021-10-14 20:57:15 +02:00
Kamil Śliwak
0280c8d00e Use fail and assertFail where appropriate in command-line tests 2021-10-14 18:56:08 +02:00
Kamil Śliwak
3b1b9a0bfb common.sh: Adjust formatting in msg_on_error() and add stack trace 2021-10-14 18:56:08 +02:00
Kamil Śliwak
b85172b055 common.sh: Print the source code from locations indicated in the stack trace 2021-10-14 18:56:08 +02:00
Kamil Śliwak
9aad8d683d common.sh: printStackTrace() and assertFail() 2021-10-14 18:55:08 +02:00
chriseth
1e630fc584
Merge pull request #12082 from ethereum/controlFlowSideEffectsUserDefined
Control flow side effects of user defined functions
2021-10-14 18:28:22 +02:00
Mathias L. Baumann
6d47168af2
Merge pull request #12140 from ethereum/partsOfLSP
Trivialities needed by LSP
2021-10-14 18:20:04 +02:00
chriseth
2c2269d300 Tests 2021-10-14 17:46:07 +02:00
chriseth
9417d6775f Control flow side-effects for user-defined functions. 2021-10-14 17:46:07 +02:00
Christian Parpart
35a81073b8 liblangutil: Adds a convenience helper method SourceLocation::contains(int _pos). 2021-10-14 17:35:03 +02:00
Christian Parpart
86a7e19879 libsolidity: Adding a comment to nameLocation(). 2021-10-14 17:33:15 +02:00
chriseth
d443fe415d
Merge pull request #12126 from MrBrain295/patch-1
Minor rewording of ` docs/examples/micropayment.rst `
2021-10-14 15:15:16 +02:00
chriseth
2493a98cb6
Merge pull request #12138 from ethereum/docs-fix-index-link-appearance
Fix index link appearance in docs menu
2021-10-14 15:13:20 +02:00
MrBrain295
ac64ae56a1 Minor rewording. 2021-10-14 15:09:18 +02:00
chriseth
fcd5af8cb0
Merge pull request #12131 from ethereum/fix-macos-restore-cache-workaround
Update the workaround for restore_cache on macOS not to delete files completely
2021-10-14 15:07:03 +02:00
Kamil Śliwak
6aa9633a02 docs: Add more bottom padding to the menu to prevent the index link from being obscured by the toggle 2021-10-14 14:15:29 +02:00
Kamil Śliwak
ed722700cd docs: Put the index menu item into a list prevent it from being styled as unfolded 2021-10-14 14:05:14 +02:00
Kamil Śliwak
f1ca8e535b Update the workaround for restore_cache on macOS not to delete files completely 2021-10-14 13:37:40 +02:00
chriseth
3713d6df22
Merge pull request #12133 from ethereum/prepareTestssForRedStoEl
Prepare tests to be meaningful.
2021-10-14 11:01:15 +02:00
chriseth
95dbbdae22 Prepare tests to be meaningful. 2021-10-13 17:56:43 +02:00
chriseth
1deda33e17
Merge pull request #12128 from ethereum/tweak-docs-contributing-soltest-lib-paths
[Docs] `contributing.rst`: Tweak details of the mechanism for locating evmone and hera
2021-10-13 17:32:22 +02:00
Kamil Śliwak
ac8020d4a7 contributing.rst: Tweak details about the location of evmone and hera 2021-10-13 17:31:52 +02:00
chriseth
ded3cb7ea5
Merge pull request #11833 from ethereum/enable-more-pylint-checks
Enable more pylint checks
2021-10-13 17:06:19 +02:00
chriseth
5ff8d8a190
Merge pull request #11794 from ethereum/tune_optimizer_simplifier
Make use of inner loops feature in optimizer step description.
2021-10-13 16:54:45 +02:00
Kamil Śliwak
4ed86edbc4 test/formal: Get rid of wildcard imports 2021-10-13 16:20:10 +02:00
Kamil Śliwak
fc0fe4f022 isolate_tests.py: Silence spurious pylint warning about isfile() being unused 2021-10-13 16:19:16 +02:00
Kamil Śliwak
b96de320e2 Fix the simplest pylint warnings (variables/imports, semicolons, etc) and re-enable them in pylintrc 2021-10-13 16:19:16 +02:00
chriseth
1a931a5108 Make use of inner loops. 2021-10-13 15:56:23 +02:00
chriseth
3fb42f60b4
Merge pull request #11613 from ethereum/doc-evmone-searchpath
[docs] contributing.rst: Documents evmone.so loading search paths.
2021-10-13 12:08:54 +02:00
Christian Parpart
5b926bee3f [docs] contributing.rst: Documents evmone.so loading search paths.
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2021-10-13 12:05:16 +02:00
chriseth
ff052a3161
Merge pull request #12125 from ethereum/fix-zero-return-on-linker-write-error
Don't return zero exit code when writing linked files to disk fails
2021-10-13 11:45:20 +02:00
chriseth
a79120fece
Merge pull request #12124 from ethereum/fixTests
Fix tests.
2021-10-12 20:26:28 +02:00
Kamil Śliwak
01327d6ef1 CommandLineInterface: Don't return zero exit code when writing linked files to disk fails 2021-10-12 18:23:16 +02:00
Kamil Śliwak
a5ed732fd3 CommandLineInterface: Rename m_error to m_outputFailed 2021-10-12 18:23:16 +02:00
chriseth
eb0c73dafd
Merge pull request #12046 from ethereum/asm-immutable-refs
Proper source mapping for immutables.
2021-10-12 18:09:06 +02:00
chriseth
59d8f50518 Fix tests. 2021-10-12 18:08:33 +02:00
Christian Parpart
b1dd0d0d02 Properly compute source mappings for immutables. 2021-10-12 17:56:17 +02:00
chriseth
49d7b78466
Merge pull request #12123 from ethereum/empty-switch-12068
CodeGen: Only output switch when it has cases
2021-10-12 17:42:49 +02:00
Mathias Baumann
454860d1f5 CodeGen: Only output switch when it has cases 2021-10-12 17:40:31 +02:00
Mathias Baumann
76f31e2c4e Whiskers: Support conditional value parameters for lists 2021-10-12 17:07:08 +02:00