Commit Graph

1239 Commits

Author SHA1 Message Date
Alex Beregszaszi c1959de7d1
Merge pull request #459 from ethereum/mocked-host-nonce
mocked_host: add nonce to account
2019-11-28 15:27:26 +01:00
Paweł Bylica d4e61aa84a
test: Add a unit test for MockedAccount 2019-11-28 15:21:00 +01:00
Alex Beregszaszi dbe1c3e73b mocked_host: add nonce to account 2019-11-28 14:25:50 +01:00
Paweł Bylica 4c39dee36d
Merge pull request #464 from ethereum/tools_dir
CMake: Move vmtester to tools/ dir
2019-11-28 00:02:02 +01:00
Paweł Bylica d45c0335b2
cmake: Do not link example-host to evmc-unittests 2019-11-27 23:46:46 +01:00
Paweł Bylica 1f982daab2
cmake: Flatten test directory tree
Move compilation and cmake_package tests out of integration dir.
2019-11-27 23:46:45 +01:00
Paweł Bylica c2f77c9da2
cmake: Move vmtester from test/ to tools/ 2019-11-27 23:46:45 +01:00
Paweł Bylica 36d9f14307
Merge pull request #463 from ethereum/vmtester
Refactoring and CMake changes around vmtester
2019-11-27 23:46:21 +01:00
Paweł Bylica 9b200a5bff
cmake: Make EVMC_EXAMPLES a dependant option of EVMC_TESTING
When EVMC_TESTING is ON, the EVMC_EXAMPLES is forced to be ON as well (user can control the value).
2019-11-27 23:40:37 +01:00
Paweł Bylica 7f4d145090
vmtester: Use MockedHost instead of ExampleHost 2019-11-27 23:40:37 +01:00
Paweł Bylica d43d827d88
cmake: Make EVMC_TOOLS a dependant option of EVMC_TESTING
When EVMC_TESTING is ON, the EVMC_TOOLS is forced to be ON as well (user can control the value).
2019-11-27 23:40:37 +01:00
Paweł Bylica 23b634f300
cmake: Change description of EVMC_TESTING 2019-11-27 23:40:36 +01:00
Paweł Bylica 899996edd3
cmake: Rename EVMC_TEST_TOOLS to EVMC_TOOLS 2019-11-27 23:40:36 +01:00
Paweł Bylica 13aabfdd71
vmtester: Small refactoring 2019-11-27 23:40:35 +01:00
Alex Beregszaszi f2aa41df66
Merge pull request #206 from ethereum/rust-enum-aliases
rust: add enum aliases
2019-11-27 23:18:34 +01:00
Alex Beregszaszi 6ffb0f99b8 readme: require Rust 1.37.0, because enum aliases need it 2019-11-27 23:15:46 +01:00
Alex Beregszaszi a88ae70cee rust: add type aliases for more enums 2019-11-27 23:10:50 +01:00
Alex Beregszaszi 17cc8271bf
Merge pull request #462 from ethereum/rust-deps
rust: update dependencies
2019-11-27 23:01:10 +01:00
Alex Beregszaszi 2b5cd5ab59 changelog: mention update of Rust dependencies 2019-11-27 22:58:03 +01:00
Alex Beregszaszi 3133719a47 rust: update evmc-declare's proc-macro/syn/quote dependencies to 1.0 2019-11-27 22:57:09 +01:00
Alex Beregszaszi bb18fca1ca rust: simplify cargo configuration for evmc-declare 2019-11-27 22:57:09 +01:00
Alex Beregszaszi 3db5b57cb8 rust: update bindgen to 0.52 2019-11-27 22:57:09 +01:00
Paweł Bylica 23ad3c5817
Merge pull request #465 from ethereum/cpp_has_capabilities
cpp: Add VM::has_capability() method
2019-11-27 19:43:01 +01:00
Paweł Bylica 236aa76c8d
cpp: Add VM::has_capability() method 2019-11-27 19:02:05 +01:00
Paweł Bylica 95c01b648b
Merge pull request #461 from ethereum/cpp_host_interface_const
cpp: Add const to HostInterface
2019-11-27 17:53:46 +01:00
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
Alex Beregszaszi ca74d1969f
Merge pull request #444 from ethereum/rust-mutability
rust: remove unneeded mutability in ExecutionContext
2019-11-26 23:56:00 +01:00
Alex Beregszaszi 8fb75848bd rust: remove unneeded mutability in ExecutionContext 2019-11-26 23:45:36 +01:00
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