Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
4answers
7k 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 ...
0
votes
1answer
256 views

Gas estimation errored

When trying to deploy a contract, an error appears: "Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending? ...
0
votes
2answers
362 views

Cannot find module react-bootstrap/lib/Breadcrumb

I'm trying to figure out an issue with this tutorial that i'm following, whenever I try to use truffle test within the CMD in the defi-tutorial folder, it comes up with the issue in the header, cannot ...
8
votes
3answers
10k views

Solidity initialize memory array of fixed size

Using solidity 0.4.15, there is a function that takes a number and returns array of fixed length called traits: function splitN(uint256 n) constant returns (uint8[12]) { uint8[12] memory traits = ...
0
votes
1answer
668 views

Cannot find module 'fs-promise' Error when importing a smart contract instance

I get this error when I try to open a page in the DApp I'm developing. Error: Cannot find module 'fs-promise' Require stack: - /Users/eimanalwahhabi/Desktop/RecycleChain/node_modules/swarm-js/lib/api-...
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
18 views

Uncaught TypeError: Cannot read property 'contract' of undefined

I'm getting this error. Can someone please help me Uncaught TypeError: Cannot read property 'contract' of undefined at add_details ((index):140) line:140--> var myContract = new Web3.eth.Contract(...
1
vote
0answers
9 views

What Standard RPC Errors Should I Handle?

Is there documentation that lists ALL the types of web3 exceptions that can be thrown by an RPC endpoint? eg. gas price too low, tx already known, etc.? Taking it a step further than that, is there ...
2
votes
1answer
2k 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
1answer
147 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:...
0
votes
1answer
232 views

transfer/send error cases

I have a (noob) question on the usage of transfer and send. I have seen that transfer is equivalent to require(x.send(k)); When I use send() I know that I have to check whether there was an error ...
1
vote
1answer
4k views

Uniswap/Pancakeswap SWAP swapExactTokensForTokens / swapExactETHForTokens FAILED (Sniping Bot)

I'm a beginner and for the past few days I have tried to recreate this tutorial: https://www.youtube.com/watch?v=a5at-FEyITQ At first I tried to implement it on PancakeSwap, but got a Transaction ...
0
votes
1answer
18 views

splitting contract in data and application contract

I made 2 contracts in 2 different solidity files. Lets for simplicity assume the contracts are called A and B. A contains data and some simple function calls, B contains more complex function calls. ...
0
votes
1answer
734 views

address.transfer(value) is throwing error in solidity contract.

I am building an approval contract in Remix and have been stuck on this issue. When I try to transfer wei using address.transfer(value), it throws an error. I have marked it in the code below. ...
0
votes
0answers
13 views

Error changing smart contract [duplicate]

When I try to compile my smart contract ill get an error. I hope someone can help me changes the contract. CompilerError: Stack too deep, try removing local variables. --> HeroRat.sol:1046:80: | ...
0
votes
0answers
89 views

Fail with error 'TransferHelper: TRANSFER_FROM_FAILED' when transfer to other wallet

I was able to make a first transaction since I needed to send my tokens to DxSale, I need to send a small amount to DxSale, I am trying from Metamask but now it does not allow me to make any ...
0
votes
1answer
219 views

Can not Open Ethereum Wallet on Window 10

I did trying install soft Ethereum wallet on windows 10, But I can't open the program. It looks like the picture below. Help me pls, Thank everyone.
1
vote
0answers
12 views

Errors in computation of blockchain algorithms, are detectable?

There is a class of fault-tolerant methods named Algorithm Based Fault Tolerance (ABFT), which augments input data with redundancy. Then if any errors occurs when those data are processed, just be ...
0
votes
1answer
1k views

Can not verify contract on etherscan.io “Error! Unable to generate Contract ByteCode and ABI”

I am getting the error "Error! Unable to generate Contract ByteCode and ABI" When I try to verify this code. I have split it into two pieces as I import it but not sure how to include it all in ...
0
votes
0answers
56 views

Gas Error on Uniswap Bot

I'm new to all this and I'm trying to code a bot. The bot is picking up new listings on uniswap but when it goes to put through a transaction I'm getting a gas error. I'm getting.. (node:7820) ...
0
votes
0answers
91 views

Remix: Gas estimation errored with the following message (see below). (…) execution reverted

I am trying to deploy a smart contract on remix written in VYPER. The code for the simple open auction comes from the vyper documentation website. Remix compiles the code perfectly fine. However, when ...
0
votes
1answer
32 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) { ...
1
vote
0answers
29 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 ...
0
votes
1answer
41 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
0answers
33 views

I am trying to use chain link using remix

I'm getting this error /* Internal exception in StandardCompiler::compile: /root/project/libsolidity/interface/CompilerStack.cpp(93): Throw in function solidity::frontend::CompilerStack::CompilerStack(...
1
vote
0answers
13 views

what is _; in solidity, well after every require statement this is follwed and why? [duplicate]

modifier onlyOwner() { require(isOwner()); _; } what is the use of the the underscore here and why it is used after almost every require statements!
0
votes
0answers
112 views

Problem starting BSC Full Node - GraphQLPort is not defined in node.config

Trying to start running a full node as per the steps here: https://docs.binance.org/smart-chain/developer/fullnode.html Upon running the last step, "Start your full node" ## start a full ...
0
votes
1answer
35 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 ...
1
vote
0answers
351 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 ...
0
votes
0answers
9 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 ...
1
vote
1answer
10k 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
880 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 ...
2
votes
1answer
48 views

Are there well-solved patterns and practices for handling errors in Solidity?

In the spirit of Are there well-solved and simple storage patterns for Solidity?... Are there known, battle-tested practices for how to deal with errors in large Solidity codebases? It's common in ...
0
votes
1answer
126 views

Getting error on sending ether/wei in payable function

error: transact to CampaignFactory.createCampaign errored: VM error: revert. revert The transaction has been reverted to the initial state. Note: The constructor should be payable if you send value. ...
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, ...
0
votes
0answers
16 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
635 views

Getting this error `ValueError: {'code': -32000, 'message': 'insufficient funds for gas * price + value'}` on raw transaction send

I know for sure I have enough eth on account. Some prelims: I am signing a raw transaction with web3.py, like so: transaction = { 'to': '0xSENDHEREFINALLYPLEASE', 'value': 1000, 'gas': ...
1
vote
1answer
29 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) { ...
0
votes
1answer
2k views

Transaction Error. Exception thrown in contract code. (MetaMask)

When I use Ganache it runs with no problem and MetaMask too. When I run my contract in my private Ethereum network (Geth). When I use a function from my contract the MetaMask gives me this error (...
1
vote
2answers
93 views

What is a nightly build in solidity? [closed]

I have received an error that says so: ParserError: Source file requires different compiler version (current compiler is 0.8.3+commit.8d00100c.Emscripten.clang) - note that nightly builds are ...
0
votes
1answer
3k views

Do all transactions show in metamask wallet?

Bare with me I'm new here :) I've been selling art on Rarible but I can't tell if the Eth is going into my account. Because I'm minting nft's I can't keep track of my Eth total. My wallet activity ...
2
votes
5answers
2k views

“before all” hook: prepare suite

This is the error code: Adoption.sol code: TestAdoption.sol code: I dont know how to solve this, it fails when i try to use this comand: "truffle test". Thanks.
1
vote
1answer
60 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....
0
votes
1answer
29 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
0answers
14 views

Error in running truffle test [duplicate]

D:\Truffle Projects\payable>truffle test Compiling your contracts... =========================== > Compiling .\contracts\First.sol > Compiling .\contracts\Migrations.sol > Compiling .\...
0
votes
1answer
257 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 ...
1
vote
0answers
171 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
1answer
16 views

“{” error in remix ide [closed]

Please help. I don't get what the following error means: "browser/DGC1.sol:102:1: ParserError: Expected pragma, import directive or contract/interface/library/struct/enum definition. {contract ...
0
votes
1answer
6k views

Getting error -> unexpected token. You may need an appropriate loader to handle this file type

root@kali:~/Documents/oraclize-test# npm run dev truffle-oraclize-api@0.0.2 dev /root/Documents/oraclize-test webpack-dev-server ERROR in ./app/javascripts/app.js Module parse failed: /root/...
0
votes
2answers
335 views

Assertion error running truffle test

I can't seem to understand where this error comes from. Maybe someone can help My token solidity file : pragma solidity >=0.4.2 <0.6.0; contract LairToken { //Name string public ...

1
2 3 4 5