Commit Graph

1308 Commits

Author SHA1 Message Date
Paweł Bylica eb64e60621
Merge pull request #498 from kjx98/less_cmp
fix less compare for address and bytes32
2020-01-07 16:34:17 +01:00
Paweł Bylica 34efa10ef9
CHANGELOG: And entry about operator< fix 2020-01-07 16:17:21 +01:00
Jesse Kuang 6799b9888c
cpp: Fix less compare for address and bytes32 2020-01-07 15:59:24 +01:00
Jesse Kuang 18d54c6466
test: Add unit test for C++ less_cmp 2020-01-07 15:59:23 +01:00
Paweł Bylica 29b494bf60
Merge pull request #497 from ethereum/doc-fix
Fix documentation comment for evmc_result::gas_left
2019-12-23 22:03:24 +01:00
Paweł Bylica c3535c9ef8
Fix documentation comment for evmc_result::gas_left 2019-12-23 21:51:46 +01:00
Paweł Bylica e017376518
Merge pull request #472 from ethereum/cmake_improvements_2
CMake improvements 2
2019-12-23 21:50:16 +01:00
Paweł Bylica 79932fdcfa
cmake: Specify c++11 as required compile feature 2019-12-23 21:42:17 +01:00
Paweł Bylica 180f94510d
cmake: Do not set default toolchain file 2019-12-23 21:42:16 +01:00
Alex Beregszaszi 01af41fad9
Merge pull request #496 from ethereum/readme
README: clarify feature support in for each binding
2019-12-16 19:29:35 +00:00
Paweł Bylica 13e17af841
README: Mention `evmc run` in the testing tools section 2019-12-16 20:07:41 +01:00
Alex Beregszaszi 7b3b7f69ef
README: clarify feature support in for each binding 2019-12-16 20:07:40 +01:00
Alex Beregszaszi 81271bb335
Merge pull request #489 from ethereum/java-last-error
java: fix crash with evmc_last_error_msg
2019-12-13 22:47:20 +00:00
Alex Beregszaszi a1f35bcd12 java: fix crash with evmc_last_error_msg 2019-12-13 22:36:52 +00:00
Paweł Bylica 5d456034d6
Merge pull request #491 from ethereum/literals
cpp: Replace literals implementation with constexpr functions
2019-12-13 22:52:33 +01:00
Paweł Bylica 75700cbc8d
cpp: Replace literals implementation with constexpr functions 2019-12-13 16:34:02 +01:00
Paweł Bylica bca29a5c55
Merge pull request #492 from ethereum/cpp_vm_raw_pointer
cpp: Add VM::get_raw_pointer()
2019-12-13 16:33:11 +01:00
Paweł Bylica 05e3519526
tools: Use VM::get_raw_pointer() 2019-12-13 15:55:56 +01:00
Paweł Bylica 347c65ae63
cpp: Add VM::get_raw_pointer() 2019-12-13 15:55:55 +01:00
Paweł Bylica 8c3a44c371
Merge pull request #495 from ethereum/cmake_check
cmake: Bump minimum required version to 3.10
2019-12-13 14:51:39 +01:00
Paweł Bylica 91ed52eb79
cmake: Bump minimum required version to 3.10
- We are using GoogleTest module introduced in 3.9.
- None of Debian / Ubuntu distributions versions provides CMake 3.9. The 3.10 is selected because this is the version provided in Ubuntu 18.04 LTS.
2019-12-13 13:26:39 +01:00
Paweł Bylica 651b7714f5
cmake: Set policies only when known 2019-12-13 13:20:35 +01:00
Paweł Bylica d92d349ad2
Merge pull request #488 from ethereum/literals
C++: Add uint64_t -> {bytes32, address} constructors
2019-12-12 21:12:08 +01:00
Paweł Bylica 51ea691660
test: Disable constexpr context tests in Visual Studio 2015 2019-12-12 21:02:57 +01:00
Paweł Bylica 815b81dfa3
cpp: Add converting constructor from uint64_t to address 2019-12-12 20:45:29 +01:00
Paweł Bylica 677b7d97e5
cpp: Add converting constructor from uint64_t to bytes32 2019-12-12 20:45:29 +01:00
Paweł Bylica f5d044d901
cpp: Simplify literals implementation 2019-12-12 20:45:28 +01:00
Paweł Bylica 5dd6d7e13e
Merge pull request #485 from ethereum/mockedhost_public
Make all EVMC Host methods of MockedHost public
2019-12-12 12:20:01 +01:00
Paweł Bylica d8077060a0
test: Add tests for MockedHost accounts' storage 2019-12-11 21:34:44 +01:00
Paweł Bylica 278ab8b269
Make all EVMC Host methods of MockedHost public 2019-12-11 21:26:01 +01:00
Paweł Bylica a22702ab0c
Merge pull request #478 from ethereum/runner
EVMC runner tool
2019-12-10 13:33:46 +01:00
Paweł Bylica 28beed5536
changelog: Add entry about evmc run 2019-12-10 13:06:34 +01:00
Paweł Bylica 107d245ba0
ci: Disable codecov status reporting 2019-12-10 11:44:39 +01:00
Paweł Bylica 229b21530a
ci: Enable code coverage for evmc tool 2019-12-10 11:29:35 +01:00
Paweł Bylica 3e0da0028e
test: Add some integration tests for evmc tool 2019-12-10 11:09:44 +01:00
Paweł Bylica 981ce71f2d
tools: Add limited support for setting EVM revision with --rev option 2019-12-09 21:40:28 +01:00
Paweł Bylica 3432514c61
tools: Allow setting EVMC VM path with EVMC_VM env var 2019-12-09 21:40:27 +01:00
Paweł Bylica 5e06a33ded
tools: Add --gas option to `evmc run` command 2019-12-09 21:40:27 +01:00
Paweł Bylica 430d8ee8c5
tools: EVMC runner prototype 2019-12-09 21:40:27 +01:00
Paweł Bylica ac11122e67
tools: Add output stream operator for evmc_revision 2019-12-09 21:40:07 +01:00
Paweł Bylica fa9e3d3b30
tools: Add output stream operator for evmc_status_code 2019-12-09 21:40:07 +01:00
Paweł Bylica f0bb4af926
tools: Add hex utils copied from evmone 2019-12-09 21:40:06 +01:00
Paweł Bylica 3eb43b55df
tools: Add evmc tool main file
The evmc tool can just print help and version information.
2019-12-09 12:59:04 +01:00
Paweł Bylica fd0077e420
Merge pull request #482 from ethereum/coverage
Coverage
2019-12-09 12:55:07 +01:00
Paweł Bylica f2c903d2e2
ci: Coverage report 2019-12-09 11:23:24 +01:00
Paweł Bylica 70411d9a15
ci: Add codecov config 2019-12-09 11:23:24 +01:00
Paweł Bylica fcff503ee9
cmake: Configure Coverage build type 2019-12-06 22:10:00 +01:00
Paweł Bylica 31d633288a
Merge pull request #481 from ethereum/circleci-lint
circleci: run clang-format on everything
2019-12-06 17:42:28 +01:00
Alex Beregszaszi 7f7659f47e circleci: run clang-format on everything 2019-12-06 13:14:00 +01:00
Paweł Bylica 0faf6d1aea
Merge pull request #474 from ethereum/cpp-operators
cpp: Add all comparison operators for address and bytes32
2019-12-05 15:54:29 +01:00