mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-30 11:47:57 +00:00
Initial wasm support
This commit is contained in:
@@ -12,10 +12,7 @@ pub fn prepare_pvm(
|
||||
config.set_sandbox(Some(SandboxKind::Linux));
|
||||
|
||||
let (instance, export_index) = mock_runtime::prepare(code, Some(config));
|
||||
let transaction = State::default()
|
||||
.transaction()
|
||||
.with_default_account(code)
|
||||
.calldata(input);
|
||||
let transaction = State::default().transaction().calldata(input);
|
||||
|
||||
(transaction, instance, export_index)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user