Commit Graph

1210 Commits

Author SHA1 Message Date
Paweł Bylica e04a90e186
Merge pull request #456 from ethereum/mocked_host
Add mocked_host library
2019-11-21 17:39:13 +01:00
Paweł Bylica 87fc46011d
Update CHANGELOG 2019-11-21 17:28:10 +01:00
Paweł Bylica 52e09fc523
mocked_host: Apply suggestions from code review 2019-11-21 17:19:37 +01:00
Paweł Bylica b4ae4233f8
test: Use MockedHost instead of example Host 2019-11-21 17:19:37 +01:00
Paweł Bylica 6de0cfe164
Add mocked_host library
It takes the MockedHost implementation from evmone, converts it to C++11 and creates an interface library out of it.
2019-11-21 17:19:37 +01:00
Paweł Bylica ca2933cbed
Merge pull request #423 from ethereum/clang-tidy
Clang tidy config
2019-11-21 16:19:51 +01:00
Paweł Bylica 774a21f46c
Fix some clang-tidy warning 2019-11-21 11:23:34 +01:00
Paweł Bylica 5d0403e458
Add clang-tidy config 2019-11-21 11:23:34 +01:00
Paweł Bylica bcf32cb6a5
Merge pull request #457 from ethereum/loader
loader: Handle unexpected error code from set_option()
2019-11-19 21:29:47 +01:00
Paweł Bylica b76e6d1a02
loader: Handle unexpected error code from set_option() 2019-11-19 21:21:32 +01:00
Alex Beregszaszi 0d5929b2a3
Merge pull request #454 from jrhea/fix-comment
Fix comment on evmc_get_code_hash_fn
2019-11-19 18:38:42 +01:00
jonny rhea 4a3c142cf2
fix comment on evmc_get_code_hash_fn 2019-11-19 11:19:40 +01:00
Paweł Bylica 015e4b8f5d
EVMC 7.1.0-alpha.0
Bump version: 7.0.0 → 7.1.0-alpha.0
2019-11-18 16:36:41 +01:00
Paweł Bylica e770f78819
EVMC 7.0.0
Bump version: 7.0.0-alpha.0 → 7.0.0
2019-11-11 14:46:58 +01:00
Paweł Bylica e12a623f99
Update CHANGELOG format 2019-11-11 14:15:10 +01:00
Paweł Bylica 2915607c7c
Merge pull request #452 from ethereum/update-hunter
Update Hunter to v0.23.214
2019-11-11 14:02:10 +01:00
Alex Beregszaszi d9abb6d7db
Update Hunter to v0.23.214 2019-11-11 13:38:53 +01:00
Paweł Bylica af16e9d7ef
Merge pull request #451 from ethereum/cpp
cpp: Require the host interface for HostContext be passed by reference
2019-11-11 13:38:14 +01:00
Paweł Bylica 0758daa789
Mention recent C++ API tweaks in CHANGELOG 2019-11-10 10:26:22 +01:00
Paweł Bylica 0522110797
cpp: Require the host interface for HostContext be passed by reference 2019-11-10 10:19:14 +01:00
Paweł Bylica 1bb7ccd7a4
Merge pull request #449 from ethereum/cpp
C++ API tweaks (part 2)
2019-11-08 12:00:32 +01:00
Paweł Bylica a647969186
test: Add basic unit tests for previously unused API 2019-11-07 16:21:39 +01:00
Paweł Bylica 8fb210542b
cpp: Reverse order of VM and Host definitions 2019-11-07 16:21:39 +01:00
Paweł Bylica 85d22f08c1
Merge pull request #445 from ethereum/cpp
Tweaks to C++ API
2019-11-06 20:09:50 +01:00
Paweł Bylica d6e2c99515
cpp: Add VM::execute() overload with Host as parameter 2019-11-06 19:42:53 +01:00
Paweł Bylica 79aad8ae08
cpp: Return reference (not pointer) from Host::get_interface() 2019-11-06 19:42:53 +01:00
Paweł Bylica 95737d2721
cpp: Add default constructor for HostContext 2019-11-06 19:42:52 +01:00
Alex Beregszaszi 5d9e6ba90b
Merge pull request #446 from ethereum/readme
Update README with new implementers of EVMC
2019-11-06 18:42:17 +00:00
Alex Beregszaszi 08bcf43b54 Update README with new implementers of EVMC 2019-11-06 13:44:07 +00:00
Paweł Bylica 0c2a99fb4c
Merge pull request #302 from ethereum/cpp_execute_without_context
C++: Add execute() overloading without evmc_context parameter
2019-11-05 21:40:39 +01:00
Paweł Bylica b8dde4a142
cpp: Add execute() overloading without evmc_context parameter 2019-11-05 16:57:56 +01:00
Alex Beregszaszi dee9b57328
Merge pull request #350 from ethereum/rust-vm-fields
rust: make ExecutionContext optional in EvmcVm.execute()
2019-11-05 15:31:29 +00:00
Alex Beregszaszi d4e2ef190f rust: add precompiles capability to example-rust-vm 2019-11-05 14:49:42 +00:00
Alex Beregszaszi d61c0a7f65 rust: make ExecutionContext optional in EvmcVm.execute() 2019-11-05 14:48:59 +00:00
Paweł Bylica f284e4292b
Merge pull request #443 from ethereum/example_fixes
Fixes for examples and unit tests
2019-11-05 15:46:59 +01:00
Paweł Bylica a94829acc1
cmake: Add static variant of Precompiles VM example for unittests 2019-11-05 14:59:43 +01:00
Paweł Bylica 310dc8e438
test: Add C++ API test executing Precompiles VM 2019-11-05 14:59:42 +01:00
Paweł Bylica 3f6ea7ac7d
examples: Fix condition in example Precompiles VM 2019-11-05 14:56:08 +01:00
Paweł Bylica 206eb71c9e
examples: Add header for example Precompiles VM 2019-11-05 14:56:07 +01:00
Paweł Bylica ef52f2954a
cmake: Add example_vm.h file to CMake targets 2019-11-05 14:56:07 +01:00
Paweł Bylica 7074ce9a63
test: Fix vmtester/precompile_test test 2019-11-05 14:55:44 +01:00
Paweł Bylica a15e493a26
Merge pull request #427 from ethereum/host_interface
Move evmc_host_interface out of evmc_host_context
2019-11-05 12:53:05 +01:00
Paweł Bylica 4645d97ef6
Update CHANGELOG 2019-11-05 12:03:55 +01:00
Alex Beregszaszi 077bcb3e29
Update Rust bindings to consider host_context as an opaque pointer 2019-11-05 11:54:55 +01:00
Alex Beregszaszi 8c00cdacb4
Update Rust bindings 2019-11-05 11:54:55 +01:00
Paweł Bylica e0ab5b1d53
Update Go bindings 2019-11-05 11:54:55 +01:00
Paweł Bylica cbd068a979
cpp: Reuse from_context() to implement evmc_host_interface 2019-11-05 11:54:54 +01:00
Paweł Bylica e3b84b8b48
Move evmc_host_interface out of evmc_host_context 2019-11-05 11:54:54 +01:00
Paweł Bylica bd65396c7e
Merge pull request #442 from ethereum/helpers_tweak
helpers: Return bool from is_abi_compatible()
2019-11-05 09:44:50 +01:00
Paweł Bylica 03dfc17226
helpers: Return bool from is_abi_compatible() 2019-11-04 23:02:37 +01:00