Paweł Bylica
|
83dae57ceb
|
examples: Refactor host example
|
2019-03-15 02:32:32 +01:00 |
Paweł Bylica
|
3ef9c1de50
|
examples: Always build example_vm as shared library
|
2019-03-14 18:32:27 +01:00 |
Paweł Bylica
|
1f1a095208
|
examples: Fix and extend example VM with NUMBER example code
|
2019-03-12 17:59:06 +01:00 |
Paweł Bylica
|
0a0bb0b92e
|
go: Add unit test for Execute()
|
2019-03-12 17:59:06 +01:00 |
Paweł Bylica
|
709965077f
|
examples: Fix example_vm
- Make it compatible with C++
- Properly return project version
|
2019-01-22 14:15:26 +01:00 |
Paweł Bylica
|
d4fc289c80
|
Rename EVMC_LATEST_REVISION to EVMC_MAX_REVISION
|
2019-01-21 12:09:20 +01:00 |
Paweł Bylica
|
e461b45f1c
|
Simplify get_block_hash() method by returning null hash
|
2018-10-19 17:42:19 +02:00 |
Paweł Bylica
|
182006bcb7
|
Fix typo: capabilites -> capabilities
|
2018-10-18 15:42:01 +02:00 |
Paweł Bylica
|
ebccd234b0
|
docs: Document example_vm.c
|
2018-10-18 15:38:10 +02:00 |
Paweł Bylica
|
997d797816
|
examples: Document example_vm.c file
|
2018-10-18 14:06:51 +02:00 |
Paweł Bylica
|
9bfb7c8ada
|
Return code hash from get_code_hash() directly
|
2018-09-12 23:08:06 +02:00 |
Paweł Bylica
|
b0d0bc035b
|
Return size_t from get_code_size() directly
|
2018-09-12 23:08:06 +02:00 |
Paweł Bylica
|
67441020a4
|
Return uint256be from get_balance() directly
|
2018-09-12 23:06:14 +02:00 |
Paweł Bylica
|
941c0a9723
|
Drop EVMC_STORAGE_NON_EXISTING_ACCOUNT status
|
2018-09-09 10:16:10 +02:00 |
Paweł Bylica
|
21e6605f98
|
Return bytes32 from get_storage() directly
|
2018-09-09 10:16:10 +02:00 |
Paweł Bylica
|
5c8e64915a
|
Improve C++ helpers
|
2018-09-08 22:43:04 +02:00 |
Alex Beregszaszi
|
3dfa18a393
|
Move C++ helpers into evmc/helpers.hpp
|
2018-09-08 22:39:17 +02:00 |
Paweł Bylica
|
dc495408be
|
Improve EVMC capabilities
|
2018-09-08 22:16:14 +02:00 |
Paweł Bylica
|
1ab90eb80a
|
examples: Use evmc_bytes32 in the Host example
|
2018-09-07 00:14:21 +02:00 |
Paweł Bylica
|
60cfde98af
|
Add alias evmc_address for struct evmc_address
|
2018-09-07 00:01:08 +02:00 |
Paweł Bylica
|
00e8b89712
|
Add alias evmc_bytes32 for struct evmc_bytes32
|
2018-09-07 00:00:32 +02:00 |
Paweł Bylica
|
e772fbf28b
|
Rename uint256be to bytes32
|
2018-09-06 23:57:32 +02:00 |
Paweł Bylica
|
a48893437f
|
Return bool from get_storage() to indicate non-existing accounts
|
2018-09-06 23:12:00 +02:00 |
Paweł Bylica
|
d128fe45d7
|
Introduce EVMC_STORAGE_NON_EXISTING_ACCOUNT for set_storage() Host method
|
2018-09-06 23:12:00 +02:00 |
Paweł Bylica
|
f41fccd21e
|
Add test for EVMC_SET_OPTION_INVALID_VALUE
|
2018-09-06 17:57:49 +02:00 |
Paweł Bylica
|
8ea48035ea
|
examples: Make some example Host methods a bit more interesting
|
2018-09-06 14:21:51 +02:00 |
Paweł Bylica
|
b8b3719fb9
|
Return bool from evmc_get_code_size_fn()
|
2018-09-06 14:21:51 +02:00 |
Paweł Bylica
|
d6ef551541
|
Return bool from evmc_get_code_hash_fn()
|
2018-09-06 14:21:51 +02:00 |
Paweł Bylica
|
ca85b77f57
|
Return bool from evmc_get_balance_fn()
|
2018-09-06 14:21:51 +02:00 |
Alex Beregszaszi
|
50c254fb98
|
Introduce evmc_set_option_result enum
|
2018-09-06 09:54:09 +01:00 |
Paweł Bylica
|
280ff99363
|
Use bool type instead of int with 1 and 0
|
2018-09-06 00:28:27 +02:00 |
Paweł Bylica
|
9a2d07e595
|
Remove code hash from evmc_message
|
2018-09-03 19:58:57 +02:00 |
Paweł Bylica
|
ced1c2676f
|
examples: Better get_block_hash example
|
2018-09-03 17:24:15 +02:00 |
Alex Beregszaszi
|
d9f7ff25f5
|
Add return code to get_block_hash_fn
|
2018-09-03 16:45:08 +02:00 |
Paweł Bylica
|
e2cff68587
|
Rename context_fn_table to host_interface
|
2018-08-31 13:39:41 +02:00 |
Paweł Bylica
|
759e67a1c6
|
Rename examplevm to example-vm
|
2018-08-31 13:10:07 +02:00 |
Paweł Bylica
|
0bb3a67284
|
CMake: Flatten examplevm
|
2018-08-31 13:10:07 +02:00 |
Paweł Bylica
|
f858f79e2a
|
CMake: Flatten example_host
|
2018-08-31 13:10:06 +02:00 |
Paweł Bylica
|
98213f93ec
|
Add back main example that uses example Host and VM
|
2018-08-31 13:09:05 +02:00 |
Paweł Bylica
|
78888b57a9
|
Create header for example_host
|
2018-08-31 13:09:04 +02:00 |
Paweł Bylica
|
43dce45a5b
|
Create context in example host
|
2018-08-31 13:09:04 +02:00 |
Paweł Bylica
|
5aefc4faf3
|
Replace capi.c example with example_host.cpp
|
2018-08-31 13:09:04 +02:00 |
Alex Beregszaszi
|
0403343779
|
Return evmc_tx_context in get_tx_context (as opposed to pointer parameter)
|
2018-08-30 14:03:50 +01:00 |
Paweł Bylica
|
3c86a6b934
|
Return result from call_fn
This changes the evmc_call_fn signature to return evmc_result object instead of getting result as an output parameter.
|
2018-08-29 23:00:27 +02:00 |
Paweł Bylica
|
a777a13f87
|
Include project version in examplevm
|
2018-08-28 20:34:48 +01:00 |
Alex Beregszaszi
|
8726fc9a33
|
Use nicer example EVM bytecode in examples/capi.c
|
2018-08-28 20:34:38 +01:00 |
Alex Beregszaszi
|
3403282827
|
Do not keep sample EVM code as hex string, but as proper binary in examples/examplevm
|
2018-08-28 20:34:38 +01:00 |
Paweł Bylica
|
43fc619a7e
|
Update license note in headers of source files
|
2018-08-22 13:57:25 +02:00 |
Paweł Bylica
|
0659e24db0
|
Update copyright notice
|
2018-08-21 09:44:18 +02:00 |
Paweł Bylica
|
36b7976121
|
Merge pull request #68 from ethereum/abi-version-helper
Add evmc_is_abi_compatible helper
|
2018-08-20 16:23:29 +02:00 |