Questions tagged [error]

The tag has no usage guidance.

89 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
5k views

Error! Unable to generate Contract ByteCode and ABI

Having issues verifying my token contract on etherscan.io. Receiving the following errors: Note: Contract was created during Txn# Result: Does not match the input creation bytecode found at this ...
3
votes
0answers
516 views

Why the transaction reverted?

Try to run my contract in remix JavaScriptVM and faced with error. Contract code: ... /** * @title Burnable Token * @dev Token that can be irreversibly burned (destroyed). */ contract ...
2
votes
0answers
692 views

Contract call: data out of bounds

I'm working on a nextjs/react project in which i want to fetch the health factor of an address on AAVE. This can be done by calling getUserAcountData(address) on the lending pool contract. I can ...
2
votes
0answers
750 views

Error when verifying signed message on Etherscan

Why is it that my message on etherscan can not be verified correctly? I always get this message: I'm sorry! Signature message verification failed
2
votes
0answers
205 views

How to catch errors in web3.py

How can I catch revert or out of gas errors in web3.py? I'd like to call a function through web3.py and in case it gets reverted I'd like to try it again after a couple of seconds.
2
votes
0answers
247 views

“queue limit” error

I try to deploy a smart contract and every time i receive "queue limit" error. Here is what i do: Web3 = require("web3") web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")); ...
2
votes
0answers
157 views

How to get meaningful error msg from truffle unit test?

I am writing unit tests in truffle. No matter it's solidity unit tests or js unit tests, all of the error msg I can get is: Error: VM Exception while processing transaction: revert at Object....
1
vote
0answers
15 views

web3.eth.net.isListening() throws Error: Invalid JSON RPC response: “” (web3@1.3.4)

I am using the latest web3 version 1.3.4. When I connect to web3 and print web3 I get the following response. But when I try to execute the command web3.eth.net.isListening().then(console.log). I get ...
1
vote
1answer
94 views

Fail with error 'Min return not reached'

I am trying to make trades on 1inch and frequently get an error that reads Fail with error 'Min return not reached'. My gas prices are set very high because I need these trades to be as fast as ...
1
vote
1answer
17 views

Untitleded.sol:5:77: ParserError: Expected type name function sendmessage(string message) view public returns(string message, memory) { ^----^(i need)

I've seen the other StackExchange errors but it didn't help me. Untitleded.sol:5:77: ParserError: Expected type name function sendmessage(string message) view public returns(string message, memory) { ...
1
vote
0answers
61 views

Transaction not being mined within 750 seconds

On the main net, after getting the error from the title, by making sure it's not in pending pool, how long should I wait until I can safely retry a transaction? Thanks
1
vote
0answers
17 views

Oraclize external rest api call failure handling

Using https://oraclize.it, I can perform something like this oraclize_query("URL","json(https://api.postcodes.io/postcodes).status", '{"postcodes" : ["...
1
vote
0answers
16 views

How do I do get the text from a failed `require` in Javascript?

I have a function in my smart contract that has several require clauses. I'm using etheres.js to call the it from React. When it fails, all I get in the JS Error object is the message "the ...
1
vote
1answer
69 views

“Consider using `transfer` in place of 'call.value()`” is a false error message by ethlint

I am getting following message when I use solium or ethlint, which is actually not correct and confusing developers. I have opened a issue related to that: Solium returns error for using call.value(). ...
1
vote
1answer
125 views

Unexpected fault address

I picked up an Ethereum Blockchain at AWS ECS almost 3 months ago, it was working perfectly until I got this bug yesterday from the mining node: unexpected fault address 0x7fb93c71d000 [signal SIGBUS:...
1
vote
0answers
598 views

Etherscan says “we were unable to locate a matching bytecode (err_code_2)”

Please help me with this error... I dont know what is it?
1
vote
1answer
858 views

MetaMask - RPC Error: Error: WalletMiddleware - Invalid “from” address

I'm trying to create a simple Dapp (via tutorial) which would allow me to send Ether from sender to receiver (via a contract with an address that automatically approves the transaction). The truffle ...
1
vote
0answers
27 views

How to process null TransactionReceipt?

I have some transaction that is sent and from time to time when I call the eth_getTransactionReceipt I get a null. I see esentially two approaches for handling this: I could reiterate the call to ...
1
vote
0answers
134 views

Using web3j with infura returns null

I've used web3.js to handle my contracts, and it worked very well. But web3j is pretty hard for me since the beginning. I'm using android studio, infura, web3j. Since I don't know very much about ...
1
vote
0answers
109 views

MetaMask returns different error - not longer working

I am calling the MetaMask promt successfully with this: ethereum.enable().then(response => { console.log("ABC"); }).catch(error => { console.log("XYZ") }); However, when I disagree ...
1
vote
2answers
56 views

Why is solidity throwing “Note: The constructor should be payable if you send value. ”, when clearly the issue is elsewhere?

I'm writing a contract on Remix that is able to deploy and track child contracts. Here are the 2 contracts: pragma solidity ^0.5.0; Contract Factory contract ContractFactory{ ChildContract[] ...
1
vote
1answer
1k views

web3 is not defined problem

This is my simple html source code for my website. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewpoint" content="width=device-width, ...
1
vote
1answer
1k views

DeclarationError: Identifier already declared. Two imports import the same ERC721 contract

Im building a contract that uses two contracts that both use the ERC721 zeppelin contract, when I import the two as such: import nonFungableWidthAddedFunctionality1.sol; import ...
1
vote
0answers
296 views

Error encountered during contract execution [Reverted]

i have created this contract https://etherscan.io/address/0xfecf0e91a193e8511ac83d8effda34ae4278f491#code but the problem is when i try to contribute to crowdsale it showing an error, (Error ...
1
vote
0answers
109 views

Error deploying contract to my private network

I keep getting this "Error: The contract code couldn't be stored, please check your gas amount." message when I try to deploy my contract to the blockchain. I read that is a generic error so I'd like ...
1
vote
0answers
52 views

Error: VM Exception while processing transaction: out of gas - How to save gas?

I have a contract that has about ~1.000 lines. But when I try to deploy it, it does not work because of an "out of gas error". I already tried with a limit of the maximum, of 6 million and even 8 ...
1
vote
1answer
9k views

GPU'S Failed cannot create DAG

Last night everything is fine and then this morning I check my mining its's closed I think it was restarted or close accidentally then when I open my pool I have this error. ETH: 5 pools are ...
1
vote
1answer
169 views

Ropsten rejects my sendSignedTransaction function

This is my code: contractNoEvents.methods.myMethod().call(function(err,foo){ if (foo.length > n) { contractNoEvents.methods.myOtherMethod().call(async function(er, bar)...
1
vote
1answer
322 views

Handling require/assert failure errors correctly from a Node.JS app?

I have a getter function in my smart contract that returns one of the string values in statically defined string array. Upon entry to the function, it does a bounds check on the incoming index using ...
1
vote
0answers
713 views

Metamask-Rinkeby Transaction Error. Exception thrown in contract code in Rinkeby?

Can anyone explain why I'm get error every time for 'buyFor' function from my contracts? pragma solidity ^0.4.11; import "./ownable.sol"; contract GLOERC20Coin is Ownable{ string public name; ...
1
vote
0answers
226 views

Token creation and crowdsale

I'm trying to create a token and a crowdsale on Rinkeby I managed to create both but when I want to send ethereum to the crowdsale I get an error: if you submit it may consume all the gas you ...
1
vote
0answers
31 views

Is it possible to be notified about errors in a production contract?

As a smart contract developer, is it possible to listen for errors or throws that happen in the mainnet? The motivation for this question is from an analytics perspective. Events don't work in this ...
1
vote
1answer
59 views

Out of Gas, Bad Jump, Other errors trying to send

I have always used the metamask default settings, however it is not working when I am simply trying to send ether from my etherdelta smart contract back to my ether wallet, so I checked www....
1
vote
0answers
598 views

Etherdelta error when calling withdraw, deposit or transfer

Everything I do with Etherdelta. I get an error. I really don't know where is it coming from. It is pending the whole time.
1
vote
2answers
3k views

What to do if Metamask doesn't show a deposit because it's an “internal transaction”?

This is a follow-up on the question "Do all transactions show in Metamask wallet?" from Sky Hayward, in which Sky asked about transactions that show up as successful on etherscan, yet the ...
0
votes
0answers
7 views

ERC-20 Token Transfer Error (Unable to locate corresponding Transfer Event Logs), Check with Sender

Token was created under ERC223. Every transfer that I have done received: ERC-20 Token Transfer Error (Unable to locate corresponding Transfer Event Logs), Check with Sender. Please help to check and ...
0
votes
1answer
22 views

Passing an array to a function gets misinterpreted by the evm as value=20 causing INVALID_ARGUMENT error

I made an effort to cut out all the irrelevant parts of the code and get a minimal version still able to reproduce the error, these are the 3 smart contracts involved: // SPDX-License-Identifier: MIT ...
0
votes
0answers
4 views

Geth error “Served eth_getBalance”

I had nice running latest geth (1.10.3) and I did a clean exit ctrl+C (it did exited quite fast which is unusual), then started again and geth runs but not syncing and constantly gives warning Served ...
0
votes
1answer
7 views

ParserError: Expected primary expression. ( Red at my last line)

when i try to compile my code i get the ParserError , turns red at my last line. pragma solidity ^0.4.26; library Rainforest { function mul(uint256 a, uint256 b) internal pure returns (uint256) { ...
0
votes
0answers
15 views

Parse error, newbie here, what's going on?

Remix tells me the following code below has a parse error, but no matter how hard I look, not parenthesis or comma is missing! contracts/test.sol:88:62: ParserError: Expected ',' but got identifier ...
0
votes
0answers
5 views

Blockchain failed to sync

I was syncing the blockchain using Geth and it stopped giving this message: Failed to write block data to ancient store err="appending unexpected item: want 5704756, have 5704757" I was ...
0
votes
1answer
16 views

DeclarationError: Undeclared identifier issue

Can't figure out this error. Please help! "DeclarationError: Undeclared identifier. (bool success, ) = recipient.call; value; amount ;(""); ^---^" function sendValue(address ...
0
votes
2answers
34 views

remix “no contract compiled yet” although contract is error free

Im trying to run code on remix. But it's showing "no contract compiled yet" although contract is error free My contract- pragma solidity ^0.8.0; contract Dwitter { //state variables ...
0
votes
0answers
26 views

Solidity compiler,error:not found browser IERC20.sol

Who can halp me with error and codig fleshloan? I try use for my contract http://remix.etherium.org and i have a promlem with compiller,i use code from official docs aave https://www.docs.aave.com/...
0
votes
0answers
13 views

VM Exception while processing transaction - Solved but don't know how

EDIT: I restarted truffle and migrated the contracts once again, and it worked without any errors. But, I don't know how and would love to understand this. Explanation - Owner creates an item, which ...
0
votes
0answers
21 views

“No Contracts Deployed” TRUFFLE ERROR PLEASE HELP!

I really need help! [12:20 PM] i deployed an erc721 smart contract to testnet, it worked fine! Then i deployed it into the live network. It worked. But, i have an other script to mint my tokens. I ...
0
votes
0answers
29 views

Please help with Parsing Expected ',' but got ';'

I have looked far and wide for a solution and have read solidity documentation. Please help me find the parsing error in the code. Thanks in advance. var KiwiCoinSale = artifacts.require('KiwiCoinSale'...
0
votes
1answer
188 views

web3.js Proxy Contract Error Handling

I have been working on error handling recently using the event emitter. If I call a function directly from a contract (using contract.methods.myMethod().send{from: Ganache supplied account}) with an ...
0
votes
0answers
49 views

When trying to sent token Xcel from myetherwallet getting followinf error:

Blockquote Warning! Error encountered during contract execution [Reverted] transaction links: https://etherscan.io/tx/0x7defc28fc1d4e2fce209891370f0d4edc28d386da05a7ef944150cf9b4f81841 https://...
0
votes
0answers
19 views

VM Exception when accessing mapping

I created a contract with a User struct than contains an age, a first name, and a last name. The function getUser() should return this information for an inputted address. But when I call my getUser() ...