Commit Graph

9108 Commits

Author SHA1 Message Date
Yoichi Hirai
14707b27e2
Merge pull request #3183 from federicobond/fix-event-parsing
Fix event parsing. Refs #3175
2017-12-12 11:12:18 +01:00
chriseth
a0e67dec46
Merge pull request #3218 from elenadimitrova/documentation/2176-overload-resolution
Document function overloading
2017-12-12 10:54:43 +01:00
chriseth
45d0992ce8
Merge pull request #3290 from ethereum/moveAppend
Move-append for vector.
2017-12-12 10:23:19 +01:00
elenadimitrova
c6a4aba9f0 Document function overloads and resolution 2017-12-12 10:26:58 +02:00
Alex Beregszaszi
40e8716926
Merge pull request #3197 from medvedev1088/fix-security-considerations-example
Add another example with call to demonstrate Re-Entrancy
2017-12-12 04:22:45 +00:00
Alex Beregszaszi
55a681dcad
Merge pull request #3068 from izgzhen/document-io-class
Document JSON I/O error classes
2017-12-12 03:55:51 +00:00
Alex Beregszaszi
37b06884b2 Correct that ether transfers _can_ always include code execution in re-entrancy example 2017-12-12 03:31:30 +00:00
Evgeny Medvedev
2f6f81640b Add another contract with call to demonstrate re-entrancy vulnerability.
Add another contract with call to demonstrate re-entrancy vulnerability as send explicitly sets gas to 2300 by default according to this commit 9ca7472 which makes it impossible to "get multiple refunds" because a non-zero CALL costs at least 9700 gas. This issue is discussed on Ethereum StackExchange https://ethereum.stackexchange.com/questions/30371/send-ether-reentrancy-attack-in-reality-how-could-fallback-function-make-a-mes/30616#30616
2017-12-12 03:31:00 +00:00
Alex Beregszaszi
1ddd4e2b06
Merge pull request #3010 from ethereum/libsolc
Rename jsonCompiler to libsolc
2017-12-12 03:03:32 +00:00
Zhen Zhang
d50e8abefb Document JSON I/O error classes 2017-12-12 03:02:30 +00:00
Alex Beregszaszi
539b8f3b45
Merge pull request #3302 from ethereum/optimiserDescription
Description of the optimiser and stages.
2017-12-11 17:47:38 +00:00
chriseth
2add4f604b Description of the optimiser and stages. 2017-12-11 16:12:08 +01:00
chriseth
eebeb52aed
Merge pull request #3228 from ethereum/docs-tests-struct
Enable struct abi example with experimental pragma
2017-12-11 14:26:15 +01:00
chriseth
3760284e1c Move-append for vector. 2017-12-11 14:24:04 +01:00
Alex Beregszaszi
1734d44561 Rename jsonCompiler to libsolc 2017-12-11 12:49:08 +00:00
chriseth
27f38fb5b3
Merge pull request #3281 from GNSPS/develop
Removed manual adjustment of stack of the docs
2017-12-11 12:00:47 +01:00
chriseth
a5d2cecbc3
Merge pull request #3299 from KamuelaFranco/patch-1
Update style-guide.rst to include enum style
2017-12-11 12:00:21 +01:00
chriseth
4a1f18c951
Merge pull request #3272 from ethereum/suggest-structs
Suggest the experimental ABI encoder if using structs as function parameters
2017-12-11 11:58:53 +01:00
Alex Beregszaszi
b32d7a84fc Move some struct tests to require ABIEncoderV2 2017-12-11 02:42:09 +00:00
chriseth
9e36c189e5 Fix struct encoding warning for libraries. 2017-12-11 02:34:42 +00:00
Alex Beregszaszi
e9d256ddf4 Suggest the experimental ABI encoder if using structs as function parameters 2017-12-11 02:34:42 +00:00
Kamuela Franco
ef57961711
Update style-guide.rst to include enum style 2017-12-09 14:53:40 +00:00
Yoichi Hirai
226bfe5be1
Merge pull request #3268 from eepstein/patch-2
link to wiki for additional info on napspec
2017-12-08 11:17:11 +01:00
chriseth
316e4089b3
Merge pull request #3283 from ethereum/jump-warning
Improve the jump warning
2017-12-07 12:21:52 +01:00
chriseth
1343770dfe
Merge pull request #3288 from kayuri/SOL3277--Properly-handle-release-tag
Handle git release tag properly
2017-12-06 16:15:25 +01:00
Yuriy Kashnikov
4634ce825b Review fixes 2017-12-06 21:14:54 +07:00
Yoichi Hirai
c2109436de
Merge pull request #3287 from ethereum/substitution
Substitution
2017-12-06 11:12:06 +01:00
Yuriy Kashnikov
2d6fe522a6 Handle git release tag properly
Build process will check current commit and if it is tagged
starting with a `v` then it will create `prerelease.txt` file in
the top directory.
2017-12-06 15:58:24 +07:00
Alex Beregszaszi
d57afb20fa Fix warning test for jumps in assembly 2017-12-05 20:27:50 +00:00
Alex Beregszaszi
793537e089 Suggest the "if" statement too instead of jumps 2017-12-05 19:27:12 +00:00
Alex Beregszaszi
bc875f6b9c Warn for assembly labels too 2017-12-05 19:27:12 +00:00
Alex Beregszaszi
37b66616fb
Merge pull request #3285 from ethereum/julia-split-instruction
Split Instruction and FunctionalInstruction in Julia
2017-12-05 19:25:49 +00:00
chriseth
07825e90fa substitution 2017-12-05 20:12:46 +01:00
chriseth
d34054ef58 copier 2017-12-05 20:12:46 +01:00
chriseth
6769a9a503 Make the modifier more flexible. 2017-12-05 20:12:46 +01:00
Alex Beregszaszi
745eefa36f Split Instruction and FunctionalInstruction in Julia 2017-12-05 14:52:11 +00:00
Alex Beregszaszi
a08d853bbb
Merge pull request #3278 from ethereum/ast_walker
Ast walker
2017-12-05 14:44:07 +00:00
chriseth
c6df1cdaaa Generic AST walker. 2017-12-05 14:42:52 +01:00
chriseth
b582420b5f
Merge pull request #3219 from ethereum/disambiguator
Iulia disambiguator.
2017-12-05 14:42:20 +01:00
chriseth
b47e023df1
Merge pull request #3032 from ethereum/division
Division and unary operators for SMT checker
2017-12-05 13:59:01 +01:00
chriseth
30d7afc2e3 Simplify disambiguator. 2017-12-05 12:09:55 +01:00
chriseth
cba58629d2 Refactor iulia tests. 2017-12-05 12:09:55 +01:00
chriseth
861210f543 Disambiguator. 2017-12-05 12:09:52 +01:00
Gonçalo Sá
ca16099ad0 Removed manual adjustment of stack of the docs
Removed the section fo the docs regarding manual adjustment of the stack given the `unbalanced stack` check prevents its use
2017-12-05 03:20:35 +00:00
chriseth
6d609557b6 Fix test. 2017-12-04 12:57:36 +01:00
chriseth
07101c1338 Rename to ASTDataForward.h 2017-12-04 12:49:55 +01:00
chriseth
240c79e614
Merge pull request #3265 from ethereum/rename_args_to_params
Rename arguments to parameters.
2017-12-04 06:49:44 -05:00
Ezra Epstein
29b30a95e9
link to wiki for additional info on napspec 2017-12-01 14:00:44 -05:00
Alex Beregszaszi
134cc73e8e Enable struct abi example with experimental pragma 2017-12-01 16:20:23 +00:00
Alex Beregszaszi
4cad0b224b
Merge pull request #3250 from ethereum/aliases
Introduce InlineAsm structs into Iulia namespace.
2017-12-01 16:15:16 +00:00