Gav Wood
fd404dee5d
Fix solidity tests.
10 years ago
Liana Husikyan
2cf5fdcadf
fixes
added more tests
10 years ago
Liana Husikyan
99b3f7a55c
added < uint256 uinttype to test
10 years ago
Liana Husikyan
46eb3f366b
added implementation to append code for State variable accessor
fixed tests
10 years ago
Liana Husikyan
518daee546
some more tests
10 years ago
Liana Husikyan
561e461ded
added createing FunctionType from ArrayType VariableDeclaration
added test
10 years ago
chriseth
b5e81a46ca
Retain more gas for the case that the called contract is not yet created.
10 years ago
Gav Wood
7984c35cbf
Disable SHA256/RIPEMD tests for now.
10 years ago
Gav Wood
9fb30b141e
Allow Solidity build to be disabled.
10 years ago
Lefteris Karapetsas
67ef8d1aea
Reorganizing conversion EndToEndTests
- Adding/Renaming tests so that we have one for each of the following:
* FixedBytes to Uint all sizes
* FixedBytes to FixedBytes all sizes
* Uint to FixedBytes all sizes
- Grouped them together location-wise to make more sense
10 years ago
Lefteris Karapetsas
7eb9aa3466
Explicit conversion between bytes and int of any size
- Allowing aforementioned conversion and adding tests for it
10 years ago
chriseth
523ce4d178
Disallowed special case of bytes0 arrays.
10 years ago
chriseth
85505d45c0
Packing for arrays.
10 years ago
Liana Husikyan
3e0f3fd514
added test to check anonymous events with user specified topics
added initial value for m_anonymous of EventDefinition
10 years ago
Liana Husikyan
7fe63e36e9
changed the position of 'anonymous' keyword: event <name>() anonymous.
- style changes
10 years ago
Liana Husikyan
0b14d26f6b
Added anonymous flag to event.
added test
10 years ago
Liana Husikyan
b0d00eef98
added test for anonymous event
10 years ago
arkpar
d0dfac71ba
supported building with clang and GNU gold linker on linux
10 years ago
chriseth
925acfad80
Fetch and store packed values.
10 years ago
chriseth
fed44efdce
Enlarge storage references to two stack slots.
10 years ago
Lefteris Karapetsas
382a587886
Additional test for msg.sig
10 years ago
Lefteris Karapetsas
22b47689d5
Adding msg.sig Solidity Magic type
msg.sig will return a bytes4 with the function signature located in CALLDATALOAD
10 years ago
Liana Husikyan
7359f68b9f
- 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
10 years ago
Liana Husikyan
304256b546
- 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
10 years ago
Liana Husikyan
6f11b6a73f
added parsing for constant variables
10 years ago
chriseth
4d67fe39ac
Fix gas for builtin.
Fixes #1300
10 years ago
Lefteris Karapetsas
5c042e2e59
Small FixedBytes type fixes
- Integer Constant is explicitly convertible to FixedBytes, so using
that in the tests
10 years ago
Lefteris Karapetsas
98f0d04a94
Style fixes and some additional hash to bytes32 renaming
10 years ago
Lefteris Karapetsas
1c3ed8dd97
Removing uncecessary intermediate int conversion in log tests
10 years ago
Lefteris Karapetsas
9fa08d179b
Fixing byte array index access code generation
10 years ago
Lefteris Karapetsas
d9d792a055
Conversion changes after renaming Hash/String to Bytes.
- Almost all end to end tests pass. Still needs a little bit of work
10 years ago
Lefteris Karapetsas
bb205103c4
Most EndToEndTests are now compliant with the Bytes renaming
10 years ago
chriseth
4f852f473e
Global variable "now" (alias for block.timestamp).
10 years ago
chriseth
5c7b7445ad
Typo
10 years ago
chriseth
8103fcbf98
Fix for arrays containing mappings.
10 years ago
chriseth
9ae0d30dbc
Copying between calldata and storage.
10 years ago
Christian
a3b95811d4
Index access for calldata arrays.
10 years ago
Christian
6d4b77249e
Fixed arrays in ABI.
10 years ago
Christian
b883eea327
Fix test after change in call failure semantics.
10 years ago
Liana Husikyan
df4746d5e7
Implemented passing arguments to the base constructor.
10 years ago
Christian
96a50b3a23
Array copy storage to storage.
10 years ago
Christian
43892601e3
Shortening of dynamic arrays.
10 years ago
arkpar
1b284c5b8b
fixed test buid
10 years ago
Christian
32f0c4f8e6
Out-of-bounds checking.
10 years ago
Christian
de537d5de3
Index and length access for dynamic arrays.
10 years ago
Christian
d1d9b2856a
Implementation of index access.
10 years ago
Christian
d417618dce
Stack height checks and fix.
10 years ago
Liana Husikyan
87e956729c
Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
10 years ago
Gav Wood
2c6b18f01b
Add EVMJIT.
10 years ago
Christian
c1572ea90b
Fixes for assigning and deleting structs containing byte arrays.
10 years ago