Commit Graph

987 Commits

Author SHA1 Message Date
Alex Beregszaszi 5ee58d181d rust: add assertion for evmc_context.host 2019-07-25 14:50:06 +01:00
Alex Beregszaszi ff40c5983b
Merge pull request #371 from ethereum/rust-revert
rust: ExecutionResult::result() should have a gas parameter
2019-07-24 13:30:52 +01:00
Paweł Bylica 9b2df0f901
Merge pull request #359 from ethereum/literals
C++: Literals for basic types
2019-07-24 14:29:16 +02:00
Alex Beregszaszi b9de8476dd rust: ExecutionContext::get_tx_context should not require a mutable self 2019-07-24 13:27:15 +01:00
Alex Beregszaszi 25dac2194b rust: ExecutionResult::result() should have a gas parameter 2019-07-24 13:26:50 +01:00
Paweł Bylica ab80cfdd06
cpp: Check digits to prevent using hex float literals 2019-07-24 13:17:29 +02:00
Paweł Bylica 4ac70471ec
cpp: Rename literal suffixes: _addr -> _address, _b32 -> _bytes32 2019-07-24 13:17:28 +02:00
Paweł Bylica 552bd956f2
changelog: Add entry about EVMC C++ user defined literals 2019-07-24 13:17:28 +02:00
Paweł Bylica 8e5056aef0
examples: Update example host with usage of evmc::literals 2019-07-24 13:17:27 +02:00
Paweł Bylica c358c4a024
cpp: Add user-defined literals for basic types 2019-07-24 13:17:27 +02:00
Paweł Bylica be6fbc8f99
Merge pull request #358 from ethereum/deprecate_helpers_hpp
Deprecate helpers.hpp
2019-07-24 13:14:58 +02:00
Paweł Bylica 87f2c680cb
test: Bring back the unit tests of deprecated features 2019-07-24 13:06:37 +02:00
Paweł Bylica 7e4db85487
cpp: Deprecate helpers.hpp 2019-07-24 13:06:36 +02:00
Alex Beregszaszi 1df1e70e0a
Merge pull request #369 from ethereum/rust-revision
rust: support evmc_revision in execute()
2019-07-23 23:42:17 +01:00
Alex Beregszaszi 61805cf4d2 rust: support evmc_revision in execute() 2019-07-23 22:45:08 +01:00
Alex Beregszaszi 1d22d68293
Merge pull request #368 from ethereum/rust-revert
rust: add ExecutionMessage::revert()
2019-07-23 22:42:39 +01:00
Alex Beregszaszi 1806416689 rust: add ExecutionMessage::revert() 2019-07-23 22:35:37 +01:00
Paweł Bylica 0a3d2e7834
Merge pull request #367 from ethereum/ci_package
ci: Store EVMC package on AppVeyor
2019-07-23 16:27:06 +02:00
Paweł Bylica 58d24e1917
ci: Store EVMC package on AppVeyor 2019-07-23 16:18:50 +02:00
Paweł Bylica 5c55ac5e10
Merge pull request #357 from ethereum/cpp_basic_types
C++: Add basic types based on C types
2019-07-23 14:40:05 +02:00
Paweł Bylica ab4ea823e6
changelog: Add entry about EVMC C++ basic types 2019-07-23 14:07:45 +02:00
Paweł Bylica 279c1cd6e7
test: Move an unit test from "helpers" to "cpp" 2019-07-23 14:07:44 +02:00
Paweł Bylica 6b46dfb7b0
test: Do not include helpers.hpp 2019-07-23 14:07:44 +02:00
Paweł Bylica 2e221a7303
examples: Update example host 2019-07-23 14:07:44 +02:00
Paweł Bylica 366b5ad0fb
cpp: Add evmc::uint256be alias 2019-07-23 14:07:43 +02:00
Paweł Bylica 18e6dabe73
cpp: Add is_zero() and explicit bool() for basic types 2019-07-23 14:07:43 +02:00
Paweł Bylica 635aebeb66
cpp: Add std::hash specializations for basic types 2019-07-23 14:07:43 +02:00
Paweł Bylica 0bde57ec09
cpp: Basic types comparisons 2019-07-23 14:07:42 +02:00
Paweł Bylica e74f42e2ef
cpp: Add basic types with default constructor 2019-07-23 14:07:42 +02:00
Alex Beregszaszi 83d2acffa2
Merge pull request #362 from ethereum/move-example-vm
examples: Move example_vm into the examples/example_vm subdirectory
2019-07-23 12:42:16 +01:00
Alex Beregszaszi ab841c35f8 examples: install example-precompiles-vm as well 2019-07-23 12:16:44 +01:00
Alex Beregszaszi be56b092b5 examples: Move example_vm into the examples/example_vm subdirectory 2019-07-23 12:16:44 +01:00
Paweł Bylica b8ae6d24f2
Merge pull request #354 from ethereum/istanbul_instruction_tables
Add separate Istanbul instruction tables
2019-07-23 13:16:08 +02:00
Paweł Bylica 6a92cb8b38
instructions: Add tests for Istanbul 2019-07-23 12:51:00 +02:00
Paweł Bylica 7e2fdd5dc1
instructions: Add tests for Petersburg 2019-07-23 12:50:31 +02:00
Paweł Bylica ed33e98dd8
instructions: Add systematic tests to compare with prev revisions 2019-07-23 12:50:31 +02:00
Paweł Bylica 65b598643e
Add separate Istanbul instruction tables 2019-07-23 12:50:30 +02:00
Alex Beregszaszi ffaac3b49b
Merge pull request #361 from ethereum/rust-tx-context
rust: add ExecutionTxContext type alias
2019-07-23 11:42:01 +01:00
Paweł Bylica 777f18e239
Merge pull request #360 from ethereum/cmake_install
cmake: Add option to disable install
2019-07-23 12:36:57 +02:00
Alex Beregszaszi f0bf456697 rust: add ExecutionTxContext type alias 2019-07-23 11:34:05 +01:00
Paweł Bylica 56ceca3b29
cmake: Add option to disable install 2019-07-23 12:29:31 +02:00
Paweł Bylica 1a45ce6910
Merge pull request #303 from ethereum/cmake_vmtester_helper
cmake: Add helper for adding vmtester based VM test
2019-07-23 11:59:29 +02:00
Paweł Bylica 2a2a7328d9
changelog: Add entry about evmc-vmtester's CMake helper 2019-07-17 14:20:46 +02:00
Paweł Bylica fece3b066c
cmake: Include EVMC.cmake module in the package 2019-07-17 14:17:41 +02:00
Paweł Bylica fc6b80b7c4
cmake: Add helper for adding vmtester based VM test 2019-07-17 14:17:41 +02:00
Alex Beregszaszi 22ed657d0c
Merge pull request #353 from ethereum/rust-message
rust: pass ExecutionMessage directly to EvmcVm.execute()
2019-07-15 11:28:13 +01:00
Alex Beregszaszi 3d47d3802e rust: pass ExecutionMessage directly to EvmcVm.execute() 2019-07-15 11:22:05 +01:00
Alex Beregszaszi 683640bcfb
Merge pull request #349 from ethereum/rust-container-test
rust: add more tests to EvmcContainer
2019-07-08 15:53:44 +01:00
Alex Beregszaszi 2cba139f15 rust: add more tests to EvmcContainer 2019-07-04 20:48:18 +01:00
Alex Beregszaszi fb535792a9
Merge pull request #331 from ethereum/rust-message-call
rust: add type aliases for Address, Bytes32, Uint256
2019-07-04 20:19:26 +01:00