Paweł Bylica
|
d8ab2489dd
|
cpp: Add const to HostInterface
|
2019-11-27 16:23:30 +01:00 |
|
Paweł Bylica
|
168c77457f
|
examples: Rewrite get_storage() not to create empty entries
|
2019-11-27 16:05:50 +01:00 |
|
Paweł Bylica
|
79aad8ae08
|
cpp: Return reference (not pointer) from Host::get_interface()
|
2019-11-06 19:42:53 +01:00 |
|
Paweł Bylica
|
e3b84b8b48
|
Move evmc_host_interface out of evmc_host_context
|
2019-11-05 11:54:54 +01:00 |
|
Paweł Bylica
|
db2e830da4
|
examples: Fix and update ExampleHost::copy_code()
|
2019-10-30 19:03:57 +01:00 |
|
Alex Beregszaszi
|
9376fa9716
|
examples: add constructor with passing accounts to ExampleHost
|
2019-10-30 19:00:11 +01:00 |
|
Alex Beregszaszi
|
d64de97ebd
|
examples: add evmc::accounts alias
|
2019-10-30 19:00:10 +01:00 |
|
Alex Beregszaszi
|
fb67e57986
|
examples: move account into evmc namespace
|
2019-10-30 19:00:10 +01:00 |
|
Alex Beregszaszi
|
2536d50cff
|
examples: add support code account::code_hash and also derive code_size from code
|
2019-10-30 19:00:10 +01:00 |
|
Alex Beregszaszi
|
e3dc816263
|
examples: add support for code_copy
|
2019-10-30 19:00:09 +01:00 |
|
Paweł Bylica
|
5ba077a384
|
Rename evmc_context to evmc_host_context
|
2019-09-20 12:49:58 +02:00 |
|
Paweł Bylica
|
aaba11390b
|
cpp: Use evmc::uint256be instead of evmc_uint256be in get_balance()
|
2019-08-14 18:32:09 +02:00 |
|
Alex Beregszaszi
|
dd065265d9
|
examples: add evmc_tx_context to ExampleHost
|
2019-08-08 18:11:28 +02:00 |
|
Paweł Bylica
|
2caa00bae8
|
cpp: Use new address and bytes32 wrappers in HostInterface
|
2019-08-07 09:55:39 +02:00 |
|
Paweł Bylica
|
e4ae2162c5
|
cpp: Add evmc::result constructor to copy output
|
2019-08-06 09:52:42 +02:00 |
|
Paweł Bylica
|
4ac70471ec
|
cpp: Rename literal suffixes: _addr -> _address, _b32 -> _bytes32
|
2019-07-24 13:17:28 +02:00 |
|
Paweł Bylica
|
8e5056aef0
|
examples: Update example host with usage of evmc::literals
|
2019-07-24 13:17:27 +02:00 |
|
Paweł Bylica
|
2e221a7303
|
examples: Update example host
|
2019-07-23 14:07:44 +02:00 |
|
Paweł Bylica
|
489d832a5c
|
cpp: Extend Host::call() unit test to show double free bug
|
2019-04-29 15:47:55 +02:00 |
|
Paweł Bylica
|
39162766df
|
Update copyright year, include the years of files creation
|
2019-04-24 18:36:28 +02:00 |
|
Paweł Bylica
|
0c1e13b485
|
examples: Rewrite Host example to use Host abstract class
|
2019-04-02 11:28:22 +02:00 |
|
Paweł Bylica
|
83dae57ceb
|
examples: Refactor host example
|
2019-03-15 02:32:32 +01:00 |
|
Paweł Bylica
|
e461b45f1c
|
Simplify get_block_hash() method by returning null hash
|
2018-10-19 17:42:19 +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
|
1ab90eb80a
|
examples: Use evmc_bytes32 in the Host example
|
2018-09-07 00:14:21 +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
|
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 |
|
Paweł Bylica
|
280ff99363
|
Use bool type instead of int with 1 and 0
|
2018-09-06 00:28:27 +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
|
f858f79e2a
|
CMake: Flatten example_host
|
2018-08-31 13:10:06 +02:00 |
|