Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sergej Kostjucenko
cargo-contract
Commits
4348cc59
Commit
4348cc59
authored
Apr 12, 2022
by
Andrew Jones
Browse files
Fmt
parent
ca5b0ed3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cmd/extrinsics/instantiate.rs
View file @
4348cc59
...
...
@@ -263,7 +263,8 @@ impl<'a> Exec<'a> {
let
gas_limit
=
if
let
Some
(
gas_limit
)
=
self
.args.gas_limit
{
gas_limit
}
else
{
let
instantiate_result
=
self
.instantiate_dry_run
(
Code
::
Upload
(
code
.clone
()))
.await
?
;
let
instantiate_result
=
self
.instantiate_dry_run
(
Code
::
Upload
(
code
.clone
()))
.await
?
;
instantiate_result
.gas_required
};
let
tx_progress
=
api
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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