Commit Graph

12873 Commits

Author SHA1 Message Date
chriseth
faa66983ae Use v0.5.0 tag of solc-js repository for external tests. 2019-01-22 10:03:35 +01:00
chriseth
43fb38a84e Update changelog for release. 2019-01-22 09:04:18 +01:00
chriseth
7b66eb273d
Merge pull request #5832 from ethereum/introduceEncodingOptions
[REF] Provide ABI encoding options as single struct parameter.
2019-01-21 23:53:21 +01:00
chriseth
f33b81676f
Merge pull request #5831 from ethereum/soljsonPatchBackwardsCompatible
Patch soljson.js to provide backwards compatibility with older emscripten versions.
2019-01-21 23:26:22 +01:00
chriseth
05b0d32e0a
Merge pull request #5718 from ethereum/smt_external_functions
[SMTChecker] Clear state knowledge after external function calls
2019-01-21 18:36:09 +01:00
chriseth
7a69455c13 Provide ABI encoding options as single struct parameter. 2019-01-21 16:43:32 +01:00
chriseth
4c9bbd85e6 Patch soljson.js to provide backwards compatibility with older emscripten versions. 2019-01-21 15:33:36 +01:00
chriseth
8f694d5119
Merge pull request #5796 from ethereum/faq-send-payable
[DOCS] Merge payable FAQ item
2019-01-21 14:56:50 +01:00
chriseth
ec6b660251
Merge pull request #5822 from ethereum/emscripten-1.38.22
Update to emscripten 1.38.22
2019-01-21 13:56:35 +01:00
Alex Beregszaszi
ad20e14c8e
Merge pull request #5827 from ethereum/idio-memory-array
[DOCS] Further clarify in-memory arrays
2019-01-21 12:29:19 +00:00
Leonardo Alt
7f8ceaadab [SMTChecker] Clear state knowledge after external function calls 2019-01-21 12:58:40 +01:00
chriseth
f8e9aed839
Merge pull request #5717 from ethereum/smt_typecast
[SMTChecker] Support basic typecast without truncation
2019-01-21 12:35:07 +01:00
chriseth
ea790e3b7e
Merge pull request #5806 from ethereum/calldataStructs
Disallow calldata structs.
2019-01-21 12:03:32 +01:00
Chris Chinchilla
da73e25398
Merge pull request #5797 from ethereum/faq-array-pass
[DOCS] Remove copy between contracts FAQ item
2019-01-21 12:57:01 +02:00
Chris Ward
a1df27ae3d Merge payable FAQ item 2019-01-21 12:37:08 +02:00
Chris Ward
f39993ced6 Readd example 2019-01-21 12:33:11 +02:00
chriseth
606c2b9945
Merge pull request #5816 from esaulpaugh/develop
improve packed encoding test vector
2019-01-21 10:42:13 +01:00
Daniel Kirchner
610ef9f199 Disallow calldata structs. 2019-01-21 10:30:57 +01:00
Chris Ward
f4130d7910 Further clarify in-memory arrays 2019-01-20 19:11:24 +02:00
Daniel Kirchner
d3270bc311
Merge pull request #5824 from ethereum/boost-cleanup
Remove boost workarounds
2019-01-19 14:40:57 +01:00
Alex Beregszaszi
b1d43a868c Add error condition if compiling with Boost <1.65 2019-01-18 18:13:59 +00:00
Alex Beregszaszi
6a32f7e444 Remove boost_multiprecision_number_compare_bug_workaround for Boost <=1.58 2019-01-18 18:09:26 +00:00
Alex Beregszaszi
8c97fb1688 Remove boost::filesystem::weakly_canonical workaround 2019-01-18 17:59:32 +00:00
Alex Beregszaszi
128d2811d5 Travis: make cache dependent on emscripten version 2019-01-18 17:55:03 +00:00
Alex Beregszaszi
272566ac93 CircleCI: always rebuilt boost cache after emscripten udpate 2019-01-18 17:03:50 +00:00
Alex Beregszaszi
a582f0bec1 Update to emscripten 1.38.22 2019-01-18 16:49:21 +00:00
Daniel Kirchner
127c78ee64
Merge pull request #5818 from ethereum/javascriptRuleListFix
Split up rule list generation further to fix browser issues.
2019-01-18 17:29:34 +01:00
Daniel Kirchner
870b656eda Split up rule list generation further to prevent issues in browsers with the emscripten build. 2019-01-18 17:02:47 +01:00
Alex Beregszaszi
7b759866cb
Merge pull request #5817 from ethereum/refactoring
Refactoring in TypeChecker and ContractDefinition
2019-01-18 11:36:49 +00:00
Daniel Kirchner
b7a86a124d Refactor TypeChecker::visit(FunctionDefinition const&). 2019-01-18 12:12:23 +01:00
Daniel Kirchner
a766efc79f Add ContractDefinition::isInterface. 2019-01-18 12:11:35 +01:00
Evan Saulpaugh
bda0bc8f08
improve packed encoding test vector
packed byte length of ints now unambiguously shown to be type-dependent, not value dependent e.g. uint16(0x03) is 0x0003 not 0x03
2019-01-18 02:30:15 -06:00
chriseth
2ec997e697
Merge pull request #5775 from ethereum/codeAccess
Provide access to code of contract types.
2019-01-18 00:16:06 +01:00
chriseth
0711873a2f
Merge pull request #5794 from ethereum/ssaReverser
[Yul] Add SSAReverser to optimiser.
2019-01-17 23:50:51 +01:00
chriseth
0b14d7a2d6
Merge pull request #5807 from ethereum/fixed_point_encoding
Return TypeError is fixed point encoding is attempted.
2019-01-17 23:47:07 +01:00
Alex Beregszaszi
3f7bb4d027
Merge pull request #5814 from tkopczynski/docs-fix-remove-word
[DOCS] Remove unnecessary word
2019-01-17 21:47:33 +00:00
Tomek Kopczynski
369a368a3f Remove unnecessary word 2019-01-17 21:59:31 +01:00
Daniel Kirchner
29f66b2674 Stabilize SSAReverser. 2019-01-17 21:05:32 +01:00
Daniel Kirchner
fd16585724 Undo second SSA transformation and add more tests. 2019-01-17 20:37:43 +01:00
Daniel Kirchner
6de2d92f20 Add SSAReverser to the yul optimiser. 2019-01-17 20:37:43 +01:00
chriseth
2a92403690 Changelog entry. 2019-01-17 20:37:34 +01:00
chriseth
2a0d4f358c Add test for content of creationCode and runtimeCode. 2019-01-17 20:36:48 +01:00
chriseth
29f6aa7d56 Do not create a copy of the assembly. 2019-01-17 20:36:48 +01:00
chriseth
a9fa2658d8 Add helper to show if contract can be deployed. 2019-01-17 20:36:48 +01:00
chriseth
01ad4bffe7 Documentation. 2019-01-17 20:36:48 +01:00
chriseth
fed56f33d5 Type is not reserved anymore. 2019-01-17 20:36:48 +01:00
chriseth
4669b06ab4 Warn if type(..).runtimeCode is used with assembly in the constructor. 2019-01-17 20:36:48 +01:00
chriseth
0bfdaa500a Add code access dependency. 2019-01-17 20:36:48 +01:00
chriseth
e6fee257e6 Code generation for access to contract code. 2019-01-17 20:36:48 +01:00
chriseth
2fcfb216b5 Syntax for meta type information. 2019-01-17 20:36:48 +01:00