Commit Graph
21954 Commits
Author SHA1 Message Date
Daniel Kirchner b57e856426 Adjust documentation. 2022-03-09 17:53:28 +01:00
Daniel Kirchner 0a9d752b8b Add test case and adjust tests. 2022-03-09 17:53:28 +01:00
Daniel Kirchner ce0a3e93f2 Store whether an evmasm Assembly is creation code. 2022-03-09 17:42:29 +01:00
Christian Parpart c6fcb6c395 Merge pull request #12749 from ethereum/cmake-refactor-libsolc
[CMake] Refactor libsolc linker flag for EXPORTED_FUNCTIONS and make it more readable.
2022-03-09 13:33:48 +01:00
Christian Parpart b3daef7665 [CMake] Refactor libsolc linker flag for EXPORTED_FUNCTIONS and make it more readable. 2022-03-09 13:03:23 +01:00
chriseth 145186f68c Merge pull request #12723 from ethereum/docs-translation-updates
[DOCS] Updated translation links / rewording of language influences
2022-03-07 18:09:29 +01:00
chriseth 77c40cd2af Merge pull request #12740 from ethereum/remove-locale-dependent-operations
Replace all locale-dependent operations with locale-agnostic counterparts
2022-03-07 17:56:58 +01:00
wechman 52dfccca98 Replace all locale-dependent operations with locale-agnostic counterparts 2022-03-07 17:23:08 +01:00
franzihei 4d9a078798 updates index with language links 2022-03-07 13:05:00 +01:00
chriseth 57e012da98 Merge pull request #12663 from ethereum/assemblyAnnotationDialectString
Assembly annotation as memory-safe using assembly flags.
2022-03-07 13:03:08 +01:00
chriseth 79eba921b8 Merge pull request #12659 from paarthmadan/pm/base-64-test-cases
Add Base64 test cases with and without inline assembly
2022-03-07 12:57:49 +01:00
chriseth 4f19d68ee9 Merge pull request #12620 from ethereum/assemblyAnnotation
Memory-safety annotation for inline assembly.
2022-03-07 12:48:41 +01:00
chriseth 81f1de241b Merge pull request #12747 from ethereum/removeUnusedAssemblyEntryPoint
Remove unused entry point to evmasm Assembly.
2022-03-07 12:44:44 +01:00
Daniel Kirchner 06820e1b1e Remove unused entry point to evmasm Assembly. 2022-03-07 12:14:08 +01:00
Leo 7c91dd05a7 Merge pull request #12741 from david-k/develop
[Doc] Fix leftover use of divModWithSlacks
2022-03-07 10:12:47 +01:00
Paarth Madan 17fa85a2fb Add Base64 test cases with and without inline assembly
Adds two implementations of Base64 encoding as specified in RFC4648.
Implementation (1) uses inline assembly, while Implementation (2) is
written purely in Solidity.

Assertions are added to replicate the test vectors specified in the RFC
for Base64 to ensure both implementations to specification.
2022-03-05 19:51:46 -05:00
Daniel Kirchner 198b705361 Merge pull request #12721 from ethereum/fixIterableMapping
Fix iterable mapping example.
2022-03-04 15:27:56 +01:00
Daniel Kirchner c9373061aa Merge pull request #12742 from msooseth/style_fix
Fixing style issue in ExecutionFramework.cpp
2022-03-04 15:23:25 +01:00
Mate Soos 66a779d267 Fixing style issue in ExecutionFramework.cpp
It should be `auto const&` not `const auto&`
2022-03-04 12:20:57 +01:00
david-k cb4ffbfbb7 Fix leftover use of divModWithSlacks in doc
The option `divModWithSlacks` was previously changed to `divModNoSlacks`.
However, this was not reflected in the documentation.
2022-03-04 11:02:54 +01:00
Kamil Śliwak 999a53c984 Merge pull request #12684 from nishant-sachdeva/external_contract_wasting_gas_by_return_value
Never allocate more memory than the type size for static returns in external calls
2022-03-03 15:58:22 +01:00
nishant-sachdeva beabc51c20 returnSize assigned according to truth value of returnInfo.dynamicReturnSize 2022-03-03 18:55:10 +05:30
Alexander Arlt ebefb5d980 Merge pull request #12727 from ethereum/update-ci-cmake-jq-buildpacks
Update CI to use new buildpacks.
2022-03-02 15:55:17 -05:00
Alexander Arlt de916dcc0b Merge pull request #12726 from ethereum/update-buildpacks-cmake-jq
Update buildpacks to include `jq`.
2022-03-02 15:54:37 -05:00
Alexander Arlt ab0ab4491d Update CI to use new buildpacks. 2022-03-02 11:43:57 -05:00
Daniel Kirchner b3764ad4ef Merge pull request #12733 from ethereum/perpetual-pools-fix-race-condition-due-to-hardhat-parallel-compilation
Workaround for a race condition in Perpetual Pools ext test due to parallel compilation on Hardhat 2.9.0
2022-03-02 17:22:26 +01:00
Daniel Kirchner 46d8611e90 Adjust grammar. 2022-03-02 17:07:11 +01:00
Daniel Kirchner 0381de54c2 Update docs. 2022-03-02 17:07:11 +01:00
Daniel Kirchner 93dd8ad553 Tests. 2022-03-02 17:07:11 +01:00
Daniel Kirchner 290b1c3a90 Allow memory-safe inline assembly dialect flag. 2022-03-02 17:07:11 +01:00
Kamil Śliwak 30008465bf perpetual-pools: Use Hardhat 2.8.4 to work around @openzeppelin/hardhat-upgrades's problem with parallel compilation on Hardhat 2.9.0 2022-03-02 16:47:55 +01:00
Daniel Kirchner 6b6e163be5 Tests. 2022-03-02 16:42:28 +01:00
Daniel Kirchner ad13062978 Patch external tests with a safe inline assembly annotation. 2022-03-02 16:42:28 +01:00
Daniel Kirchner 62a997ac97 Documentation. 2022-03-02 16:42:28 +01:00
Daniel Kirchner dfb7bf2853 Report memoryguard in stack too deep error. 2022-03-02 16:42:28 +01:00
Daniel Kirchner 9bcfcc61a7 Inline assembly without memory effects is implicitly memory safe. 2022-03-02 16:42:28 +01:00
Daniel Kirchner e6848caac1 Allow annotating inline assembly as memory-safe. 2022-03-02 16:42:28 +01:00
chriseth d118f21417 Merge pull request #12729 from ethereum/splitOutDisassemble
Split out disassemble to remove numeric from instruction includes.
2022-03-02 16:18:17 +01:00
chriseth b0dcd7b915 Split out disassemble to remove numeric from instruction includes. 2022-03-02 15:30:41 +01:00
Alexander Arlt 149a730f4a Update buildpacks to include jq. 2022-03-02 09:23:49 -05:00
Daniel Kirchner e8520a667b Merge pull request #12730 from ethereum/saveRestoreNestingDepth
Also save and restore the nesting depth.
2022-03-02 14:21:56 +01:00
chriseth 63f0a22c5d Also save and restore the nesting depth. 2022-03-02 13:49:40 +01:00
chriseth 2bcb027533 Merge pull request #12693 from ethereum/extendSideEffects
Extend side effects
2022-03-01 23:48:06 +01:00
chriseth d0d4bca35b Extend side effects to operations. 2022-03-01 16:06:20 +01:00
chriseth 5369bdc8fb Merge pull request #12722 from ethereum/smt_fix_nondet
Ignore cex in SMT test
2022-03-01 12:26:48 +01:00
chriseth 466251b5a0 Merge pull request #12689 from callezenwaka/develop
Fix typos on doc
2022-02-28 19:04:03 +01:00
Callis Ezenwaka 5134dafb8e Update typo in using-for.rst
Update typo in using-for.rst
2022-02-28 19:03:13 +01:00
Leo Alt bef69b595b Ignore cex in SMT test 2022-02-28 18:56:20 +01:00
chriseth fb7cdda891 Fix iterable mapping example. 2022-02-28 17:57:19 +01:00
chriseth 6df5342d88 Merge pull request #12697 from ethereum/revive-wasm-rebuild
Revive wasm rebuild scripts
2022-02-28 13:29:37 +01:00