Commit Graph

1185 Commits

Author SHA1 Message Date
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
Paweł Bylica c836afb905
Merge pull request #441 from ethereum/changelog
Update CHANGELOG
2019-11-04 20:41:37 +01:00
Paweł Bylica 2dbd525e3f
Update CHANGELOG 2019-11-04 20:29:14 +01:00
Paweł Bylica 134567b576
Merge pull request #440 from ethereum/loader
loader: Simplify logic for finding create function
2019-11-04 20:28:05 +01:00
Paweł Bylica 7b38c1da2d
cmake: Drop evmc- prefix from example VM targets 2019-11-04 17:48:58 +01:00
Paweł Bylica 42e73b0de3
loader: Simplify logic for finding create function
The loader library no longer tries EVMC create function names with removed prefixes.
2019-11-04 16:34:31 +01:00
Paweł Bylica 8234e723f0
loader: Simplify logic for finding create function
The loader library no longer tries EVMC create function names with removed prefixes.
2019-11-04 16:22:55 +01:00
Paweł Bylica 67908adbf7
Merge pull request #439 from ethereum/loader
loader: Trim all file extensions for create function name
2019-11-04 15:33:44 +01:00
Paweł Bylica 6b0a37029d
loader: Trim all file extensions for create function name 2019-11-04 14:33:00 +01:00
Paweł Bylica 214e58a572
Merge pull request #438 from ethereum/readme_test_tools
readme: List testing tools
2019-11-04 12:25:34 +01:00
Paweł Bylica 2d825e4add
readme: List testing tools 2019-11-01 18:24:58 +01:00
Alex Beregszaszi 26dbc05995
Merge pull request #437 from ethereum/rust-size-test
Add struct size/alignment tests to Rust
2019-10-30 20:36:12 +00:00
Alex Beregszaszi f721642851 Add struct size/alignment tests to Rust 2019-10-30 18:36:58 +00:00
Paweł Bylica 8eac50424e
Merge pull request #390 from ethereum/example-host-lib
examples: implement support for passing accounts and copy_code
2019-10-30 19:21:11 +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 4ee8ff83e5
Merge pull request #435 from ethereum/instruction_metrics
Change values in instruction metrics
2019-09-30 12:00:13 +02:00
Paweł Bylica 2c3eb42f56
instructions: Change .stack_height_change values 2019-09-28 11:17:36 +02:00
Paweł Bylica 8dd186737a
instructions: Rename .num_stack_returned_items -> .stack_height_change
The values in the table are going to be changed in the following commit.
2019-09-28 11:17:36 +02:00
Paweł Bylica a9cc2483b4
instructions: Rename .num_stack_arguments -> .stack_height_required 2019-09-28 11:17:35 +02:00
Paweł Bylica b0a3da0cf7
Merge pull request #433 from ethereum/appveyor
ci: Add VS 2019 build on AppVeyor
2019-09-28 11:06:19 +02:00
Paweł Bylica 6b2461f39b
ci: Add VS 2019 build on AppVeyor 2019-09-26 16:28:49 +02:00