chriseth
7f64584b7f
Compute packing offsets.
2015-03-16 18:07:14 +01:00
chriseth
fff3f98f58
Enlarge storage references to two stack slots.
2015-03-16 18:07:14 +01:00
chriseth
c34e1da6db
Merge pull request #1325 from LefterisJP/sol_MsgSig
...
Adding msg.sig Solidity Magic type
2015-03-16 17:30:18 +01:00
Lefteris Karapetsas
bb5364dd66
Additional test for msg.sig
2015-03-16 16:42:56 +01:00
Liana Husikyan
27a89a36e1
restyleing
...
removed unnecessary check
2015-03-16 14:45:11 +01:00
Lefteris Karapetsas
d7ffba1504
Adding msg.sig Solidity Magic type
...
msg.sig will return a bytes4 with the function signature located in CALLDATALOAD
2015-03-16 12:59:56 +01:00
Paweł Bylica
0be8fa49f0
Merge remote-tracking branch 'upstream/develop' into evmjit
2015-03-16 12:01:47 +01:00
Liana Husikyan
ebb4d5e298
- added more tests to check constant specifier implementation
...
- deny use of const for local variables
- deny unitialized const variables
- only int, fixed strings, and enums can be declaired as const
2015-03-16 10:46:46 +01:00
Liana Husikyan
7d6357ae53
- added isPartOfExternalInterface to Declaration
...
- changed position for the constant specifier. now it goes after type: <type> <constant> <name> = <value>
- removed tests for constant functions, checkings for constant function doesn't belong to this story
2015-03-16 10:46:46 +01:00
Liana Husikyan
67cd3a7180
added parsing for constant variables
2015-03-16 10:46:46 +01:00
chriseth
a16677dcfb
Fix gas for builtin.
...
Fixes #1300
2015-03-13 17:31:56 +01:00
Lefteris Karapetsas
039b133c18
Small FixedBytes type fixes
...
- Integer Constant is explicitly convertible to FixedBytes, so using
that in the tests
2015-03-12 17:31:39 +01:00
Paweł Bylica
8181792a6a
Merge remote-tracking branch 'upstream/develop' into evmjit
2015-03-12 13:39:40 +01:00
Lefteris Karapetsas
a62d3fa240
Some fixes on Types.cpp for FixedBytesType
2015-03-12 13:39:12 +01:00
Lefteris Karapetsas
3b54583d38
Style fixes and some additional hash to bytes32 renaming
2015-03-12 12:53:01 +01:00
Lefteris Karapetsas
c81b498953
Style fixes in Types[cpp/h]
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
b8cede371d
byte is now an alias for byte1
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
cd3e8c1756
Fixing byte array index access code generation
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
b2fadf6b93
Conversion changes after renaming Hash/String to Bytes.
...
- Almost all end to end tests pass. Still needs a little bit of work
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
73ce24ae75
Most EndToEndTests are now compliant with the Bytes renaming
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
2bddebc3d5
Bytes Tokens properly named and NameAndTypeResolution tests work
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
3ca37caddd
Fixes after rebasing on top of develop
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
7d7f37bd5e
Replacing StaticStringType with FixedBytesType
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
bede2f2ad7
More changes towards getting rid of HashXX
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
36fe571576
start of cleanup
2015-03-12 12:53:00 +01:00
Gav Wood
51258f3002
Merge pull request #1268 from chriseth/sol_checkerFixes
...
Fixed some checker warnings.
2015-03-10 18:44:34 +00:00
chriseth
d41c51a810
Fixed some checker warnings.
2015-03-10 15:11:13 +01:00
Liana Husikyan
d5cbb2acd2
added brackets for printing in/out
...
cleaned up
2015-03-10 12:02:48 +01:00
Liana Husikyan
74a01826ee
added information about jump type for jump instructions
...
Conflicts:
libevmcore/Assembly.cpp
libsolidity/Compiler.cpp
2015-03-10 12:02:48 +01:00
chriseth
9c82cbeddf
Global variable "now" (alias for block.timestamp).
2015-03-09 19:22:43 +01:00
Paweł Bylica
5ae0a975b3
Merge remote-tracking branch 'upstream/develop' into evmjit
2015-03-09 15:05:22 +01:00
chriseth
cd8a0ab65d
Style fixes.
2015-03-09 13:28:29 +01:00
chriseth
94c51caf89
Fixed: Some instructions did not have source locations.
2015-03-09 13:28:29 +01:00
Gav Wood
67ffc3db71
Solidity fixes.
2015-03-08 11:43:17 +01:00
chriseth
0e50ef1ee0
Fixed gas calculation for CALL.
2015-03-06 16:23:39 +01:00
chriseth
6fea41abd8
Merge pull request #1222 from chriseth/sol_copyFromCalldata
...
Copying between calldata and storage.
2015-03-06 15:42:49 +01:00
chriseth
8de5ff5c25
Update Types.h
...
Typo
2015-03-06 15:39:21 +01:00
Paweł Bylica
5c713d1429
Merge remote-tracking branch 'upstream/develop' into evmjit
2015-03-06 15:34:02 +01:00
chriseth
28e88903dc
Fix type checks for storage variable initializer.
2015-03-06 13:47:32 +01:00
Gav Wood
75b1151952
Merge branch 'poc9trie' of github.com:ethereum/cpp-ethereum into poc9trie
...
Conflicts:
libethcore/BlockInfo.cpp
libethcore/Exceptions.cpp
libethcore/Exceptions.h
2015-03-06 13:28:37 +01:00
chriseth
11e943fc6a
Fix for arrays containing mappings.
2015-03-06 13:17:52 +01:00
chriseth
d8b156ecbb
Copying between calldata and storage.
2015-03-06 13:17:52 +01:00
Gav Wood
1c9a048a47
Params & JSON file.
2015-03-06 12:46:23 +01:00
Gav Wood
9aea119e54
Add date/time language to solidity.
2015-03-06 12:46:23 +01:00
Gav Wood
5729ae0e8c
Merge branch 'poc9trie' of github.com:ethereum/cpp-ethereum into poc9trie
2015-03-06 12:36:09 +01:00
Gav Wood
2668214f1a
Params & JSON file.
2015-03-06 12:19:44 +01:00
Gav Wood
4822154f61
Add date/time language to solidity.
2015-03-06 12:19:44 +01:00
chriseth
34e8de749a
Merge pull request #1212 from chriseth/sol_arrayIndexOnCalldata
...
Index access for calldata and byte arrays.
2015-03-05 23:44:08 +01:00
Paweł Bylica
c82b085d93
Merge remote-tracking branch 'upstream/develop' into evmjit
2015-03-05 16:49:21 +01:00
chriseth
280df42463
Styling
2015-03-05 15:41:39 +01:00