40 Commits

Author SHA1 Message Date
Paweł Bylica
c5ae54f6ee Rename some vars: mode -> rev 2017-08-20 16:18:27 +02:00
Paweł Bylica
25bc753f0e EVM-C: Rename evm_mode to evm_revision 2017-08-18 18:32:26 +02:00
Paweł Bylica
581ba3ef2e EVM-C: Improve execution context opaque struct 2017-08-18 18:29:22 +02:00
Yoichi Hirai
56ccdf9d2f Split Metropolis into Byzantium and Constantinople 2017-08-02 17:51:49 +02:00
Paweł Bylica
d6224857c4 EVM-C: Collect callbacks in evm_host struct 2017-08-01 15:59:40 +02:00
Paweł Bylica
1bbdc0c0c9 EVM-C: Split get_storage from query callback 2017-06-09 16:16:17 +02:00
Paweł Bylica
34113af8b3 EVM-C: Fix constness, extend examples 2017-06-08 14:48:09 +02:00
Paweł Bylica
06b25bf87d EVM-C: Simplify set_storage callback 2017-06-08 12:00:04 +02:00
Paweł Bylica
cde8027511 EVM-C: Separate selfdestruct function from state_update one 2017-06-08 11:38:08 +02:00
Paweł Bylica
f7e53a12d0 EVM-C: Separate log function from state_update one 2017-06-08 11:07:03 +02:00
Paweł Bylica
497f92bcb8 EVM-C: Replace evm_result payload with 24 bytes union 2017-05-30 12:47:21 +02:00
Paweł Bylica
cb90d9f35c EVM-C: change call callback to operate on evm_result type 2017-05-22 16:07:29 +02:00
Paweł Bylica
3ddd4fdc18 Add payload to evm_result (stupid name) 2017-05-11 15:28:57 +02:00
Paweł Bylica
a77c7a8f9c EVM-C: Update docs 2017-05-08 14:55:04 +02:00
Paweł Bylica
5fd3350b42 EVM-C: Add storage update example 2017-05-04 17:31:30 +01:00
Paweł Bylica
6d6b2c1928 EVM-C: Include code hash in the message 2017-05-04 17:31:30 +01:00
Paweł Bylica
cc35c5d169 EVM-C: Improve update state callback function 2017-05-04 17:31:30 +01:00
Paweł Bylica
104a4a12c3 EVM-C: Improve query state callback function 2017-05-04 17:31:30 +01:00
Paweł Bylica
58ad722339 EVM-C: Move blockhash query to own function 2017-05-04 17:31:30 +01:00
Paweł Bylica
25a5fe0ceb EVM-C: Fix C examples 2017-05-04 17:31:30 +01:00
Paweł Bylica
a5625ee80a EVM-C: Introduce evm_message 2017-05-04 17:31:30 +01:00
Paweł Bylica
6b94734d1a EVM-C: Clarify docs about result context and releasing 2017-04-25 19:05:49 +02:00
Paweł Bylica
5bab6b8d7e EVM-C: Fix some issues in the example 2017-04-25 17:01:46 +02:00
Paweł Bylica
beac0977f8 EVM-C: Add examples of evm_result usages 2017-04-24 17:32:28 +02:00
Paweł Bylica
3d2e365661 EVM-C: introduce factory -- simpler interface
Replace evm_interface with evm_factory. The factory provides ABI protection and the function for creating EVM instances. After the instance is create you can discard the factory as it is no longer needed.
2017-01-19 14:32:22 +01:00
Paweł Bylica
d1d3ed03ae Fix example 2016-09-28 16:50:13 +02:00
Paweł Bylica
8b9867c971 EVM-C: Attach result_release function to the result itself 2016-09-27 17:14:19 +02:00
Paweł Bylica
2a99b13573 EVM-C: Replace evm_{uint|hash}256 with single evm_uint256be
All values transfered to/from a VM must be passed as big-endian integers.
2016-08-31 11:40:02 +02:00
Paweł Bylica
aa1fa5ee32 EVM-C: Add ABI versioning support 2016-08-25 22:02:36 +02:00
Paweł Bylica
93f16f9380 EVM-C: Drop evm_get_info() 2016-08-25 15:01:49 +02:00
Paweł Bylica
2e6b278a59 EVM-C: Rename evm_result_error_code -> evm_result_code 2016-08-25 13:50:11 +02:00
Paweł Bylica
ff8847670d EVM-C: Update examples 2016-08-25 12:20:39 +02:00
Alex Beregszaszi
baeade4d10 EVM-C: rename EVM_RESULT_* to EVM_* 2016-08-24 12:30:52 +01:00
Alex Beregszaszi
abc914afd2 EVM-C: include evm_result_outcome in evm_result 2016-08-24 10:47:17 +01:00
Paweł Bylica
530b6684b2 EVM-C: Rename evm_fn_table -> evm_interface 2016-08-23 21:51:42 +02:00
Paweł Bylica
85cdeea4e6 EVM-C: Bring back set_option to ExampleVM 2016-08-23 21:24:22 +02:00
Paweł Bylica
e0ff4b350e EVM-C: Build examples without #pragma warning suppressions 2016-08-23 21:10:11 +02:00
Paweł Bylica
efb73335c2 Update EVM-C examples 2016-08-23 13:07:33 +02:00
Paweł Bylica
77326672fd EVM-C: Use int istead of bool type 2016-08-23 11:55:06 +02:00
Alex Beregszaszi
fc47787b79 EVM-C: include ExampleVM 2016-08-22 21:37:25 +01:00