Kamil Śliwak
5c5045ee26
Merge pull request #13644 from ethereum/builtin-tests
...
test: Move hashing algorithm tests to semanticTests
2022-10-21 20:17:47 +02:00
Alex Beregszaszi
4f07be6348
test: Move hashing algorithm tests to semanticTests
2022-10-21 15:59:47 +02:00
Bojidar00
af9a1d8a18
refactor: Move error generating tests to /invalid
2022-10-20 14:04:12 +03:00
Daniel
2cb618a5c3
Merge pull request #13593 from ethereum/test-selfdestruct
...
Add test for selfdestruct
2022-10-17 17:43:08 +02:00
Nikola Matić
16c4c7565a
Merge pull request #13546 from KatyaPrusakova/move-nonstruct-test
...
test copy_from_calldata.sol folder location update
2022-10-06 19:02:50 +02:00
Prusakova Katya
2d4aa990fb
test copy_from_calldata.sol folder location update
...
Rename copy_from_calldata
2022-10-06 18:14:15 +02:00
Kamil Śliwak
53e0a47a1c
Merge pull request #13265 from ethereum/no-append-metadata
...
Add `--no-append-metadata` in CLI and `metadata.append` in JSON
2022-10-04 17:32:22 +02:00
Alex Beregszaszi
96168a1438
Add test for selfdestruct
...
Also drop less useful EndToEndTest
2022-10-01 11:45:46 +02:00
Alex Beregszaszi
0357cedb5c
Update tests and include new for create/create2 calculation
2022-09-27 22:31:46 +02:00
Alex Beregszaszi
725253551e
Improve FunctionSelector helpers
2022-09-27 17:58:32 +02:00
hrkrshnn
d32661c0af
Added tests for --no-append-metadata
...
- Command line tests
- Documented the standard json
- Changelog
- A Change in SolidityExecutionFramework to prevent flaky gas tests
- A boost test for --no-append-metadata
- Removed an outdated comment
2022-09-26 20:40:34 +02:00
nishant-sachdeva
c8011d8719
Cleaning up helpers around errors
2022-09-19 10:51:14 +05:30
Daniel Kirchner
1fbee8259a
Merge pull request #13464 from ethereum/copying_reference_types
...
Add tests for copying reference types between data locations
2022-09-15 15:44:38 +02:00
Nikola Matic
12ea1158bf
Remove std qualifier from string in Metadata tests
2022-09-14 09:12:03 +02:00
Nikola Matic
e37dc8e975
Address review comments
2022-09-13 17:23:31 +02:00
Nikola Matic
feba1bfeff
Rework metadata and cover with tests
2022-09-12 11:13:49 +02:00
Nikola Matic
314a1cc92f
Command line tests and minor touch ups
2022-09-12 11:13:49 +02:00
wechman
0eae9e70ff
Tests for copying structs between data locations
2022-09-09 09:58:41 +02:00
wechman
dfe8fce369
Tests for copying nested array of structs between data locations
2022-09-09 09:42:40 +02:00
wechman
c4d97120bd
Add test for copying elements of nested storage array
2022-09-09 09:42:40 +02:00
Daniel Kirchner
a33da17300
Bugfix and tests.
...
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-09-08 11:54:14 +02:00
wechman
0262621b9f
fixup! Add test for copying reference types between data locations
2022-09-07 10:45:53 +02:00
wechman
c5d8c5ad05
Add test for copying reference types between data locations
2022-09-07 10:45:53 +02:00
Damian Wechman
6b99162457
Merge pull request #13406 from ethereum/slot_on_reference_fix
...
Fix `.slot` accessing via mapping reference in assembly
2022-09-05 14:00:18 +02:00
Leo
e048ba4d75
Merge pull request #13439 from ethereum/z3_4_8_11_smt_tests
...
Update SMT tests with z3 4.11.0
2022-08-30 12:51:13 +02:00
Leo Alt
16c0838f75
Update docker images and tests
2022-08-30 11:51:59 +02:00
Marenz
f7cc29bec1
Add std:: qualifier to move() calls
2022-08-30 11:12:15 +02:00
Christian Parpart
d31e4dcc0a
lsp: Finishing last missing test wrt complex nested project directory structure and specifying custom includes, while using some (one) of them.
2022-08-22 12:49:06 +02:00
Christian Parpart
122fbc6ff7
Adds include-paths-nested test case.
2022-08-22 12:49:06 +02:00
Christian Parpart
b6ba43234e
lsp: Always load all solidity files from project for analyzing.
...
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-08-22 12:49:04 +02:00
Mathias L. Baumann
a3de6cd60e
Merge pull request #12762 from ethereum/emptyReturnRevert
...
Optimize ``return(x,0) -> pop(x) return(0,0)`` (and also for ``revert``).
2022-08-22 12:42:48 +02:00
Marenz
1b5332c2b9
Fix spelling mistakes and CI spellcheck job
2022-08-18 14:38:19 +02:00
wechman
cf3bae0839
Fix "slot" access via mapping reference in assembly
2022-08-17 07:53:52 +02:00
Daniel Kirchner
a9c21863d4
Update tests.
2022-08-15 16:24:10 +02:00
Matheus Aguiar
2282ea5e56
Added overflow checks after multiplication operation is executed.
2022-08-12 10:18:05 -03:00
wechman
99ac7e09bb
fixup! Calldata validation tests
2022-08-11 07:55:10 +02:00
wechman
60e7e4a24c
fixup! Calldata validation tests
2022-08-11 07:39:02 +02:00
wechman
123a410795
fixup! Calldata validation tests
2022-08-11 07:38:54 +02:00
wechman
d066dd2bc0
Calldata validation tests
2022-08-11 07:38:28 +02:00
Daniel Kirchner
9a429e2300
Fix ICE on invalid tuple assignments.
2022-08-09 12:41:47 +02:00
Marenz
22c7cd22b9
Fix wrong cleanup when copying from calldata to memory
...
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-08-08 13:07:16 +02:00
Nikola Matic
40de2b0442
Add full stops to error messages
2022-08-05 09:52:48 +02:00
Duc Thanh Nguyen
a9e03f5e4a
Fix out-of-range compiler crash for nested tuple assignment involving
...
outer unary tuple
2022-08-04 12:45:46 -04:00
Matheus Aguiar
9acf693aa2
Fixed bad cast when abiEncodeCall receives a tuple from a function.
2022-08-03 18:48:38 -03:00
rodrigobaraglia
95bc553ffc
replace boost/range/for_each with standard for loop over rangev3/view/zip in ContractABIUtils::overwriteParameters
2022-07-27 12:54:42 -03:00
Duc Thanh Nguyen
5072472917
Fix abi.encodeCall checks
2022-07-25 12:40:54 -04:00
Christian Parpart
d89008da0a
lsp: Adding test for custom include paths.
2022-07-13 13:57:04 +02:00
Christian Parpart
31227e442e
lsp: Adds support for include paths and have {projectUri}/node_modules added by default.
...
- Factor out FileRepository's path resolving into own public function.
- Fixes sourceUnitNameToUri() path resolving in relation to include paths being used.
- Adding an solAssert().
- adds nother test for include-paths (bad include)
- Fixes a case on Windows there an ill-formed URI was generated.
- Dropping unnecessary if-branch when translating from sourceUnitName to URI.
2022-07-12 15:25:33 +02:00
Marenz
16b64f3aee
LSP rename
2022-07-08 11:52:45 +02:00
Mathias L. Baumann
b2ac0dada4
Merge pull request #13210 from timweri/display_human_readable_type_name_in_conversion
...
Display human readable type name in error messages
2022-07-06 17:31:53 +02:00