Alex Beregszaszi
22fc2be0f6
Merge pull request #393 from ethereum/rust-exceptions
...
rust: catch exceptions in the entire execute() wrapper
2019-08-09 20:50:43 +02:00
Alex Beregszaszi
99ca1e2b63
rust: catch exceptions in the entire execute() wrapper
2019-08-09 20:46:58 +02:00
Alex Beregszaszi
e3463a379c
Merge pull request #394 from ethereum/rust-raw
...
rust: introduce from_buf_raw helper
2019-08-09 20:46:22 +02:00
Alex Beregszaszi
0151bc5d37
rust: introduce from_buf_raw helper
2019-08-09 20:39:11 +02:00
Paweł Bylica
7aa609a6ae
Merge pull request #395 from ethereum/rust-buffers
...
rust: enforce EVMC rules on message and result buffers
2019-08-09 14:05:27 +02:00
Alex Beregszaszi
52ea24f382
rust: enforce EVMC rules on message and result buffers
2019-08-09 11:21:28 +02:00
Alex Beregszaszi
8634f0b18c
Merge pull request #392 from ethereum/phantom-data
...
rust: properly bind lifetimes in EvmcVm
2019-08-09 09:48:28 +01:00
Alex Beregszaszi
f9c05b565c
rust: use the where syntax consistenly in EvmcContainer
2019-08-09 10:44:25 +02:00
Jake Lang
1c39d46321
rust: properly bind lifetimes to ensure that execute() can propagate references to ExecutionContext
2019-08-09 10:44:25 +02:00
Alex Beregszaszi
598432e5e5
Merge pull request #391 from ethereum/rust-example-expand
...
rust: implement the save_return_block_number example in example-rust-vm
2019-08-08 21:19:19 +01:00
Alex Beregszaszi
af051ca93e
circleci: split tests within rust
2019-08-08 21:43:04 +02:00
Alex Beregszaszi
e2ebfbae77
examples: make sure to set call_kind
2019-08-08 21:36:39 +02:00
Alex Beregszaszi
9c5c2a106e
rust: implement the save_return_block_number example in example-rust-vm
2019-08-08 19:54:29 +02:00
Jake Lang
22eef4197d
Merge pull request #389 from ethereum/rust-execute-mut
...
rust: pass ExecutionContext mutable so it can actually be used with host functions
2019-08-08 13:50:04 -04:00
Alex Beregszaszi
a17fd0ed6e
rust: pass ExecutionContext mutable so it can actually be used with host functions
...
Co-authored-by: Jake Lang <jak3lang@gmail.com>
2019-08-08 18:52:14 +02:00
Alex Beregszaszi
892474a259
Merge pull request #388 from ethereum/example-roundtrip
...
examples: improve tx_context handling and extend examples
2019-08-08 17:33:34 +01:00
Alex Beregszaszi
63334c331a
examples: run the save_return_block_number example
2019-08-08 18:11:32 +02:00
Alex Beregszaszi
4973da1802
examples: fill out some values in tx_context
2019-08-08 18:11:32 +02:00
Alex Beregszaszi
ca7d5d91aa
examples: dump storage key "0" because some examples write to it
2019-08-08 18:11:32 +02:00
Alex Beregszaszi
dd065265d9
examples: add evmc_tx_context to ExampleHost
2019-08-08 18:11:28 +02:00
Alex Beregszaszi
bea35ea084
examples: add new roundtrip example in example-vm which accesses tx_context and set_storage
2019-08-08 17:21:24 +02:00
Paweł Bylica
8fd896dff8
Merge pull request #378 from ethereum/source_package
...
cmake: Configure source package
2019-08-08 15:02:11 +02:00
Paweł Bylica
5e3a638683
ci: Build source package
2019-08-08 13:53:10 +02:00
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