Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [error]

https://en.m.wikipedia.org/wiki/Error

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Uniswap v3 Mainnet vs Sepolia EvmError: Revert

I'm struggling to solve EvmError: Revert, while calling createAndInitializePoolIfNecessary function on Uniswap v3 NonfungiblePositionManager contract. I have wrote function that contains this code: ...
Neftyr's user avatar
  • 3
0 votes
1 answer
5 views

'DeclarationError: Identifier not found or not unique' when importing contracts from different files

If I write the three contracts that drive me to this error in the same file, everything works fine. It happens both in Remix and VSC. It looks like this: pragma solidity ^0.8.0; contract A{ uint ...
Sergio López's user avatar
1 vote
0 answers
8 views

Catch internal revert

Is it possible to catch a revert in like an internal decoding? For example: function mint( bytes memory data_, address owner_ ) returns(uint) { ... (AmountsIn memory amts, ...
dNyrM's user avatar
  • 918
0 votes
1 answer
31 views

Solidity Debug: Require statement reverts with no error when met, but prints error when not met

Apologies if the title is a little confusing. I'm new to programming in Solidity, and I think there's just some fundamental misunderstanding I'm having on this code, and I'm unable to fix it until I ...
Opsec Optimum's user avatar
0 votes
1 answer
52 views

Calls to self failing when passing structs

When a contract calls itself using the .call method and attempts to pass a struct, it results in a revert with the following error output: "error": "Failed to decode output: Error: data ...
Riley's user avatar
  • 1
0 votes
0 answers
56 views

transaction error execution reverted

I hope someone can help. I bridged some ETH over to the TON network via dedust. I had issues claiming the transaction, which I have now managed to do. However, recipient’s address hasn't got funded. ...
gupeto's user avatar
  • 1
0 votes
2 answers
42 views

Is there a way to test whether an external contract implements (or does not implement) a given interface method?

How would you determine whether a given contract implements a particular interface method without reverting? interface IRandomMethod { function getUint() external view returns (uint); function ...
Ashraile's user avatar
  • 125
0 votes
1 answer
64 views

"Error HH604: Troubleshooting 'missing trie node' issue when forking BSC mainnet using Hardhat

I encountered an issue while attempting to fork the Binance Smart Chain (BSC) mainnet using Hardhat. Here's the command I used: npx hardhat node --fork https://bsc-dataseed1.defibit.io/ However, I ...
adam mr's user avatar
  • 121
0 votes
1 answer
44 views

"Getting 'Promise { <pending> }' Response When Deploying Smart Contract Using Hardhat - How to Resolve?"

I'm encountering difficulties deploying a smart contract using Hardhat. In my deployment script, I'm using ethers.getContractFactory().deploy() to deploy the BinaryvilleRobotsNFT contract. However, ...
varun_63's user avatar
0 votes
0 answers
24 views

General Exception, unable to get compiled [bytecode]

Hi I created a smart contract using Remix, I deployed the contract but now that I try to verify my contract on BscScan I keep getting the following error: Error! Unable to generate Contract Bytecode ...
Rockie Road's user avatar
0 votes
1 answer
16 views

Gnosis error fix - $

Long story short - received payment long ago from a customer, but it was caught up in a gnosis safe error so we couldn't pull the BNB into our wallet. It is sitting here, currently worth $105k. ...
bcj's user avatar
  • 1
0 votes
1 answer
79 views

i got an critical error when i deploy my contract in hardhat

Error: The specified module could not be found. \\?\E:\codings\elonNft\node_modules\@nomicfoundation\edr-win32-x64-msvc\edr.win32-x64-msvc.node at Object.Module._extensions..node (node:internal/...
vasanth's user avatar
1 vote
1 answer
358 views

Fail with errors 'Pancake: TRANSFER_FAILED'

https://bscscan.com/tx/0x41fcd1893c7500ae2ace0ab195bb0c9bbfcfefd05ad794707a65749d358da3df. I don't undestand why my transaction is failed. I fixed my fee limit at 1.500.000 and only 10% was used. If ...
Yanis HERY's user avatar
0 votes
0 answers
26 views

Uniswap Front Runner Scam [duplicate]

I just found out that I may have been scammed. Yea, I'm fucking silly. I followed one tutorial and just to test it out I started with a small amount, but now I cannot withdraw or start the bot. The ...
Burner2023's user avatar
1 vote
1 answer
345 views

How to fix error with deploy my Next.js project?

I have my project that I want to deploy to Vercel but when I'm trying to deploy it I got error Failed to compile. ./node_modules/@wagmi/core/dist/esm/actions/getProof.js Attempted import error: '...
Victor's user avatar
  • 45
0 votes
1 answer
23 views

I am getting error while importing files on Remix IDE from GitHub

Error: not found https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol. I am getting this error while importing the files from OpenZepplin GitHub ...
Jai Prakash Valecha's user avatar
0 votes
0 answers
16 views

cannot estimate gas error when deploying with solidity-create2-deployer

I continuously get the cannot estimate gas error when attempting to deploy a contract using the solidity-create2-deployer contract and I'm clueless as to where the error arises. find my code below ...
web3lisa's user avatar
0 votes
0 answers
52 views

Error While installing Foundry

I'm getting an error while installing Foundry using this command Command: curl -L https://foundry.paradigm.xyz | bash Error: ~/desktop/foundry $ curl -L https://foundry.paradigm.xyz | bash % Total ...
Huzaifa Ahmed's user avatar
0 votes
1 answer
198 views

Forge Testing issue

I am looking to get some tips and advice for my smart contract testing as I am a bit stuck. I am currently using Foundry to test my smart contract for my NFT Marketplace project however since I am ...
EGstacking's user avatar
0 votes
1 answer
106 views

Need help: Although one or more Error Occurred [execution reverted] Contract Execution Completed

iam not able to import this token into metamask. It will be found but after import its not showing up. It seems there is a problem. This is my second buy of a coin. And i need help. https://etherscan....
Nadine K's user avatar
1 vote
1 answer
1k views

Error HH19: Your project is an ESM project (you have "type": "module" set in your package.json) but your Hardhat config file uses the .js extension

Error: Error HH19: Your project is an ESM project (you have "type": "module" set in your package.json) but your Hardhat config file uses the .js extension. Rename the file to use ...
Plair's user avatar
  • 71
1 vote
0 answers
21 views

Foundry Access denied error

I get this access denied error when I run forge test in my VS Code terminal.
EGstacking's user avatar
0 votes
1 answer
23 views

Facing Issue with test files in Hardhat

I am trying to build a Dapp with hardhat installed in my vs Code my smart contracts parts are over and it gets compiled but I am facing a problem with test files I don't know why they are not getting ...
Abhik Chanda's user avatar
0 votes
1 answer
14 views

Are errors emitted as logs on the blockchain?

Say if an error is caused due to a revert statement will it be emitted as an event so front end application will be aware or not?
davidastro's user avatar
0 votes
0 answers
109 views

Failed to extract foundry config:

I am currently creating a new project using foundry(used hardhat before this) and I am currently getting this error when I run forge build: failed to extract foundry config: foundry config error: ...
EGstacking's user avatar
1 vote
3 answers
385 views

Trying to create a soulbound token. Keep getting two errors

I'm trying to create a soulbound (non-transferable NFT) token on Solidity. Here is my code so far. // SPDX-License-Identifier: MIT pragma solidity >=0.4.17 <0.9.0; import "@openzeppelin/...
NFTSamurai's user avatar
0 votes
1 answer
25 views

Trying to issue ERC 3475 tokens

I'm trying to issue ERC 3475 tokens from a relatively simple contract using Remix. The contract compiles and deploys when gas is optimized, but when I try to issue the tokens I get an error of "...
Xavier83's user avatar
0 votes
1 answer
448 views

'value at "/0" is required'

const {Web3} = require("web3"); require("dotenv").config(); const sPrivateKey = process.env.SENDER_PRIVATE_KEY; const sPublicKey = process.env.SENDER_PUBLIC_KEY; const rPublicKey =...
seojunchian's user avatar
0 votes
1 answer
81 views

Unknown key "viaIR"

Unknown key "viaIR" Error HH600: Compilation failed I'm encountering the above error when I try to compile. Here is my hardhat.config.ts import { HardhatUserConfig } from "hardhat/...
Ruwaifa Tahir's user avatar
0 votes
0 answers
85 views

Hardhat MetaMask Error: Transaction decoding is not available for chainId 31337

I created a Real-Estate Decentralized Contract and connected it with Vite-React using ethers.js. I'm using Meta Mask and HardHat local network for Hardhat free Ether. I import 5 wallets of Hardhat to ...
Huzaifa Ahmed's user avatar
2 votes
0 answers
150 views

web3.exceptions.BadFunctionCallOutput: Could not transact with/call contract function

I deployed simple helloworld code and want to call contract function. It must return "Hello World!" My contract is pragma solidity >=0.5.16; contract HelloWorld { ...
IRE's user avatar
  • 21
0 votes
0 answers
18 views

Need help testing my smart contract. Error cannot read undefined

I am testing my smart contract and I am getting this Assertion Error. I do not know or understand what it means and after searching how to fix it online and making some adjustments to my code, I am ...
EGstacking's user avatar
0 votes
1 answer
352 views

Hello, I want to sell tokens, it gives me the same error

The contract function "swapExactTokensForTokensSupportingFeeOnTransferTokens" reverted with the following reason: PancakeLibrary: INSUFFICIENT_INPUT_AMOUNT
علی اکبر اکبری سلیم's user avatar
1 vote
1 answer
135 views

Generic "Error" with no further message when trying to interact with ERC-4337 Entry Point from Remix IDE

I try to learn basics of ERC-4337 standard, so I deployed a simplest possible example of a contract implementing account interface on Goerli testnet - it just has one operation that changes its ...
cosiek's user avatar
  • 21
0 votes
0 answers
25 views

Safe CLI Transaction - Invalid Syntax

I sent an nft to the wrong chain (eth) so I created a new gnosis wallet on the correct chain (optimism) with the same address. I am now trying to send that nft using safe cli; I am using the following ...
Astral41's user avatar
0 votes
1 answer
120 views

Transaction Builder: Error Message: GS013

I sent an nft to the wrong chain (eth) so I created a new wallet through the loom video on the correct chain (optimism). Now I am trying to send my nft from my newly created wallet on optimism with ...
Astral41's user avatar
0 votes
0 answers
73 views

before each" hook for "sets the aggregator addresses correctly": TypeError: (0 , ethers_1.getAddress) is not a function

I am getting TypeError: (0 , ethers_1.getAddress) is not a function when i run yarn hardhat test on the first part of unit testing here is FundMe.tets.js const { deployments, ethers, getNamedAccounts ...
kartik's user avatar
  • 1
0 votes
1 answer
203 views

Error when deploying my contract and interact with him

Here is the error message : Deploying, please wait... BaseContract { target: '0x80f4D1df2Da11Ca9437A01519d3972d07E54A43E', interface: Interface { fragments: [ [ConstructorFragment], ...
Marsattak's user avatar
0 votes
1 answer
474 views

TypeError (0, ethers_1.getAddress) is not a function

I keep getting this TypeError(0, ethers_1.getAddress) is not a function while running my test for my smart contract and I am very confused on how to solve it. On top of that, for my create listing ...
EGstacking's user avatar
0 votes
1 answer
310 views

error: "Transaction has been reverted by EVM"

I'm fairly new to Solidity and coding overall. I'm going through a Udemy course and I ran into an error which I can't find the solution for. I deployed a contract on the Sepolia test network from ...
Arad11222's user avatar
0 votes
1 answer
72 views

ERC20 token transfer failed When getting called by a smart contract

I'm developing a smart contract in Remix, and it is compiling correctly, but every time I try to execute functions related to the transfer function from my token ERC-20, it returns me an error saying ...
biel Serrat's user avatar
0 votes
0 answers
101 views

MetaMask app/browser SSL Error (local server HTTPS testing)

Creating a dApp using Vite; within the config file I've imported mkcert to produce SSL certs. I've also installed these on my mobile device. I have no issues at all using the website/dApp in Chrome (...
HAT0ken's user avatar
0 votes
1 answer
108 views

Getting an Unexpected Token error trying to execute a transaction (Tenderly simulation works fine)

Getting this error trying to execute a transaction on the gnosis. {"code":-32603,"message":"Unexpected token '<', "<!DOCTYPE "... is not valid JSON","...
pbm's user avatar
  • 1
1 vote
0 answers
46 views

Indexed expression needs to be a type, mapping, or array

Just a quick question regarding an error in my code. I am getting a indexed expression needs to be a type, mapping, or array error for the code I posted below. I am very confused. I tried to create a ...
EGstacking's user avatar
2 votes
1 answer
422 views

It is safe to use allowUnlimitedContractSize: true?

I'm trying to deploy with Hardhat a Smart Contract which has too much code, even after refactoring and using libraries. The only solution would be a total refactor following the diamond pattern, or ...
Alexander Herranz's user avatar
0 votes
2 answers
41 views

Unable to withdraw funds from NFT contract

I am unable to withdraw funds from my NFT contract, appreciate your help, I am not a dev myself and the dev team could not help so far, here is the link to the error: https://dashboard.tenderly.co/...
A.L.'s user avatar
  • 1
0 votes
0 answers
35 views

Token fee in my contract error in pancakeswap

I have created a logic in my contract by modifying the transfer function, so that it debits from the total amount arriving the taxes I need, then those taxes are sent to the same contract and ...
LouiLou's user avatar
0 votes
2 answers
817 views

"Failed to decode output: Error: hex data is odd-length (argument=\"value\", value=\"0x0\", code=INVALID_ARGUMENT, version=bytes/5.7.0)"

I used these functions for my TicTacToe contract but it gives an error. This contract uses Minimax algorithm to find optimal way to play against a player. I have to use makeMoveY function inside the ...
umut_satir's user avatar
0 votes
0 answers
57 views

getting error when trying to add liquidity

So I tried to add liquidity in Rocketswap for the Basechain, in the contract I used the router adress of Rocketswap. But I get this error, I have a feeling it has to do with the Transfer_from function....
ocean's user avatar
  • 1
0 votes
0 answers
28 views

bug in the contract/I cant deploy but I dont see it it fails when I want to deploy it its not a gas problem

/** *Submitted for verification at Etherscan.io on 2023-04-24 */ /* Your Name Token is a cryptocurrency inspired by the popular anime movie "Your Name", which has gained the admiration ...
ocean's user avatar
  • 1

1
2 3 4 5
10