Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
I
ink
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
parity
ink
Commits
6b5ab413
Unverified
Commit
6b5ab413
authored
Nov 07, 2019
by
Robin Freyler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[core] rename ext_create to ext_instantiate
parent
e7ebf759
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
core/src/env2/srml/ext.rs
core/src/env2/srml/ext.rs
+2
-2
No files found.
core/src/env2/srml/ext.rs
View file @
6b5ab413
...
...
@@ -30,7 +30,7 @@ pub fn create(
create_data
:
&
[
u8
],
)
->
RetCode
{
unsafe
{
sys
::
ext_
cre
ate
(
sys
::
ext_
instanti
ate
(
code_hash
.as_ptr
()
as
u32
,
code_hash
.len
()
as
u32
,
gas_limit
,
...
...
@@ -165,7 +165,7 @@ pub fn println(content: &str) {
mod
sys
{
extern
"C"
{
pub
fn
ext_
cre
ate
(
pub
fn
ext_
instanti
ate
(
init_code_ptr
:
u32
,
init_code_len
:
u32
,
gas
:
u64
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment