Questions tagged [error]

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

Filter by
Sorted by
Tagged with
1 vote
2 answers
64 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
15 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
35 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
21 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
27 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
51 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
8 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
36 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
0 votes
1 answer
69 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
  • 1
0 votes
0 answers
15 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
33 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
16 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
48 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
108 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
127 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
54 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
35 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
63 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
10 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
82 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
30 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
17 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
381 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
46 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
22 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
0 votes
0 answers
11 views

currency.methods.transfer is not a function

let cost = CONFIG.WEI_COST; var _pid = "0"; let contract = "0x3b85A341F79764821cD5c0672A4fD630c8F0DdA2"; var erc20address = await blockchain.smartContract.methods....
Jeremy's user avatar
  • 1
0 votes
1 answer
18 views

How can I inheritance an interface without abstract?

// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.19; import "./IERC20.sol"; abstract contract Lock is IERC20 { string name; string symbol; uint8 decimals; ...
nima's user avatar
  • 3
0 votes
1 answer
14 views

Hello. Is token mint allowed in this snippet? Or can it be mint again?

function mint(address user, uint256 value) external onlyOwner { require(user == OWNER, "NOT_OWNER"); balances[user] = balances[user].add(value); totalSupply = totalSupply.add(value); ...
Azimov Zaur's user avatar
0 votes
0 answers
129 views

I want to fork some memecoin in arbitrum goerli but I have some errors

Alert This contract may be abstract, it may not implement an abstract parent's methods completely or it may not invoke an inherited contract's constructor correctly. Gas estimation failed Gas ...
dusk081's user avatar
0 votes
0 answers
36 views

BSC Testnet and ETH Testnet, I want to copy/fork a contract in eth which is evermoon, but I always get an error with the gas and it always fails

This is the error it gives me, can you help me fix this problem, I adjust the gas limit, it started from 3000000, to 30000000, but still the transaction failed. I tried in bsc testnet using ...
Penny Coin Hunter's user avatar
0 votes
2 answers
103 views

Calling Aave Lending Pool V2 "Borrow" function returns "reverted with reason string 59"

My smart contract is trying to use stETH as collateral to borrow 250 WETH on the Aave Lending Pool V2, but the borrow function reverts with code 59: BORROW_ALLOWANCE_NOT_ENOUGH = '59'; // User borrows ...
MasterShake20's user avatar
1 vote
1 answer
58 views

npm ERR! code E404

I am trying to run the hardhat commands such as npx hardhat or npx hardhat accounts but they only result in the same error: I am a beginner at this and have no idea what is going wrong. Can anyone ...
Isheta Aggarwal's user avatar
2 votes
2 answers
302 views

what is the correct way to define a custom error

I am someone new to Solidity and going through the custom errors part with REVERT I have found examples where the word "ERROR" is thrown inside CONTRACT pragma solidity 0.8.18; contract ...
Diego Aaron's user avatar
0 votes
0 answers
13 views

Truffle not finding any functions (uncaught TypeError) or acknowledging debug commands (uncaught referenceError) on WSL

I'm trying to get started with using Truffle but I keep running into issues with the SimpleStorage contract and getting Truffle to work. I'm able to deploy the basic SimpleStorage contract and do x = ...
birdbamboo's user avatar
0 votes
1 answer
63 views

Deploying Contract to Solidity shows only one function called "CALLDATA"

I hope someone can help me as there might be an easy solution. I just started getting into writing smart contracts and thought the best way to learn is by looking at some Contracts, deploying them and ...
magicblade305's user avatar
0 votes
1 answer
12 views

Can anybody tell me how to fix this error - if it's possible

Error: Type uint256 is not implicitly convertible to expected type bool. I understand the call function is better used than transfer. How can I explicitly fix this error and use the call function?? ...
Zak Sauve's user avatar
0 votes
0 answers
55 views

How to get the error message from the require statement?

I am using this test contract on Remix IDE // SPDX-License-Identifier: MIT pragma solidity 0.8.0; contract testfunction{ function test() public pure{ require(false,"Testing ...
sounxk's user avatar
  • 1
0 votes
2 answers
193 views

Stuck transaction tried everything!

So basically, my transaction got stuck, 0x5a370170b66b3748665d6615363d6d8710f692bae87ffbcf5a9dd839029847d8 tried to cancel transaction, speed up etc doesn't work, tried to resubmit transaction via ...
Alex's user avatar
  • 3
0 votes
1 answer
179 views

Error while deploying smart contract on mainnet of ethereum

when I deploy a smart contract on Goerli testnet then it will easily be deployed but when I try to deploy the same contract on mainnet then it gives me this particular error even I have ethers in my ...
Afaq Ahsan's user avatar
0 votes
0 answers
20 views

ERC 20 Remix Gas Allowance ERROR

I have this basic contract made on Openzeppelin Wizard, but everytime I try to deploy it on Mainnet i get the same error " exceeds gas allowance". I succesfully deployed it on Goerli. I've ...
Paul Suciu's user avatar
0 votes
2 answers
49 views

Mock3Aggregator.sol refuses to compile

I am currently working on deploying a contract in my local hardhat network, the files below: MockV3Aggregator.sol - the smart contract pragma solidity ^0.6.0; import "@chainink/...
Dhaniel's user avatar
0 votes
1 answer
568 views

Error: Returned error: nonce too low

const Web3 = require('web3'); const { ethers } = require('ethers'); const { Web3Provider } = require('@ethersproject/providers'); // Virtual addresses const fromAddress = '...
Amin Hlel's user avatar
0 votes
1 answer
24 views

ParserError in solidity

I wrote the following contract (for educational purposes): // SPDX-License-Identifier: MIT pragma solidity 0.8.8; contract Coin{ holders[] public investors; mapping(address=>...
Fawzy Hegab's user avatar
0 votes
1 answer
70 views

AggregatorV3Interface Error Troubleshooting

// SPDX-License-Identifier: MIT pragma solidity >=0.6.6 <0.9.0; // import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; pragma solidity ^0.8.0; interface ...
Nkemjieme Joel's user avatar
0 votes
1 answer
97 views

Error: cannot estimate gas

when calling the following code from a js script a get "Error: cannot estimate gas; transaction may fail or may require manual gas limit " , how to fix this error ? : function ...
adam mr's user avatar
  • 61
0 votes
0 answers
115 views

Error: Invalid JSON RPC response: "" at Object.InvalidResponse

I am trying to make a voting system using blockchain. I am using ganache to deploy the smart contracts. I made connection using web3.ts import Web3 from "web3"; import data from "../...
Khushi's user avatar
  • 1
0 votes
2 answers
104 views

Sent ETH to a multisig wallet of wrong network

I made a mistake to sent 4.32ETH from Arbitrum One to a Ethereum safe wallet(eth address: 0xb393D80cAB42233Ba1E2EE1d0cac18e10e20ADD6), the safe wallet creation hash is ...
Fly07's user avatar
  • 1
1 vote
1 answer
294 views

Error: call revert exception (method="admin()", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION)

I was trying to play with proxy pattern. But got stuck with this error. Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="admin()", data="...
Vishwas Prakash's user avatar
2 votes
0 answers
30 views

Having to cancel and resent requests b/c of client-side timeouts

Curious how often people are running into this issue? Aka either you never end up receiving a response OR, you have keep sending requests over and over to the node which is expensive and time-...
A. Gupta's user avatar
  • 308
3 votes
1 answer
54 views

Why does Remix does not show the description of the error anymore?

I am trying to run one of the methods of my smart contract using Remix and I am getting the following: Why is not possible anymore to see if this is failing on a require, with the right description ...
Falcon Stakepool's user avatar

1
2 3 4 5
9