Commit Graph

20650 Commits

Author SHA1 Message Date
Kamil Śliwak
030fb1d9a2 boostTest: Give BOOST_REQUIRE_NO_THROW a smaller block of code to make the error message clearer when a test raises an unexpected exception 2021-06-25 13:22:15 +02:00
iskanderandrews
a8e9d7a80d docs/
Enhancing all the .rst doc files by adding highlighting for the code snippets, including the following langs:
1. Solidity

2. bash

3. javascript

4. assembly
2021-06-25 12:33:55 +02:00
Kamil Śliwak
cd0ccd099b installing-solidity.rst: Clarify that when using urls in Standard JSON with a dockerized compiler it might still be necessary to mount a volume 2021-06-24 19:14:38 +02:00
chriseth
cbf1c3ae69
Merge pull request #11512 from ethereum/issue_10342
[yul] Functions: Remove dependency on AST ID.
2021-06-23 19:35:12 +02:00
Alexander Arlt
8accf420ea [yul] Functions: Remove dependency on AST ID. 2021-06-23 16:15:25 +02:00
chriseth
e4cf371358
Merge pull request #11574 from ethereum/ParserBase
[langutil] ParserBase: make advance() overridable and make sure it's used.
2021-06-23 13:16:56 +02:00
Christian Parpart
f561c1e90b [langutil] ParserBase: make advance() overridable and make sure it's used. 2021-06-23 12:53:25 +02:00
chriseth
26598a2603
Merge pull request #11569 from ethereum/fixcalltounimplementedmodifier
Prevent calls to unimplemented modifiers.
2021-06-23 09:25:02 +02:00
chriseth
829bf0c18a
Merge pull request #11571 from ethereum/libsolcli-and-libphaser
Create libs for yul-phaser and solc to avoid recompiling their sources for soltest
2021-06-23 09:21:33 +02:00
Kamil Śliwak
afb8fb4927 Create libraries for yul-phaser and solc to avoid compiling their sources again for soltest 2021-06-22 17:47:45 +02:00
chriseth
c5923f7fcf Prevent calls to unimplemented modifiers. 2021-06-22 17:08:28 +02:00
chriseth
9cf6021d8a
Merge pull request #11567 from ethereum/convert-type-ice-on-bound-calldata-struct
Fix ICE when calling functions bound to calldata structs and arrays
2021-06-22 16:51:25 +02:00
Kamil Śliwak
98e83303b1 Remove assertions preventing calldata->calldata conversion when cleanup is needed 2021-06-22 16:10:16 +02:00
chriseth
7dded3ae67
Merge pull request #11568 from ethereum/setversionto087
Set version to 0.8.7.
2021-06-22 15:55:26 +02:00
chriseth
ef0e902db3 Set version to 0.8.7. 2021-06-22 15:14:53 +02:00
chriseth
11564f7ec2
Merge pull request #11566 from ethereum/prepare086
Prepare release of 0.8.6.
2021-06-22 13:30:55 +02:00
chriseth
c502158c69 Prepare release of 0.8.6. 2021-06-22 11:39:15 +02:00
chriseth
6324688ece
Merge pull request #11420 from ethereum/docs-sphinx-4-compatibility-fixes
[DOCS] Sphinx 4.x.y compatibility fixes
2021-06-22 11:02:34 +02:00
chriseth
69714b2854
Merge pull request #11565 from ethereum/fix-isolate-tests-parsing-sphinx-block-parameters
Fix Sphinx block parameter parsing in `isolate_tests.py`
2021-06-22 11:01:16 +02:00
Kamil Śliwak
98c4830f2a docs/requirements.txt: Add minimum version for Sphinx 2021-06-21 20:54:35 +02:00
Kamil Śliwak
056e0d3751 docs: Suppress highlighting errors for snippets that cause errors in pygments-lexer-solidity 2021-06-21 20:54:35 +02:00
Kamil Śliwak
570ecf1cf1 Replace deprecated Sphinx mehods with newer equivalents 2021-06-21 20:54:31 +02:00
Kamil Śliwak
b7bbf6bd07 docs/contributing.rst: Don't use the default Solidity highlighting for shell and text snippets 2021-06-21 20:54:31 +02:00
Kamil Śliwak
da40011d8c Add generated robots.txt to .gitignore 2021-06-21 20:54:31 +02:00
Kamil Śliwak
0311b955c2 isolate_tests.py: Parse Sphinx block parameters correctly 2021-06-21 20:54:12 +02:00
chriseth
a96114b3c5
Merge pull request #11450 from ethereum/originSourceLocations
Adding origin location notation to IR
2021-06-21 19:19:18 +02:00
Djordje Mijovic
838f59fa5b Adding origin location notation to yul ir. 2021-06-21 18:48:20 +02:00
chriseth
921e21c7cb
Merge pull request #11500 from ethereum/supportMetadataViaIR
Support metadata via IR.
2021-06-21 18:35:20 +02:00
chriseth
0df8a38e55 Support metadata via IR. 2021-06-21 18:20:31 +02:00
chriseth
ff3eca4ccc
Merge pull request #11560 from patekuru/patch-1
Update micropayment.rst
2021-06-21 10:05:50 +02:00
patekuru
5787bc921d
Update micropayment.rst 2021-06-19 08:50:51 -04:00
Kamil Śliwak
112815862e
Merge pull request #11549 from TaldenV/update-path-resolution
[Grammar]: Edit for clarity
2021-06-17 18:52:32 +02:00
TaldenV
1d48b68637
Edit for clarity 2021-06-17 09:33:08 -05:00
chriseth
a695089fec
Merge pull request #10866 from ethereum/ir-stack
Expose libevmasm Assembly in libyul for CompilerStack
2021-06-17 16:16:05 +02:00
Alex Beregszaszi
0e8e4eacd5 Pass on assembly instance from AssemblyStack to CompilerStack
This allows for generation of various output artifacts supported by the old codegen
2021-06-17 15:35:59 +02:00
Alex Beregszaszi
6ae09ee0cc Add AssemblyStack.assembleEVM which returns both deploy and runtime assemblies 2021-06-17 15:35:59 +02:00
Alex Beregszaszi
05e3e723f5 Remove non-existing AssemblyStack.assembleAndGuessRuntime from header 2021-06-17 15:28:22 +02:00
Alex Beregszaszi
79794081eb Extract assemble() from compileContract() in CompilerStack 2021-06-17 15:28:22 +02:00
chriseth
e0c2999e01
Merge pull request #11546 from AlleghenyCrypto/update_dependency_script
Updated install_deps.sh to handle Big Sur 11.3 and 11.4
2021-06-17 12:53:52 +02:00
Allegheny Crypto
182ec685fe Updated install_deps.sh to handle Big Sur 11.3 and 11.4 2021-06-17 11:37:13 +02:00
Leonardo
e8ebfe49a1
Merge pull request #11547 from ethereum/fix-develop-ci
Fix develop CI
2021-06-17 11:33:47 +02:00
hrkrshnn
d176716d47 Added extra commands that needs to be run before brew update
Fixes the following issue:

Error:
  homebrew-core is a shallow clone.
  homebrew-cask is a shallow clone.
To `brew update`, first run:
  git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
  git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
These commands may take a few minutes to run due to the large size of the repositories.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
2021-06-17 10:34:57 +02:00
hrkrshnn
eb04dfcd3e Updated expectation of FixedFeeRegistrar.sol 2021-06-17 10:09:47 +02:00
chriseth
614683019b
Merge pull request #11426 from ethereum/test-fixedfee
Move contracts/FixedFeeRegistrar to semanticTests/externalContracts
2021-06-16 18:34:10 +02:00
chriseth
dbd80b3a83
Merge pull request #11541 from jgoodall628/patch-1
Grammar update for security-considerations.rst
2021-06-16 12:26:43 +02:00
jgoodall628
a344fd43bf
Grammar update for security-considerations.rst 2021-06-15 19:51:07 -05:00
chriseth
e7bf1cc7e7
Merge pull request #11534 from ethereum/fix-different-optimizer-settings-without-enabled-key-in-standard-json
Same optimizer settings with ``settings.optimizer.enabled`` missing and ``false``
2021-06-15 16:46:29 +02:00
Kamil Śliwak
59957b18dc Make missing settings.optimizer.enabled key in Standard JSON equivalent to setting it to false 2021-06-15 16:06:22 +02:00
chriseth
6b446bd46d
Merge pull request #11533 from ethereum/changelog-solcjs-optimier-default
solc-js changelog entry for the behavior change without --optimize flag
2021-06-15 15:35:20 +02:00
Kamil Śliwak
38f2987994 solc-js changelog entry for the behavior change without --optimize flag 2021-06-14 18:14:57 +02:00