Liana Husikyan
ce64ea610c
added one more test
10 years ago
Liana Husikyan
71c2c7da45
fixed the test
10 years ago
chriseth
1e6ff441fe
Fix for broken continue in for loop.
Fixes #1789 .
10 years ago
chriseth
7a5d5b3af3
Fix for deleting byte array elements.
Fixes #1759 .
10 years ago
chriseth
0a95634543
Fix regarding memory overwrite during sha3 computation.
10 years ago
chriseth
e480c7012c
bytes parameters for events and sha3.
10 years ago
chriseth
3146a7aeb7
Fix for Contract and Enum types as external function arguments.
10 years ago
chriseth
7386869de6
Fixed byte alignment for return type of ripemd160 built-in contract.
10 years ago
chriseth
69db1c7181
Removed (and added) some #ifs (but removed more than I added).
10 years ago
CJentzsch
338e5bd088
Restructure test folders
10 years ago
chriseth
b8d5936fbd
Tests for signed integers in storage.
10 years ago
chriseth
0b36ca86d7
Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
10 years ago
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
Lu Guanqun
eeaf97ae7f
add another var x = f; overloaded function test case
10 years ago
Lu Guanqun
29ec4453b5
add two overloaded function test cases
10 years ago
Lu Guanqun
774d677aac
add test cases for functions in derived overload functions in base
10 years ago
Lu Guanqun
522f428849
add end to end test cases related to overloaded functions
10 years ago
chriseth
5c7b7445ad
Typo
10 years ago