Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
28c8bf72
Commit
28c8bf72
authored
Dec 15, 2021
by
hezhengjun
Committed by
33cn
Dec 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify gas limit for relay tx to ethereum
parent
1654df76
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
relayToEthereum.go
...2eth/ebrelayer/relayer/ethereum/ethtxs/relayToEthereum.go
+1
-1
info.go
plugin/dapp/cross2eth/ebrelayer/types/info.go
+1
-1
No files found.
plugin/dapp/cross2eth/ebrelayer/relayer/ethereum/ethtxs/relayToEthereum.go
View file @
28c8bf72
...
...
@@ -22,7 +22,7 @@ var (
const
(
// GasLimit : the gas limit in Gwei used for transactions sent with TransactOpts
GasLimit
=
uint64
(
100
*
10000
)
GasLimit4RelayTx
=
uint64
(
1
0
*
10000
)
GasLimit4RelayTx
=
uint64
(
4
0
*
10000
)
GasLimit4Deploy
=
uint64
(
0
)
//此处需要设置为0,让交易自行估计,否则将会导致部署失败,TODO:其他解决途径后续调研解决
)
...
...
plugin/dapp/cross2eth/ebrelayer/types/info.go
View file @
28c8bf72
package
types
//Version4Relayer ...
const
Version4Relayer
=
"0.1.
3
"
const
Version4Relayer
=
"0.1.
4
"
const
(
Chain33BlockChainName
=
"Chain33-mainchain"
...
...
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