Commit Graph

16811 Commits

Author SHA1 Message Date
a3d4
8f68c04358 Add unique IDs to error reporting calls 2020-05-06 13:53:46 +02:00
a3d4
e3641b88ec Groundwork. Prepare for automatic tagging
[Not compilable until the next commit]
2020-05-06 13:52:28 +02:00
Mathias Baumann
a93d79ff28 Remove obsolete flag --optimize-yul from scripts 2020-05-06 11:49:40 +02:00
Mathias Baumann
02c5f1f748 Remove --optimize-yul flag for soltest 2020-05-06 11:49:40 +02:00
Daniel Kirchner
c25a3eba14 Fix accessing memory reference types in yul codegen and clean up on memory reads. 2020-05-06 11:34:11 +02:00
chriseth
4c1e821e01
Merge pull request #8845 from ethereum/solYulCleanup
[Sol->Yul] Cleanup for checked arithmetic and comparisons.
2020-05-05 17:58:36 +02:00
Daniel Kirchner
b580106c80 Yul parser hack and more yul tests. 2020-05-05 17:23:41 +02:00
chriseth
02c20698c9 IR generation for constants. 2020-05-05 17:07:55 +02:00
chriseth
3c0ca57f21
Merge pull request #8846 from ethereum/enforceYulIsoltest
Always enforce via yul for isoltest runs.
2020-05-05 14:53:54 +02:00
Daniel Kirchner
7b48c120b5 Always enforce via yul for isoltest runs. 2020-05-05 14:08:59 +02:00
Daniel Kirchner
28d25afab1 Cleanup tests for Sol->Yul arithmetic and comparison. 2020-05-05 13:38:31 +02:00
Daniel Kirchner
4d739b16a4 Cleanup function for internal function pointers. 2020-05-05 13:07:10 +02:00
Daniel Kirchner
7ad319687d Sol->Yul: Add cleanup to operations. 2020-05-05 13:06:01 +02:00
chriseth
dfd9008214
Merge pull request #8683 from ethereum/yulExample
Example ERC20 contract in Yul.
2020-05-05 12:05:15 +02:00
chriseth
1de73a16ab
Merge pull request #8837 from mijovic/sol2YulRevertWithString
[Sol2Yul] Adding support for builtin revert(string)
2020-05-05 09:57:51 +02:00
Djordje Mijovic
e8f6f63e77 [Sol2Yul] Adding support for builtin revert(string) 2020-05-05 07:05:39 +02:00
chriseth
fc41f78146
Merge pull request #8695 from mijovic/isolTestEnforceCompileViaYul
[isoltest] Enforcing compileViaYul to be set if test can pass via yul
2020-05-05 00:55:59 +02:00
Djordje Mijovic
8b7f87eed5 [isoltest] Enforcing compileViaYul to be set if test can pass via yul 2020-05-05 00:38:13 +02:00
chriseth
cb32530b6b
Merge pull request #8836 from mijovic/fixConstructorModifier
[Sol->Yul] Checking if there is base contract when calling base const…
2020-05-05 00:30:03 +02:00
Djordje Mijovic
cf607aa887 [Sol->Yul] Checking if there is base contract when calling base constructror via modifier invocation. 2020-05-04 20:38:22 +02:00
chriseth
38486f47a7 Example ERC20 contract in Yul. 2020-05-04 19:13:50 +02:00
chriseth
1bb07e268b
Merge pull request #8832 from ethereum/release
Merge release into develop.
2020-05-04 18:15:09 +02:00
chriseth
71edd4d87b
Merge pull request #8831 from ethereum/newVersion068
Set version to 0.6.8.
2020-05-04 18:14:52 +02:00
chriseth
14ba31f64c Set version to 0.6.8. 2020-05-04 18:09:10 +02:00
chriseth
1aef9c7d20
Merge pull request #8777 from ethereum/sol_yul_simplefunctions
[Sol - Yul] Add some built-in functions.
2020-05-04 16:07:10 +02:00
chriseth
0eda24ab1f
Merge pull request #8829 from ethereum/docs-for-yul-optimizations-option
Minimal docs for --yul-optimizations option
2020-05-04 16:04:39 +02:00
Kamil Śliwak
457cc754d0 docs: Info about optimizerSteps field in Standard JSON input and metadata listings 2020-05-04 15:59:44 +02:00
Kamil Śliwak
d037f7a3c5 docs: Info about --yul-optimizations and optimizer steps in Yul section 2020-05-04 15:59:44 +02:00
chriseth
ace1eacb88
Merge pull request #8583 from ethereum/yulForImmutables
Yul codegen for immutables.
2020-05-04 15:47:17 +02:00
chriseth
b8d736ae0c
Merge pull request #8825 from ethereum/develop
Merge develop into release.
2020-05-04 15:43:01 +02:00
chriseth
5a4a774007
Merge pull request #8828 from ethereum/changelog-entry-for-yul-optimizations-option
Changelog: Add an entry for --yul-optimizations option
2020-05-04 15:42:33 +02:00
Kamil Śliwak
682f53fc82 Changelog: Add an entry for --yul-optimizations option 2020-05-04 15:36:27 +02:00
chriseth
ea7e751750 Documentation. 2020-05-04 15:05:14 +02:00
chriseth
3738cff6e6 Test updates. 2020-05-04 15:00:50 +02:00
chriseth
51ccb1519f Yul codegen for immutables. 2020-05-04 15:00:50 +02:00
Mathias Baumann
debcc8c056 Add setimmutable and loadimmutable to dialect. 2020-05-04 15:00:50 +02:00
chriseth
53ea962864
Merge pull request #8823 from ethereum/preprae067
Prepare 0.6.7.
2020-05-04 14:37:48 +02:00
chriseth
d7180c0522 Prepare 0.6.7. 2020-05-04 12:57:27 +02:00
chriseth
94f7ffcfe7
Merge pull request #8810 from ethereum/sol_yul_send_and_transfer
[Sol - Yul] Add support for send(..) & transfer(..)
2020-05-04 11:48:00 +02:00
Alexander Arlt
a9f4d14010 [Sol - Yul] Add support for send(..) & transfer(..) 2020-05-01 08:32:51 -05:00
chriseth
b627f3ab85
Merge pull request #8808 from ethereum/documentation-abstract
Note on abstract contract about overriding implemented functions
2020-05-01 13:33:55 +02:00
chriseth
5163c09eab
Merge pull request #8811 from fky2015/patch-1
Fix wrong demo code on `docs/types/mapping-types`.
2020-05-01 13:20:03 +02:00
Alexander Arlt
151e637336 [Sol - Yul] Add some built-in functions.
- simplifications for GasLeft, Selfdestruct and BlockHash.
- add support for addmod & mulmod.
2020-04-30 14:10:09 -05:00
KaiYu Feng
15748e871e
fix(docs/mapping-types): fix wrong demo code.
get index before push, so the access of this index won't beyond the boundery.
2020-05-01 00:14:45 +08:00
hrkrshnn
d1fd6782bc Note on abstract contract about overriding implemented functions 2020-04-30 19:41:31 +05:30
chriseth
602b29cba7
Merge pull request #8796 from a3d4/fix-8760-typechecker-compiler-error
[Type Checker] Fix internal error when applying unary operators to tuples with empty components
2020-04-29 10:14:15 +02:00
a3d4
3bd15655cb Type Checker: Fix internal error when applying unary operators to tuples with empty components 2020-04-29 02:18:48 +02:00
chriseth
cc3992452f
Merge pull request #8791 from random-internet-cat/fix-8406
Fix broken assertion in ContractCompiler
2020-04-28 19:46:30 +02:00
Jason Cobb
8973732b74
Compare categories instead of types in ContractCompiler(740) 2020-04-28 13:13:45 -04:00
chriseth
ab33eef4a2
Merge pull request #8728 from yoni206/patch-1
Change NOT to ~
2020-04-28 18:59:54 +02:00