Commit Graph

1308 Commits

Author SHA1 Message Date
Paweł Bylica cb1e4c1009
test: Add more unit tests for comparison operators 2019-12-05 15:41:10 +01:00
Alex Beregszaszi 7d7fd7d2b3
cpp: Add all comparison operators for address and bytes32
This makes the types easier to use in outside APIs.

Co-authored-by: Paweł Bylica <chfast@gmail.com>
2019-12-05 11:53:40 +01:00
Paweł Bylica ef5a2c1ffc
Merge pull request #479 from ethereum/unittests
Unit test on the move
2019-12-05 09:58:51 +01:00
Paweł Bylica 0c9029bddc
test: Move MockedHost's unit tests to own file 2019-12-04 22:57:50 +01:00
Paweł Bylica 60788f9a20
test: Use _test suffix for test files
This follows Go naming convention for file containing unit tests.
2019-12-04 22:41:29 +01:00
Alex Beregszaszi 90455185b1
Merge pull request #477 from ethereum/rust-crates
rust: version dependencies
2019-12-04 15:12:26 +01:00
Alex Beregszaszi ad39e2e9da rust: version dependencies 2019-12-04 13:24:33 +01:00
Paweł Bylica 7b15dfe0f2
EVMC 7.2.0-alpha.0
Bump version: 7.1.0 → 7.2.0-alpha.0
2019-12-04 10:02:20 +01:00
Paweł Bylica 33cd500661
Merge pull request #455 from jrhea/java-bindings
Initial implementation of Java bindings
2019-12-03 13:27:29 +01:00
jonny rhea 77f5747a5f Initial implementation of Java bindings
Includes JNI bindings, tests and build system
2019-12-03 13:21:57 +01:00
Paweł Bylica 1de783316a
EVMC 7.1.0
Bump version: 7.1.0-alpha.0 → 7.1.0
2019-11-29 13:19:18 +01:00
Paweł Bylica e238a5752b
Merge pull request #470 from ethereum/cmake
CMake improvements
2019-11-29 13:11:41 +01:00
Paweł Bylica beb0d92c11
cmake: Add evmc::evmc_cpp INTERFACE library for evmc.hpp 2019-11-29 11:55:51 +01:00
Paweł Bylica 63c2165d4a
cmake: Move definition of evmc::evmc to lib/ 2019-11-28 19:45:10 +01:00
Paweł Bylica 9ef44b8f8c
cmake: Do not set C++ standard specially for examples 2019-11-28 19:38:20 +01:00
Paweł Bylica 10e87931b1
cmake: Always build instructions lib with PIC 2019-11-28 19:34:17 +01:00
Paweł Bylica c3ae5bb539
Merge pull request #468 from ethereum/build_clang5
Fix build with clang 5
2019-11-28 16:54:17 +01:00
Paweł Bylica b28db6f514
Fix build with clang 5 2019-11-28 16:34:10 +01:00
Paweł Bylica 34ebbe205a
ci: Add build with clang 5 2019-11-28 16:30:31 +01:00
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