Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
62822128
Commit
62822128
authored
May 23, 2016
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use higher (3M) starting limit for gas
parent
52f255a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index.html
index.html
+1
-1
universal-dapp.js
src/universal-dapp.js
+1
-1
No files found.
index.html
View file @
62822128
...
...
@@ -74,7 +74,7 @@
<label
for=
"txorigin"
><select
name=
"txorigin"
id=
"txorigin"
></select>
Transaction origin
</label>
</div>
<div
class=
"crow hide"
>
<label
for=
"gasLimit"
><input
type=
"number"
id=
"gasLimit"
value=
"0"
>
Gas limit
</label>
<label
for=
"gasLimit"
><input
type=
"number"
id=
"gasLimit"
value=
"
300000
0"
>
Gas limit
</label>
</div>
<div
class=
"crow hide"
>
<label
for=
"gasPrice"
><input
type=
"number"
id=
"gasPrice"
value=
"0"
>
Gas Price
</label>
...
...
src/universal-dapp.js
View file @
62822128
...
...
@@ -618,7 +618,7 @@ UniversalDApp.prototype.runTx = function (data, args, cb) {
data
=
'0x'
+
data
;
}
var
gas
=
self
.
options
.
getGas
?
self
.
options
.
getGas
:
1
000000
;
var
gas
=
self
.
options
.
getGas
?
self
.
options
.
getGas
:
3
000000
;
var
value
=
0
;
if
(
self
.
options
.
getValue
)
{
...
...
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