Commit Graph

10411 Commits

Author SHA1 Message Date
chriseth
283cdef98c Fix view/pure error ordering problem. 2018-06-04 17:00:37 +02:00
chriseth
c59a06bb97
Merge pull request #4213 from ethereum/fixpop
Fix bug related to byte array pop.
2018-06-04 16:10:56 +02:00
chriseth
0a074d8494
Merge pull request #3900 from meowingtwurtle/removeAssemblyAliases
[BREAKING] Remove suicide and sha3 assembly instructions
2018-06-04 15:46:20 +02:00
Daniel Kronovet
1a603625d4
Denote getData as view 2018-06-04 15:00:55 +03:00
Alex Beregszaszi
31a258458b Update imported stringutils to use keccak256 2018-06-04 01:05:01 +01:00
Jason Cobb
acd8706309 Remove documentation references to sha3 2018-06-04 01:05:01 +01:00
Jason Cobb
7de0d56aae Remove sha3/suicide from assembly tests 2018-06-04 01:04:49 +01:00
Jason Cobb
6e29775d39 Remove suicide and sha3 assembly instructions 2018-06-04 01:04:48 +01:00
Alex Beregszaszi
ef8fb63b31
Merge pull request #4217 from kronosapiens/patch-3
Fix typo
2018-06-04 00:36:41 +01:00
Daniel Kronovet
a217cd05c9
Fix typo 2018-06-03 15:36:54 +03:00
Daniel Kronovet
0d4adc44c9
Update function visibility example
Two functions don't access state and should be `pure`. Also, inconsistent spacing when using arithmetic.
2018-06-03 12:25:52 +03:00
Timofey Solonin
0d25ba1649 #3961 - rewritten encoding example in a logical order instead of a sequential order 2018-06-02 19:04:37 +03:00
chriseth
4b7e58f22f Add test for pop on the stack. 2018-05-31 15:01:45 +02:00
chriseth
7cf36331a6 Fix bug related to byte array pop. 2018-05-31 14:53:33 +02:00
Alex Beregszaszi
e58ffda9fd Remove extracted tests from SolidityNameAndTypeResolution 2018-05-30 20:04:34 +01:00
Alex Beregszaszi
6e23006937 Split out SolidityNameAndTypeResolution tests into SyntaxTests 2018-05-30 19:50:06 +01:00
Alex Beregszaszi
deeca7bc5d Reformat test for extraction tool 2018-05-30 18:46:28 +01:00
William Morriss
78b8baede7 keep stub in value types section, and move discussion to Arrays section 2018-05-30 10:34:01 -07:00
chriseth
0a1a8bfb09
Merge pull request #4172 from ethereum/trailing_dot
[BREAKING] Disallow trailing dot not followed by number
2018-05-30 18:51:52 +02:00
chriseth
0e3d4f773f
Merge pull request #4205 from ethereum/name-and-type-tests-split
Split up last NameAndTypeResolution test cases
2018-05-30 18:48:08 +02:00
chriseth
5a73044fa7
Merge pull request #3743 from ethereum/popStorageArray
pop() for storage arrays
2018-05-30 18:32:08 +02:00
Alex Beregszaszi
396b188352 Use temporary fork of Gnosis/Zeppelin contracts
Hopefully to be merged into upstream after the 0.5.0 release.
2018-05-30 16:47:11 +01:00
Erik Kundt
fea0d116f7 Fixes assembly bug and adds tests to cover it. 2018-05-30 17:46:43 +02:00
Erik Kundt
98d52beba3 Adds syntax tests, documentation and changelog entry.
Refines comment for array utility function.
2018-05-30 17:43:20 +02:00
Alex Beregszaszi
faf96e8e3f Gnosis and Zeppelin repo names have changed 2018-05-30 16:42:21 +01:00
Alex Beregszaszi
4ec3f508b0 Split up last NameAndTypeResolution test cases 2018-05-30 16:40:49 +01:00
Erik Kundt
34b5eca1f8 Improves assembly and adds more tests. 2018-05-30 17:40:33 +02:00
Alex Beregszaszi
a77531d245
Merge pull request #4204 from ethereum/chriseth-patch-2
Mention calldata as new keyword.
2018-05-30 15:16:07 +01:00
Leonardo Alt
ac68710789 Disallow trailing dots that are not followed by a number 2018-05-30 15:14:53 +01:00
chriseth
b708054c3e
Mention calldata as new keyword. 2018-05-30 14:43:59 +02:00
chriseth
41965ca262
Merge pull request #4176 from sifmelcara/add/calldata-keyword
Add a new keyword, "calldata", to allow explicitly specify data location in external function's argument list
2018-05-30 14:42:50 +02:00
chriseth
3f3d6df2a5
Merge pull request #4178 from ethereum/name-and-type-tests-split
Split up NameAndTypeResolution test cases
2018-05-30 12:35:26 +02:00
chriseth
b1aa283122
Merge pull request #4202 from wjmelements/ordered-list
consistency: use unordered lists for restrictions
2018-05-30 12:33:43 +02:00
mingchuan
b7cafcbdf9
Allow using calldata keyword to specify data location 2018-05-30 18:05:55 +08:00
Alex Beregszaszi
ddc4492d5e Split up NameAndTypeResolution test cases 2018-05-30 06:19:05 +01:00
Alex Beregszaszi
6eedc6e797 Extend function type comparison test 2018-05-30 06:16:35 +01:00
William Morriss
648bb484ac consistency: unordered list for restrictions 2018-05-29 16:56:45 -07:00
William Morriss
7bc36204d3 move bytes and string to complex types section 2018-05-29 16:31:26 -07:00
Erik Kundt
7156a01acc Implements pop() for byte arrays. 2018-05-29 12:53:02 +02:00
bitshift
e9dcfb0b62 Implements pop() for value type arrays. 2018-05-29 12:53:02 +02:00
Timofey Solonin
32443f5705 #3961 - added an example of abi encoding of a function with two-dimensional dynamic arrays 2018-05-29 13:18:23 +03:00
chriseth
8f04c59046
Merge pull request #4169 from Arindam-Mondal/Arindam-Mondal-patch-1
Corrected typo
2018-05-28 23:38:48 +02:00
Arindam Mondal
5187c66a25 Fix bug in documentation. 2018-05-28 23:37:47 +02:00
chriseth
9d5064d04d
Merge pull request #4173 from sifmelcara/add/allow-storage-calldata-suffix
Allow data location suffix for internal elementary type parsing
2018-05-28 22:52:45 +02:00
chriseth
8de26058c4
Merge pull request #4192 from vutsalsinghal/patch-1
CapsCase instead of camelCase
2018-05-28 22:07:07 +02:00
chriseth
7778eaf03a
Merge pull request #4073 from alibabe/fix-jsoncpp-install
Install a different jsoncpp version on cirleci to ensure compilation never clashes with the internal one
2018-05-28 22:06:14 +02:00
chriseth
b686fbbb32
Merge pull request #4180 from veox/use-pip-solidity-lexer
docs: Use Solidity lexer from PyPI, instead of a local module
2018-05-28 17:41:35 +02:00
chriseth
8701669386
Merge pull request #4183 from ethereum/types-test
Move and simplify fromElementaryTypeName tests to SolidityTypes
2018-05-28 17:23:22 +02:00
chriseth
d2fb7a2a44
Merge pull request #4195 from jvmaia/patch-2
clarify warnings in contracts.rst
2018-05-28 16:13:25 +02:00
chriseth
c71e5f8e94
Merge pull request #4196 from dilatebrave/issue1210
doc: making the index appear on the left pane
2018-05-28 12:54:54 +02:00