Commit Graph

1081 Commits

Author SHA1 Message Date
Paweł Bylica 4af7f0fa08
ci: Pin Debian version of the Rust docker image 2019-08-21 00:37:38 +02:00
Paweł Bylica d133531ddf
ci: Fix Rust build
The rust:1 docker image has moved to Debian Buster.
2019-08-21 00:34:03 +02:00
Andrei Maiboroda 10f038b57d
EVMC 7.0.0-alpha.0
Bump version: 7.0.0-alpha.0 → 7.0.0-alpha.0
2019-08-20 15:39:49 +02:00
Paweł Bylica e9d4648200
EVMC 6.3.1
Bump version: 6.3.0 → 6.3.1
2019-08-19 23:16:43 +02:00
Paweł Bylica 1cfc0352cd
Merge pull request #406 from ethereum/deprecated_is_zero
cpp: Fallback to evmc::is_zero() in case the deprecated ::is_zero() is used
2019-08-19 23:08:45 +02:00
Paweł Bylica f0bc605e8b
cpp: Fallback to evmc::is_zero() in case the deprecated ::is_zero() is used
The deprecated is_zero() is removed, but evmc.hpp is included in helpers.hpp in a way that allows using is_zero() as before. This is more user-friendly solution because now evmc::is_zero() can be used also for C types. Before, the deprecated overloading was selected by the compiler.
2019-08-17 19:08:38 +02:00
Paweł Bylica 799b8ffb75
Merge pull request #405 from ethereum/cable
Upgrade Cable to 0.4.4
2019-08-16 23:54:14 +02:00
Paweł Bylica c8f112a6af
changelog: Add entry about upgraded Cable 2019-08-16 23:30:41 +02:00
Paweł Bylica aa92e23ff6
Upgrade Cable to 0.4.4 2019-08-16 23:16:53 +02:00
Paweł Bylica fba880eb02 Squashed 'cmake/cable/' changes from 945b7e5..3fb12ab
3fb12ab Cable 0.4.4
680296e Fix Cable modules not being in CMAKE_MODULE_PATH

git-subtree-dir: cmake/cable
git-subtree-split: 3fb12ab54d42ecebeedd399f9146f88b1f8fdcbc
2019-08-16 23:16:53 +02:00
Paweł Bylica 41a59ca590
Merge pull request #404 from ethereum/go-load
go: add LoadAndConfigure method
2019-08-16 22:37:02 +02:00
Alex Beregszaszi c5f3bfd5c2 go: add LoadAndConfigure method 2019-08-16 21:53:48 +02:00
Paweł Bylica fb0cbd7bf8
Merge pull request #403 from ethereum/fix_cpp_get_balance
cpp: Use evmc::uint256be instead of evmc_uint256be in get_balance()
2019-08-15 23:45:14 +02:00
Paweł Bylica 63759f8087
Add entry to CHANGELOG 2019-08-15 13:05:58 +02:00
Paweł Bylica aaba11390b
cpp: Use evmc::uint256be instead of evmc_uint256be in get_balance() 2019-08-14 18:32:09 +02:00
Paweł Bylica f48ae8ba3b
EVMC 6.3.0
Bump version: 6.3.0-alpha.1 → 6.3.0
2019-08-12 12:00:05 +02:00
Paweł Bylica fec4e4c6a4
Merge pull request #402 from ethereum/cable
Upgrade Cable to 0.4.3
2019-08-12 11:55:41 +02:00
Paweł Bylica e09808290a
cmake: Use CablePackage to configure binary/source packages 2019-08-12 11:24:01 +02:00
Paweł Bylica 384993348d Squashed 'cmake/cable/' changes from cea3a65..945b7e5
945b7e5 Cable 0.4.3
1885e7e CablePackage: Add support for source packages
3fc90c6 Cable 0.4.2
9b84efe buildinfo: Generate version.h header with project version string
93a47b2 Cable 0.4.1
f3e0f53 Add CablePackage for building archive packages
9708939 Use -Wpedantic instead of -pedantic
7e0e2b6 Add 32-bit toolchains

git-subtree-dir: cmake/cable
git-subtree-split: 945b7e5e3ca2f888c6e62747f82e2aad413b823c
2019-08-12 11:22:04 +02:00
Paweł Bylica 961eeac51b
Upgrade Cable to 0.4.3 2019-08-12 11:22:04 +02:00
Alex Beregszaszi 66f2019fa4
Merge pull request #398 from ethereum/rust-changelog
Update Changelog and README with Rust changes
2019-08-11 21:25:24 +01:00
Alex Beregszaszi 31bd3b6253 Update Changelog and README with Rust changes 2019-08-11 22:24:09 +02:00
Alex Beregszaszi d8c2aa2c89
Merge pull request #401 from ethereum/rust-container
rust: change ownership api in container
2019-08-11 09:51:54 +01:00
Alex Beregszaszi fd26a9570f rust: change ownership api in container 2019-08-11 10:47:08 +02:00
Alex Beregszaszi 7be99d5c62
Merge pull request #400 from ethereum/rust-exceptions
Revert "rust: catch exceptions in the entire execute() wrapper"
2019-08-10 23:40:11 +01:00
Alex Beregszaszi 89f26eebd1 rust: use process::abort and not leaking exceptions on EVMC violations 2019-08-10 16:13:19 +02:00
Alex Beregszaszi 1e339d7bb2 Revert "rust: catch exceptions in the entire execute() wrapper"
This reverts commit 99ca1e2b63.
2019-08-10 16:11:19 +02:00
Alex Beregszaszi 8778c6e4c3
Merge pull request #399 from ethereum/rust-debug
rust: derive Debug trait on some abstractions
2019-08-10 15:05:01 +01:00
Alex Beregszaszi cd0a8bc950 rust: derive Debug trait on some abstractions
Such as ExecutionResult and ExecutionMessage.
2019-08-10 15:34:56 +02:00
Alex Beregszaszi 611e050dcf
Merge pull request #373 from ethereum/rustdoc
rust: add more rustdoc documentation
2019-08-09 21:08:29 +02:00
Alex Beregszaszi 788c20f6e1 rust: add more rustdoc documentation 2019-08-09 21:04:17 +02:00
Alex Beregszaszi c05c4c2df2
Merge pull request #396 from ethereum/rust-result-rename
rust: remove get_ prefix from getters in ExecutionResult to be consistent with ExecutionMessage
2019-08-09 21:03:24 +02:00
Alex Beregszaszi 850178098c rust: remove get_ prefix from getters in ExecutionResult to be consistent with ExecutionMessage 2019-08-09 20:50:59 +02:00
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