mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 02:51:08 +00:00
Contracts: clean (#788)
* Extract `runtime` module * Restructure & comment code to avoid confusion
This commit is contained in:
committed by
Arkadiy Paronyan
parent
da991efd5f
commit
ef97973178
@@ -90,6 +90,7 @@ impl<'a, T: Trait> ExecutionContext<'a, T> {
|
||||
ctx: &mut nested,
|
||||
_caller: caller,
|
||||
},
|
||||
&::vm::Config::default(),
|
||||
gas_meter,
|
||||
).map_err(|_| "vm execute returned error while call")?;
|
||||
}
|
||||
@@ -154,6 +155,7 @@ impl<'a, T: Trait> ExecutionContext<'a, T> {
|
||||
ctx: &mut nested,
|
||||
_caller: caller,
|
||||
},
|
||||
&::vm::Config::default(),
|
||||
gas_meter,
|
||||
).map_err(|_| "vm execute returned error while create")?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user