Commit 6b5ab413 authored by Robin Freyler's avatar Robin Freyler

[core] rename ext_create to ext_instantiate

parent e7ebf759
......@@ -30,7 +30,7 @@ pub fn create(
create_data: &[u8],
) -> RetCode {
unsafe {
code_hash.as_ptr() as u32,
code_hash.len() as u32,
......@@ -165,7 +165,7 @@ pub fn println(content: &str) {
mod sys {
extern "C" {
pub fn ext_create(
pub fn ext_instantiate(
init_code_ptr: u32,
init_code_len: u32,
gas: u64,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment