Paweł Bylica
dfa3bd41d2
cmake: Configure source package
2019-08-08 13:53:10 +02:00
Alex Beregszaszi
7f75d4efdc
Merge pull request #386 from ethereum/rust-example-ci
...
circleci: test rust example vm with evmc-example
2019-08-08 12:40:57 +01:00
Alex Beregszaszi
e2edc86dfc
circleci: test rust example vm with evmc-example
2019-08-08 13:21:04 +02:00
Alex Beregszaszi
d4faaad980
Merge pull request #385 from ethereum/rust-bindgen
...
rust: update to bindgen 0.51
2019-08-08 12:17:30 +01:00
Alex Beregszaszi
a63b536664
Merge pull request #383 from ethereum/example-dynamic
...
examples: extend example to support dynamic loading
2019-08-08 12:15:37 +01:00
Alex Beregszaszi
ad9e525f03
rust: update to bindgen 0.51
2019-08-08 13:12:15 +02:00
Alex Beregszaszi
85498a1d42
example: allow passing in evmc path as an argument
2019-08-08 13:07:21 +02:00
Alex Beregszaszi
bc5b31662d
circleci: test dynamically loaded evmc-example
2019-08-08 13:07:21 +02:00
Alex Beregszaszi
ef986804fd
examples: extend example to support dynamic loading
2019-08-08 13:07:18 +02:00
Paweł Bylica
a20a4de166
Merge pull request #382 from ethereum/ci-rust
...
ci: Fix rust build
2019-08-07 15:31:00 +02:00
Paweł Bylica
1f7e97b214
ci: Fix rust build
2019-08-07 15:23:43 +02:00
Paweł Bylica
024154dbdb
Merge pull request #381 from ethereum/changelog_reformat
...
CHANGELOG reformat
2019-08-07 15:01:21 +02:00
Paweł Bylica
c242b7a29f
Reformat CHANGELOG
2019-08-07 14:50:38 +02:00
Paweł Bylica
b304f83820
Merge pull request #380 from ethereum/changelog
...
Update CHANGELOG
2019-08-07 13:08:19 +02:00
Paweł Bylica
dc7054408e
Update CHANGELOG
2019-08-07 11:59:54 +02:00
Paweł Bylica
9680eb55c5
Merge pull request #365 from ethereum/test-example
...
circleci: also test example.c from examples
2019-08-07 10:26:24 +02:00
Alex Beregszaszi
09bcb6210f
circleci: also test example.c from examples
2019-08-07 10:14:23 +02:00
Alex Beregszaszi
c7999062c5
example: return error code on failure
...
Co-authored-by: Paweł Bylica <chfast@gmail.com>
2019-08-07 10:14:23 +02:00
Paweł Bylica
df5afabf33
Merge pull request #377 from ethereum/cpp_aliases
...
cpp: Use new address and bytes32 wrappers in HostInterface
2019-08-07 10:00:51 +02:00
Paweł Bylica
2caa00bae8
cpp: Use new address and bytes32 wrappers in HostInterface
2019-08-07 09:55:39 +02:00
Paweł Bylica
3877584a2c
Merge pull request #379 from ethereum/clang_format_includes
...
clang-format: Fix includes sorting
2019-08-06 19:10:10 +02:00
Paweł Bylica
17d3471b18
clang-format: Fix includes sorting
...
The includes sorting config is taken from Aleth with regex for C++ standard library made more restrictive. The functional change is that .h and .hpp files are now equal.
2019-08-06 14:43:19 +02:00
Paweł Bylica
5471f2b414
Merge pull request #366 from ethereum/vmtester
...
Add support for EVMC module configuration string in evmc-vmtester
2019-08-06 14:36:04 +02:00
Paweł Bylica
dfc9c4d9f1
vmtester: Rework "owning" the loaded VM
2019-08-06 14:21:39 +02:00
Paweł Bylica
9dc9bb081d
vmtester: Accept standard EVMC config options
2019-08-06 14:21:38 +02:00
Paweł Bylica
8c3c6cc9bc
vmtester: Use evmc::vm to properly destroy loaded VM
2019-08-06 14:21:38 +02:00
Paweł Bylica
2a28a831ba
Merge pull request #333 from ethereum/cpp_result
...
cpp: Extend API for creating results
2019-08-06 14:20:59 +02:00
Paweł Bylica
229ae7328d
go: Use evmc_make_result() in Host.Call()
2019-08-06 12:27:41 +02:00
Paweł Bylica
705a610b16
go: Test Host.Call()
2019-08-06 12:27:41 +02:00
Paweł Bylica
a6ee9a81d3
examples: Learn example_vm how to make calls
2019-08-06 12:27:41 +02:00
Paweł Bylica
a0a1042b56
changelog: Add entry about extended result API
2019-08-06 12:27:40 +02:00
Paweł Bylica
03d0bbeac0
helpers: Report internal error for failing buffer allocation
2019-08-06 12:27:40 +02:00
Paweł Bylica
9c4da27dfe
Add EVMC_OUT_OF_MEMORY internal error status code
2019-08-06 12:27:40 +02:00
Paweł Bylica
55329d8dfa
helpers, cpp: Add evmc_make_result() for constructing results
...
This moves the evmc_result construction logic from evmc::result() constructor to helper.h. This function is now exposed as a C helper, C++ evmc::make_result() helper and used in the evmc::result() constructor.
This is convenient for VM implementations which need to construct C evmc_result, not C++ evmc::result.
2019-08-06 12:27:39 +02:00
Paweł Bylica
e4ae2162c5
cpp: Add evmc::result constructor to copy output
2019-08-06 09:52:42 +02:00
Paweł Bylica
4f7aa2e4f9
Merge pull request #376 from ethereum/deprecate_tracing_api
...
Deprecate tracing API
2019-08-05 21:55:51 +02:00
Paweł Bylica
b12e24f52f
Deprecate tracing API
2019-08-05 18:18:41 +02:00
Alex Beregszaszi
c117256e16
Merge pull request #374 from ethereum/rust-host-safety
...
rust: add assertion for evmc_context.host
2019-07-25 14:56:11 +01:00
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