Run cargo fix on a few of the worst offenders (#10854)
* Run cargo fix on `vm` * Run cargo fix on ethcore-db * Run cargo fix on evm * Run cargo fix on ethcore-light * Run cargo fix on journaldb * Run cargo fix on wasm * Missing docs * Run cargo fix on ethcore-sync
This commit is contained in:
@@ -32,7 +32,7 @@ pub struct RuntimeContext {
|
||||
pub struct Runtime<'a> {
|
||||
gas_counter: u64,
|
||||
gas_limit: u64,
|
||||
ext: &'a mut vm::Ext,
|
||||
ext: &'a mut dyn vm::Ext,
|
||||
context: RuntimeContext,
|
||||
memory: MemoryRef,
|
||||
args: Vec<u8>,
|
||||
@@ -147,7 +147,7 @@ impl<'a> Runtime<'a> {
|
||||
|
||||
/// New runtime for wasm contract with specified params
|
||||
pub fn with_params(
|
||||
ext: &mut vm::Ext,
|
||||
ext: &mut dyn vm::Ext,
|
||||
memory: MemoryRef,
|
||||
gas_limit: u64,
|
||||
args: Vec<u8>,
|
||||
|
||||
Reference in New Issue
Block a user