Commit Graph

19766 Commits

Author SHA1 Message Date
Daniel Kirchner
8b3095920a Inline ordinary jumps to small blocks and jumps to terminating control flow. 2021-03-24 13:50:24 +01:00
chriseth
a99eb17608
Merge pull request #11011 from ethereum/bytesConcat
[Sol->Yul] Implementing bytes concat
2021-03-24 12:10:58 +01:00
Djordje Mijovic
fd0762b5ef Documenting bytes.concat.
Co-authored-by: chriseth <chris@ethereum.org>
2021-03-24 11:49:21 +01:00
Djordje Mijovic
d0a854b312 Adding semantic tests for bytes.concat. 2021-03-24 11:49:21 +01:00
Djordje Mijovic
4e75c6c3e8 Implementing bytes.concat for legacy codegen. 2021-03-24 11:49:21 +01:00
Djordje Mijovic
80866d3ee4 [Sol->Yul] Implementing bytes.concat in IR codegen.
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
2021-03-24 11:49:21 +01:00
Djordje Mijovic
e7da9f3d52 Adding syntax tests for bytes.concat. 2021-03-24 11:49:21 +01:00
Djordje Mijovic
840df80dac Check if all types in bytes.concat are fixed bytes or byte array. 2021-03-24 11:49:21 +01:00
Djordje Mijovic
1493326e48 Adding bytes.concat function type. 2021-03-24 11:49:21 +01:00
chriseth
a27c9c39b2
Merge pull request #11153 from ethereum/modifierInvocationFix
Fix AST output if modifier invocation is base constructor call.
2021-03-24 11:46:19 +01:00
chriseth
9bc0477712
Merge pull request #11139 from Hongbo-Miao/patch-1
docs: fix semantic version link
2021-03-24 11:27:12 +01:00
chriseth
d15ba987d1 Fix AST output if modifier invocation is base constructor call. 2021-03-24 11:24:26 +01:00
Leonardo
70c1720903
Merge pull request #11129 from blishko/smt-ci-tests
Run SMTChecker tests for all EVM versions
2021-03-24 10:31:44 +01:00
chriseth
2bbe9349cf
Merge pull request #11151 from blishko/compilation-fix
Fix compilation on develop
2021-03-24 10:16:02 +01:00
Martin Blicha
e0b7c2c125 Fix compilation on develop 2021-03-24 09:40:02 +01:00
chriseth
e3ea5c631e
Merge pull request #11136 from ethereum/refactor-typepointer
Replace `TypePointer` with `Type const*`
2021-03-23 18:32:38 +01:00
chriseth
df6ec56925
Merge pull request #11142 from ethereum/setVersion084
Set version to 0.8.4.
2021-03-23 18:26:18 +01:00
Hongbo Miao
cbea8241dd docs: fix semantic version link 2021-03-23 23:17:24 +08:00
chriseth
2a9b131a6e Set version to 0.8.4. 2021-03-23 15:58:14 +01:00
chriseth
8d00100c4e
Merge pull request #11140 from ethereum/prepare083
Prepare changelog for 0.8.3.
2021-03-23 12:56:28 +01:00
chriseth
a32e2e2130 Prepare changelog for 0.8.3. 2021-03-23 12:55:13 +01:00
Martin Blicha
145a03bdd6 Run SMTChecker tests on all EVM versions 2021-03-23 12:51:52 +01:00
chriseth
88d340f279
Merge pull request #11134 from ethereum/fix-keccak-bug
Fix keccak bug
2021-03-23 12:15:30 +01:00
Mathias Baumann
e197ebbdd1 Replace TypePointer with Type const* 2021-03-23 11:47:19 +01:00
hrkrshnn
30e08ee3a5 Changelog and test for the KeccakCaching bug 2021-03-23 11:09:00 +01:00
hrkrshnn
2ecb20589b Fix bug about incorrect caching on Keccak256 hashes 2021-03-23 10:49:24 +01:00
chriseth
21e365321d
Merge pull request #11137 from ethereum/disableNodiscardBimap
Fix Windows Build: Disable nodiscard warning.
2021-03-23 10:47:01 +01:00
chriseth
f38274d94d Disable nodiscard warning. 2021-03-23 09:51:59 +01:00
chriseth
54cea090bf
Merge pull request #11124 from ethereum/extend-callgraph
Add creationCode/runtimeCode contract creation detection to call graph
2021-03-22 15:45:55 +01:00
Mathias Baumann
bccedf791b Add creationCode/runtimeCode contract creation detection to call graph 2021-03-22 15:44:23 +01:00
chriseth
8c583784c0
Merge pull request #11133 from ghidello/develop
[DOCS] Update OpenZeppelin's ECDSA contract URL
2021-03-22 15:02:34 +01:00
Leonardo
66729a4ffe
Merge pull request #11075 from ethereum/smt_tutorial
[SMTChecker] Tutorial and docs cleanup
2021-03-22 11:46:36 +01:00
ghidello
b37723dc36
[DOCS] Update OpenZeppelin's ECDSA contract URL 2021-03-21 11:38:04 +01:00
chriseth
6e1d61a232
Merge pull request #11089 from ethereum/optimizeMulByConstantToShift
Optimize mul by constant to shift
2021-03-18 12:59:51 +01:00
Leonardo Alt
569afe711a SMTChecker tutorial and docs cleanup 2021-03-18 11:09:26 +01:00
chriseth
d18db63843 Changelog entry. 2021-03-18 08:42:49 +01:00
chriseth
baf2ff2a6e Proof. 2021-03-18 08:42:49 +01:00
chriseth
2c8540b1f9 Yul optimizer test updates. 2021-03-18 08:42:49 +01:00
chriseth
7aa51bcb40 Test updates. 2021-03-18 08:42:49 +01:00
chriseth
4bfa7e088e Optimize multiplication by constant to shift. 2021-03-18 08:42:49 +01:00
chriseth
e179d0aa4d
Merge pull request #11121 from ethereum/doc-natspec
Document the version/kind fields in the natspec documentation
2021-03-17 17:25:48 +01:00
Alex Beregszaszi
b477a7d163 Document the version/kind fields in the natspec documentation 2021-03-17 16:04:59 +00:00
Leonardo
25b31111df
Merge pull request #11040 from ethereum/smt_fix_virtual_one_more_time
[SMTChecker] Fix bug in virtual functions called by constructor
2021-03-17 16:54:36 +01:00
chriseth
278053b4f2
Merge pull request #11117 from ethereum/gasmeter-fix-creation-calculation
Fix small bug in GasMeter calculation in creation context
2021-03-17 13:15:12 +01:00
hrkrshnn
6d9e9e1b1e Fix small bug in GasMeter calculation in creation context
Old calculation did not ignore `optimize-runs` parameter, when creation code gas computations were
done. This would lead to expanding values such as `shl(180, 1)` inside constructor code, even for
the default value for `--optimize-runs`, i.e., 200.
2021-03-17 12:33:10 +01:00
Harikrishnan Mulackal
35da404ca9
Merge pull request #11091 from ethereum/modifierInvocationAST
Add "kind" field to ModifierInvocation AST json element.
2021-03-16 19:44:40 +01:00
Leonardo
6d8366967b
Merge pull request #11112 from blishko/smt-small-refactor
[SMTChecker] Small refactoring of defining SMT expressions for structs/tuples
2021-03-16 19:02:16 +01:00
chriseth
0519473059 Add "kind" field to ModifierInvocation AST json element. 2021-03-16 18:50:37 +01:00
chriseth
e007557c0d
Merge pull request #11025 from ethereum/docs-intro
Clarify the syntax of Solidity is not Python inspired
2021-03-16 17:11:26 +01:00
Alex Beregszaszi
830bc8f88a Clarify the syntax of Solidity is not Python inspired 2021-03-16 17:11:01 +01:00