Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error for deploy smart contract #52

Open
Rofael opened this issue Jan 16, 2019 · 0 comments
Open

Error for deploy smart contract #52

Rofael opened this issue Jan 16, 2019 · 0 comments

Comments

@Rofael
Copy link

Rofael commented Jan 16, 2019

I use the deploy smart API, the contract can be deployed to rinkeby, but from the rinkeby exploerer, the 'TxReceipt Status' for this transaction has error.

Detailed Description

ethereum plugin version: 0.2.6
vault version:1.0.1

I use API ethereum/deploy/:account_name/contracts/:contract_name to deploy smart contract, the deploy can be ok, but there is error shown in explorer that there is error in smart contact execution.

This is the output in rinkeby explorer(https://rinkeby.etherscan.io/tx/0x08eb68cc8c9c5df210f80b930e97bc88f538095e9fb1e143ae1ea114a9a690ae)

TxHash:0x08eb68cc8c9c5df210f80b930e97bc88f538095e9fb1e143ae1ea114a9a690ae
TxReceipt Status:FailBlock
Height:3698370 (3 Block Confirmations)
TimeStamp:1 min ago (Jan-16-2019 02:07:59 AM +UTC)
From:0x74bc468c663f9c76ac18c3b53f5b78966fe420c7
To:[Contract 0x44c5b242e0205ef1b4e21936d5c7dda572d5f067 Created]
Warning! Error encountered during contract execution [gas uint64 overflow]

Value:0
Ether ($0.00)
Gas Limit: 3500000
Gas Used By Transaction:3500000 (100%)
Gas Price:0.000000001
Ether (1 Gwei)
Actual Tx Cost/Fee:0.0035
Ether ($0.000000)

I checked everything and suspect it is related to transaction_data field which is not correct.

So my question is:
In my code, the transaction_data field in deploy API is the compiled data read of smart contract from bytecode in utf8 format, is it correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant