Commit Graph

22381 Commits

Author SHA1 Message Date
Kamil Śliwak
4ac46ebf40 Disable dependency caching on macOS in CI 2022-04-11 16:01:29 +02:00
Kamil Śliwak
6931c939e0 CI: Make osx test jobs handle dependency installation even if b_osx does not install them 2022-04-11 16:01:29 +02:00
Leo
140e59d190
Merge pull request #12429 from ethereum/smt_encode_call
[SMTChecker] abi.encodeCall
2022-04-11 14:12:04 +02:00
Kamil Śliwak
e684b36b25
Merge pull request #12908 from tharun634/move-docs
Moved `docs.sh` script to `docs/`
2022-04-11 13:51:05 +02:00
Leo Alt
f9fa76c9d3 smt encode call 2022-04-11 12:19:41 +02:00
wechman
e980a29186 Set CommonSubexpressionEliminator max chunk size to 2000 2022-04-11 08:31:04 +02:00
wechman
91638ed7b2 fixup! Limit max chunk size in CommonSubexpressionEliminator::feedItems 2022-04-11 08:31:04 +02:00
wechman
63f53a19dd Limit max chunk size in CommonSubexpressionEliminator::feedItems 2022-04-11 08:31:04 +02:00
wechman
b74a27e946 ExpressionClasses performance optimization 2022-04-11 08:31:04 +02:00
Kamil Śliwak
0b81194350
Merge pull request #12916 from sourabhxyz/develop
inheritance.rst: Fix capitalization in multiple inheritance example
2022-04-10 18:36:13 +02:00
sourabh.xyz
9867fbcfb0
Update inheritance.rst
Fixed typo 'owned' → 'Owned'.
2022-04-09 13:17:07 +05:30
Kamil Śliwak
d9c6ceca09
Merge pull request #12866 from jiq4449/develop
Renamed AssemblyStack to YulStack
2022-04-08 22:24:09 +02:00
Kamil Śliwak
4e1de370d7
Merge pull request #12909 from bytecurl/develop
Add `.DS_Store` and `Thumbs.db` to `.gitignore`
2022-04-08 21:20:51 +02:00
Kamil Śliwak
23e77e9a84 docs.sh: Fail on all errors, includding undefined variables and failures in piped commands 2022-04-08 20:41:31 +02:00
Kamil Śliwak
efd0024853 docs.sh: Make the script independent of the working directory 2022-04-08 20:41:31 +02:00
Tharun K
a608bc12f7 Moved docs.sh script to docs/ 2022-04-08 20:41:22 +02:00
Joshua Quinones
e1a59397c6 Renamed AssemblyStack to YulStack
All files, references, variables, comments, etc. were renamed to YulStack.
2022-04-08 20:28:55 +02:00
Bytecurl
c5bf750bf3 Add .DS_Store and Thumbs.db to .gitignore
Add OS specific local files that should not be included in a git repository - .DS_Store (macOS) and Thumbs.db (Windows)
2022-04-08 20:24:27 +02:00
Kamil Śliwak
f567eb1fb2 Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions 2022-04-08 14:48:35 +02:00
Kamil Śliwak
fb7c969ce8 Tests for assembly instructions allowed with mutable/view/pure functions 2022-04-08 14:47:32 +02:00
Daniel Kirchner
15c2a33eb3
Merge pull request #12910 from ethereum/updatesToGasAndDelegate
Some updates to gas and delegatecall.
2022-04-07 22:06:46 +02:00
chriseth
22d8c0aecd Some updates to gas and delegatecall. 2022-04-07 21:34:36 +02:00
Kamil Śliwak
e340cf6ca2
Merge pull request #12876 from aathan/why-is-this-inline-assembly-not-memory-safe
[Docs] clarify the reason for the memory-unsafe assembly example being unsafe
2022-04-07 18:41:41 +02:00
aathan
9e2b26e046 Clarify the reason for the memory-unsafe assembly example being unsafe 2022-04-07 18:03:02 +02:00
Kamil Śliwak
0dd7f9c871
Merge pull request #12901 from aathan/clarify-base-contract-constructors
Clarify base contract constructors (re request of PR #12872)
2022-04-07 13:33:05 +02:00
Christian Parpart
e74f03056c
Merge pull request #12283 from ethereum/soltest-graceful-error-handling
Graceful error handling in soltest/isoltest + improved soltestAssert()
2022-04-07 13:12:43 +02:00
Nishant Sachdeva
803585d2e6
Merge pull request #12751 from andreb0x/patch-2
updates to gas section
2022-04-07 13:02:06 +05:30
Daniel Kirchner
52f5ffd876
Merge pull request #12804 from ethereum/benchmark-differ
Benchmark differ
2022-04-07 09:24:01 +02:00
andreb0x
60416120af Update introduction-to-smart-contracts.rst
modifying "write" to "transactions"
2022-04-07 10:05:46 +05:30
andreb0x
39f3175a37 updates to gas section
small modifications for clarity

updates to delegatecall

Update introduction-to-smart-contracts.rst

modifying "write" to "transactions"

updates to gas section

small modifications for clarity

Update introduction-to-smart-contracts.rst

modifying "write" to "transactions"

updates to gas section

small modifications for clarity

updates to delegatecall
2022-04-07 10:05:46 +05:30
Kamil Śliwak
b3048ccf07 Use EXIT_FAILURE and EXIT_SUCCESS constants in exit() and when returning from main() 2022-04-06 22:27:08 +02:00
Kamil Śliwak
7c83559881 soltest: Handle CLI validation errors gracefully 2022-04-06 22:26:21 +02:00
Kamil Śliwak
cf6704ae06 isoltest: Do not return an error code from --help 2022-04-06 22:26:21 +02:00
Kamil Śliwak
7bace8d25d soltest: Don't assume that parse() can never return false 2022-04-06 22:26:21 +02:00
Kamil Śliwak
ed8403f456 isoltest: Handle parsing errors differently from unexpected exceptions 2022-04-06 22:26:21 +02:00
Kamil Śliwak
3c5930dd8e Put arguments in parantheses in assert macro definitions 2022-04-06 22:26:21 +02:00
Kamil Śliwak
0bb885dab2 Bring soltestAssert() up to date with solAssert()
- Allow omitting description.
- Provide a default description.
- Use a custom exception type derived from util::Exception rather than std::exception.
2022-04-06 22:26:10 +02:00
Daniel Kirchner
31b5485779
Merge pull request #12902 from a3d4/fix-msvc-debug-stack-crash
Fix MSVC Debug crash
2022-04-06 20:34:44 +02:00
Daniel Kirchner
c71d0aec83
Merge pull request #12898 from ethereum/via-ir-equivalence-tests
Create split_on_empty_lines_into_numbered_files function in scripts/common.sh
2022-04-06 13:16:24 +02:00
wechman
4d8a34370e Create split_on_empty_lines_into_numbered_files function in scripts/common.sh 2022-04-06 07:26:18 +02:00
a3d4
44093f2ed6 Fix MSVC Debug crash 2022-04-06 01:34:58 +02:00
aathan
fd0df0b05d
Update inheritance.rst 2022-04-05 12:19:59 -07:00
Kamil Śliwak
34dd30d71b
Merge pull request #12885 from StrongerXi/improve-array-size-too-large-error-message
Improve error message for static array with size too large
2022-04-05 18:09:59 +02:00
Ryan
3a17274691 Improve error message for static array with size too large 2022-04-05 17:36:37 +02:00
Kamil Śliwak
8c9856c52c benchmark_diff: Add table mode with support for json, console and markdown output 2022-04-05 15:43:18 +02:00
Kamil Śliwak
ee5e878ad7 benchmark_diff: A Python script for diffing summarized benchmarks from external tests 2022-04-05 15:40:28 +02:00
Mathias L. Baumann
0944e6853f
Merge pull request #12899 from ethereum/lsp-publishDiagnostics-trace-helper
Implements $/setTrace and uses trace logging.
2022-04-05 14:24:18 +02:00
Christian Parpart
2d07ea3d42 Implements $/setTrace and uses trace logging.
For helping the caller to know in advance how many files are expected
with a response for publishDiagnostics.
2022-04-05 13:51:42 +02:00
Damian Wechman
d0bd365d2c
Merge pull request #12179 from akali/pretty-json
Set handlers use unified jsonPrint with prettifier if needed
2022-04-05 07:05:53 +02:00
Daniel Kirchner
fd763fa6ad
Merge pull request #12851 from ethereum/via-ir-equivalence-tests
Tests for the equivalence of one and two-stage compilation via IR ports multi-file contracts
2022-04-04 20:19:27 +02:00