Liana Husikyan
32458c0808
fixed CALL case. added exception
10 years ago
Liana Husikyan
7512689bec
style fixes
10 years ago
Liana Husikyan
0d55798adf
removed exception when function is not found
10 years ago
Liana Husikyan
a723fb7e81
special handle of send
10 years ago
Liana Husikyan
77e1d116ca
one more test to test the call of non-existed function
Conflicts:
test/libsolidity/SolidityEndToEndTest.cpp
10 years ago
Liana Husikyan
d89589febc
style fixes
10 years ago
Liana Husikyan
fb564b222d
fixed mistake because of conflict resolving
10 years ago
Liana Husikyan
10fe1b4cfe
added error jump instead of STOP instraction in case of exception
10 years ago
chriseth
b6f9d51cd6
Re-introduce string type.
10 years ago
Gav Wood
05ea9941c9
Move non-cryptopp dependent stuff into devcore.
10 years ago
chriseth
4c69ecf16b
Bare callcode for addresses and contracts.
10 years ago
Liana Husikyan
bd693e4ca8
saved returnParameterNames in FunctionType constructor
10 years ago
Liana Husikyan
e612ddeafe
changed the test so constructor will have input parameters
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
7386869de6
Fixed byte alignment for return type of ripemd160 built-in contract.
10 years ago
chriseth
0b36ca86d7
Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
10 years ago
Liana Husikyan
2cf5fdcadf
fixes
added more tests
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
chriseth
ae6bae4a6c
Refactor: Pull out array index access.
10 years ago
Liana Husikyan
dd15c53ae4
added externalTypes function to functionType
removed flag for externalSigniture
10 years ago
Liana Husikyan
f3e8d2b7e9
tests for external types
10 years ago
Liana Husikyan
ba8d0f615c
renamed externalTypes to externalSignature
10 years ago
Liana Husikyan
0ca313ec85
renamed getCanonicalSignature
added externalTypes instead of types for interface functions
added simple test
todo
testing
10 years ago
chriseth
d2077b8962
Byte size checked for zero; coding style.
10 years ago
chriseth
85505d45c0
Packing for arrays.
10 years ago
Liana Husikyan
7cb944c903
added anonymous to ABI
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
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
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
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
Lefteris Karapetsas
72f2397ebe
Replacing StaticStringType with FixedBytesType
10 years ago
Lefteris Karapetsas
4340d4867a
More changes towards getting rid of HashXX
10 years ago
Liana Husikyan
4323a0c655
added information about jump type for jump instructions
Conflicts:
libevmcore/Assembly.cpp
libsolidity/Compiler.cpp
10 years ago
chriseth
4f852f473e
Global variable "now" (alias for block.timestamp).
10 years ago
chriseth
cec5b3b60e
Fixed: Some instructions did not have source locations.
10 years ago
Lu Guanqun
aa68913dd2
make it work for var x = f;
10 years ago
Lu Guanqun
17f79a5c6e
implement overload resolution
10 years ago
chriseth
65ad62ff55
Fixed gas calculation for CALL.
10 years ago