Commit Graph

21216 Commits

Author SHA1 Message Date
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
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
chriseth
adc58c67b4
Merge pull request #11944 from ethereum/debug-info-selection
Debug info selection
2021-10-12 16:39:50 +02:00
chriseth
5b3169b5dc
Merge pull request #11295 from ethereum/semver-parser
Properly reject misformatted version pragmas
2021-10-12 16:31:52 +02:00
chriseth
3beebbaa15
Merge pull request #12120 from ethereum/sol-throw
`solThrow()`
2021-10-12 16:28:34 +02:00
chriseth
5911fdf6a2
Merge pull request #12106 from ethereum/fix-circleci-macos-cache-key
Include OS and CPU architecture in CircleCI cache keys
2021-10-12 16:22:13 +02:00
Christian Parpart
591ba184e9 Adds some more version pragma test cases. 2021-10-12 15:15:54 +02:00
Kamil Śliwak
e136788493 Replace BOOST_THROW_EXCEPTION() with solThrow() where appropriate 2021-10-11 20:35:00 +02:00
Kamil Śliwak
ee1455ce95 Define solThrow() macro to make throwing simple errors less verbose 2021-10-11 20:35:00 +02:00
Kamil Śliwak
a9e794c872 Expose --debug-info/settings.debug.debugInfo option 2021-10-11 20:34:48 +02:00
Kamil Śliwak
bcfefc79d9 Pass DebugInfoSelection down to the code handling assembly printing 2021-10-11 20:34:48 +02:00
Kamil Śliwak
f7c4ed849d Handle DebugInfoSelection in the code printing Yul and EVM assembly 2021-10-11 20:34:48 +02:00
Kamil Śliwak
25eedfafe2 Define DebugInfoSelection 2021-10-11 20:34:48 +02:00
Kamil Śliwak
2cd1c644b6 Remove unused includes and sort existing includes in a few places 2021-10-11 20:34:48 +02:00
Kamil Śliwak
cd22574072 Workaround for CircleCI not being able to restore cached /usr/local/Homebrew 2021-10-11 20:12:55 +02:00
Kamil Śliwak
24c8a608c4 Include OS and CPU architecture in CircleCI cache keys 2021-10-11 19:16:52 +02:00