Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelang authored and axic committed Apr 24, 2019
1 parent a7d5b42 commit e6e10b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bindings/rust/evmc-vm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ pub extern crate evmc_sys;
#[macro_use]
extern crate paste;

pub use paste::item;
pub use paste::expr;
pub use paste::item;

pub use evmc_sys as ffi;

Expand Down
7 changes: 6 additions & 1 deletion examples/example-rust-vm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ impl EvmcVM for examplerustvm {
}

fn execute(&self, code: &[u8], interface: &InterfaceManager) -> ExecutionResult {
ExecutionResult::new(evmc_vm::ffi::evmc_status_code::EVMC_SUCCESS, 69, None, evmc_vm::ffi::evmc_address { bytes: [0u8; 20] })
ExecutionResult::new(
evmc_vm::ffi::evmc_status_code::EVMC_SUCCESS,
69,
None,
evmc_vm::ffi::evmc_address { bytes: [0u8; 20] },
)
}
}

Expand Down

0 comments on commit e6e10b0

Please sign in to comment.