Commit Graph

22708 Commits

Author SHA1 Message Date
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
Aisultan Kali
96376264e8 Set handlers use unified jsonPrint with prettifier if needed 2022-04-04 20:17:11 +02:00
Kamil Śliwak
1bc1f8bdbb
Merge pull request #12835 from dtedesco1/develop
Fix MultiSigWallet.sol order of functions
2022-04-04 17:37:28 +02:00
Kamil Śliwak
c06308146a
Merge pull request #12828 from ethereum/errorForUnary
Use error message for unary operators.
2022-04-04 17:13:28 +02:00
Kamil Śliwak
256db16a61
Merge pull request #12873 from aathan/patch-17
abstract-contracts.rst: Clarify when a contract may or must be marked abstract
2022-04-04 17:11:50 +02:00
dtedesco1
2fabb3db8f attempt rebase, fix free function, fix check errors 2022-04-04 22:49:12 +08:00
Kamil Śliwak
8d51eb6ea9
Merge pull request #12887 from ethereum/fix-broken-bash-syntax-external-tests-sh
Fix broken `${}` syntax in `externalTests.sh` (redo)
2022-04-04 14:50:37 +02:00
aathan
6f4844648f abstract-contracts.rst: Clarify when a contract may or must be marked abstract 2022-04-04 14:21:49 +02:00
Kamil Śliwak
c7222044a2 externalTests.sh: Fix broken ${} syntax in the script 2022-04-04 14:16:42 +02:00
chriseth
755e043a6d Use error message for unary operators. 2022-04-04 16:53:36 +05:30
Leo
5f4c91cc6d
Merge pull request #12702 from ethereum/ninja-build-fix
cmake/EthCompilerSettings.cmake: generator expression fix for ninja.
2022-04-04 13:11:28 +02:00
wechman
1e7688e8a1 Tests for the equivalence of one and two-stage compilation via IR supports multi-file contracts 2022-04-04 11:09:43 +02:00
Leo
37a4e9e3db
Merge pull request #12868 from ethereum/ext-tests-workaround-for-ethers-5.6.2-breaking-revert-string-testing
Workarounds for ext test breakage (ethers.js downgrade, disabled polygon test in zeppelin, switch to compiler-only in elementfi)
2022-04-04 11:05:15 +02:00
Kamil Śliwak
73443c0ada elementfi: Switch all presets to compile-only 2022-04-01 23:06:21 +02:00
Kamil Śliwak
5ef0048d85 zeppelin: Disable the newly added Polygon-Child test, failing via IR due to Hardhat heuristics 2022-04-01 23:06:21 +02:00
Kamil Śliwak
b445e7e74c Revert "perpetual-pools: Use Hardhat 2.8.4 to work around @openzeppelin/hardhat-upgrades's problem with parallel compilation on Hardhat 2.9.0"
This reverts commit 30008465bf.
2022-03-28 19:51:46 +02:00
Kamil Śliwak
34c06c27a5 Downgrade ethers.js to 5.6.1 in ens, gnosis, euler, perpetual-pools and uniswap external tests 2022-03-28 17:56:30 +02:00
chriseth
c4909e99c1
Merge pull request #12750 from nishant-sachdeva/abi_encodecall_should_properly_convert_function_type_to_externally_called_function
typeCheckAbiEncodeCallFunction should type check the arguments on functionPointerType->asExternallyCallableFunction instead of the plain function type
2022-03-24 15:16:55 +01:00
nishant-sachdeva
4c6066bfad typeCheckAbiEncodeCallFunction should type check the arguments on functionPointerType->asExternallyCallableFunction instead of teh plain function type 2022-03-24 18:53:46 +05:30
chriseth
b08190c284
Merge pull request #12799 from ethereum/asm-json-export
libevmasm: refactor asm-json export & add support for source list.
2022-03-24 12:13:21 +01:00
chriseth
d39de36051
Merge pull request #12842 from aathan/patch-4
Update mapping-types.rst
2022-03-24 12:12:05 +01:00
aathan
54fa215885
Update mapping-types.rst
typo
2022-03-23 17:15:17 -07:00
Alexander Arlt
1a0988e503 libevmasm: refactor asm-json export & add support for source list. 2022-03-23 15:58:07 -05:00
chriseth
b35cda5998
Merge pull request #12838 from aathan/patch-1
Update value-types.rst
2022-03-23 18:45:05 +01:00
Mathias L. Baumann
6c06d27f00
Merge pull request #12839 from ethereum/lsp-test-fail-fast
lsp.py: Adds --fail-fast (-f) to terminate early on first failure.
2022-03-23 18:24:07 +01:00
Christian Parpart
13a4c79a9b lsp.py: Adds --fail-fast (-f) to terminate early on first failure. 2022-03-23 17:34:04 +01:00