Commit Graph

1066 Commits

Author SHA1 Message Date
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
Alex Beregszaszi ff3a619b01 rust: add test for ExecutionContext.call() 2019-07-04 20:13:30 +01:00
Alex Beregszaszi 5d72543ac3 rust: make input a slice reference to ExecutionMessage 2019-07-04 20:13:28 +01:00
Alex Beregszaszi 4382bd3662 rust: implement call() 2019-07-04 20:13:00 +01:00
Alex Beregszaszi f827e174a7 rust: use ExecutionMessage in ExecutionContext.call() 2019-07-04 20:12:57 +01:00
Alex Beregszaszi 2f7a083e24
Merge pull request #343 from ethereum/rust-types
rust: add type aliases for Address, Bytes32, Uint256
2019-07-04 20:04:33 +01:00
Alex Beregszaszi d83c19319a rust: use type aliases 2019-07-04 20:01:00 +01:00
Alex Beregszaszi c9ce3a10d4 rust: add type aliases for certain ffi types 2019-07-04 20:00:34 +01:00
Alex Beregszaszi 48f1903d9c rust: fix type typo in get_balance() 2019-07-04 20:00:22 +01:00
Alex Beregszaszi 2a5c280206
Merge pull request #348 from ethereum/rust-container
rust: add tests for EvmcContainer
2019-07-04 18:26:41 +01:00
Alex Beregszaszi 6391748c9c rust: add tests for EvmcContainer 2019-07-04 18:09:04 +01:00
Alex Beregszaszi cab1073407
Merge pull request #346 from ethereum/rust-declare
rust: allow empty code in evmc_execute()
2019-07-04 18:08:53 +01:00
Alex Beregszaszi ddcdbfe944 rust: allow empty code in evmc_execute() 2019-07-04 17:23:33 +01:00
Alex Beregszaszi 877440a499
Merge pull request #347 from ethereum/rust-test-message
rust: add two test cases to cover ExecutionMessage
2019-07-04 16:57:50 +01:00
Alex Beregszaszi 568b11d71e rust: add two test cases to cover ExecutionMessage 2019-07-04 16:54:10 +01:00
Alex Beregszaszi 96a0dd224e rust: rename some test cases for clarity 2019-07-04 16:36:25 +01:00
Paweł Bylica 6bc52edf25
Merge pull request #345 from ethereum/execute_params_docs
docs: Clarify if execute() arguments can be NULLs
2019-07-04 13:21:34 +02:00
Paweł Bylica 9792aea161
docs: Clarify if execute() arguments can be NULLs 2019-07-04 12:57:44 +02:00
Paweł Bylica f6d3f97e13
Merge pull request #341 from ethereum/cpp
cpp: Extend API to allow moving evmc::vm objects
2019-07-03 19:44:34 +02:00
Paweł Bylica 64830936e0
changelog: Add entry about moving API for evmc::vm 2019-07-03 19:37:17 +02:00
Paweł Bylica e1ff8cb007
cpp: Add unit test for evmc::vm move to itself 2019-07-03 19:37:17 +02:00
Paweł Bylica 1f3243a55e
cpp: Allow checking if evmc::vm is valid 2019-07-03 19:37:16 +02:00