Merge pull request #399 from ethereum/rust-debug

rust: derive Debug trait on some abstractions
This commit is contained in:
Alex Beregszaszi 2019-08-10 15:05:01 +01:00 committed by GitHub
commit 8778c6e4c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ pub trait EvmcVm {
}
/// EVMC result structure.
#[derive(Debug)]
pub struct ExecutionResult {
status_code: ffi::evmc_status_code,
gas_left: i64,
@ -38,6 +39,7 @@ pub struct ExecutionResult {
}
/// EVMC execution message structure.
#[derive(Debug)]
pub struct ExecutionMessage {
kind: ffi::evmc_call_kind,
flags: u32,