Questions tagged [error]

The tag has no usage guidance.

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

https://etcwallet.net/ After logging in, the balance appears as 0etc. https://receipt.emerald.cash/ 9etc appears when searching [closed]

After creating a wallet at https://etcwallet.net/, when the mined etc becomes 1etc, it is automatically transmitted and about 9etc has been accumulated. When I log in to the wallet, the balance comes ...
0
votes
0answers
25 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'...
-1
votes
0answers
19 views

Error: Error: [ethjs-rpc] rpc error with payload {“id”:7540504552793,“jsonrpc”:“2.0”,“params” [closed]

hello need help with this... please Error: Error: [ethjs-rpc] rpc error with payload {"id":7540504552793,"jsonrpc":"2.0","params":["...
0
votes
1answer
20 views

Status: Fail, Out of Gas

Can someone please explain this to me? I tried to mint a NFT. I changed the gas price to low and gas price limit to 32000. It showed me 8 dollars something I minted the NFT. But it shows nothing in my ...
0
votes
1answer
44 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
15 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" : ["...
0
votes
0answers
33 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
16 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() ...
1
vote
1answer
48 views

Ganache Invalid JSON RPC response: “”

Trying to connect Ganache GUI running on port 7545 to web3.js. Getting the below error whenever trying to call any of the functions of web3 - > web3.eth.getBalance("...
0
votes
1answer
56 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 ...
0
votes
0answers
10 views

How to extract revert message from this specific object?

I have the follow error object that was caught in a catch statement Error: execution reverted: Auction owner is not authorized { "originalError": { "code": 3, "data&...
0
votes
0answers
14 views

Not installed Ethereum wallet

When installing the wallet, an error pops up Checksam mismathg in downoalded node MD5 e05524cc4f6e8711645f40ef5921918a Please install the Geth node version 1.8.23 manually Please help.
0
votes
1answer
28 views

Is their any change to move a wallet from an bnb blockchain to an ethereum blockchain?

I transferred some ethereum to my bnb wallet. Later I found out that this bnb wallet is not on the ethereum platform. So I send an amount of ETH to an address similar to the address of the bnb wallet (...
0
votes
0answers
94 views

Always same INSUFFICIENT_OUTPUT_AMOUNT error

I've been trying to swap some DAI which I sent to the contract to WETH. However even after trying to change the contract a bit I always get the same error output: transact to GibIhmHart.runUniswap ...
0
votes
0answers
59 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-...
0
votes
0answers
82 views

ParserError: Expected ';' but got '{' (bool success, ) = recipient.call{ value: amount }(“”);

pragma solidity ^0.6.0; library Address { function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created ...
0
votes
0answers
38 views

Exception errors and contract calls

Noob here. I've set up a test blockchain using Ganache and have successfully deployed a sample contract to one of the addresses in my environment (using Remix). However, when I try to run my python ...
0
votes
1answer
41 views

Deploying Crowdsale.sol - Error

In order to enable purchases of MyToken, where do I include the RATE (token/ETH) such as the below code from Openzeppelin docs on crowdsales into my deploy_contract.js or MyToken.sol? And how to ...
0
votes
1answer
59 views

Remix: ParserError: Expected pragma. import directive, or contract/library/interface definition

I'm trying to use Remix to interact with a suite of contracts. One of the contracts being used is OpenZeppelin's Ownable contract. I copied from the link above, and pasted it into Remix, with a few ...
1
vote
1answer
23 views

Cannot explain runtime Error

When I use the variable minimum in the require statement require(msg.value >= minimum, "Below Minimum"); I get the below error in Remix. However, if I hardcode the require statement with ...
1
vote
0answers
15 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 ...
2
votes
1answer
254 views

Member “push” not found or not visible after argument-dependent lookup in address[] storage ref

I am failing to use the push method against a dynamic array declared as a state variable. How can I do this? I declare a dynamic array of addresses as a state variable like below: contract Sample { ...
0
votes
0answers
24 views

error while trying to deploy a SC on ropsten testnet

I want to test a staking Smart Contract on the ropsten testnet. The code compile successfully on Remix. However, when I try to deploy it, I get the following error: This contract may be abstract, not ...
0
votes
0answers
59 views

Error message shown as [object Object] when use require, how to get actual error message string in Remix IDE Console?

I have used require function as: require(owner == msg.sender, "Sender must be owner"); But in the remix console I got, transact to Contract.setAdmin errored: [object Object] What should I ...
2
votes
2answers
406 views

Ethereum Wallet - Hangs at startup + 403 ws error

I have installed the Ethereum Wallet, Ethereum-Wallet-win64-0-11-1 (zip file), as described in the book. When I start up Ethereum Wallet (testnet Ropsten, syncmode “light”) the wallet seems to load ...
0
votes
1answer
16 views

not implement an abstract parent's methods completely or not invoke an inherited contract's constructor correctly

Having This error while deploying. pragma solidity 0.4.25; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : {{Token ...
0
votes
0answers
314 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 ...
1
vote
1answer
881 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
1answer
929 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 ...
0
votes
1answer
131 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.
0
votes
0answers
11 views

Raise & return error with message if no key found in mapping

I am writing a test that should fail because it looks for a key that doesn't exist on a mapping. How can I raise the error with and error message in solidity? this is the test: it('Should NOT update ...
0
votes
1answer
23 views

Error in code Expected pragma, import directive or contract/interface/library definitio

I am getting the below error when i compile the below code. Using remix compiler version 0.5.11 ****browser/TodoList.sol:7:2: ParserError: Expected pragma, import directive or contract/interface/...
0
votes
0answers
40 views

Error: The send transactions “from” field must be defined!

I get this error, even though I do specify the transaction sender.Here is my code: for(let a=1; a<TEST_ORACLES_COUNT; a++) { await config.flightSuretyApp.registerOracle({from: accounts[a], ...
0
votes
0answers
48 views

Type error, unit256 is not implicitly convertible to expected type struct

Using sol compiler 0.5.1 I am trying to fetch data from old smart contract's function called people, the smart contract is already deployed on the blockchain mapping(address => Person ) public ...
0
votes
0answers
26 views

Trying to deploy a simple contract using node and getting the error: Unhandled Promise Rejection / Contract code couldn't be stored

I am doing an online course and trying to deploy using node. Can anyone help ID what I might be doing wrong. Thank you for any help! The error is below, followed by the js code. iii@iii:~/Digital ...
0
votes
1answer
389 views

While testing wrap & unwrap of ETH to WETH on Kovan ,however the wrap function is fine but unwrap func fails,is anything wrong in my approach?

trx fails at & debug at tenderly pragma solidity 0.5.12; contract WETH9_ { mapping (address => uint) public balanceOf; mapping (address => mapping (address => ...
0
votes
0answers
23 views

How to deploy huge contracts using web3?

I have a huge contract (which exceeds the default contract code size set in Quorum). I have increased the Code size and Transaction size in the Genesis file to 128Mb. The contract works well when ...
2
votes
0answers
30 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
124 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': ...
0
votes
1answer
80 views

Error when sending multiple transactions

I'm having a weird issue with the code below in that sometimes it works and sometimes it doesn't. It seems more apparent when TRANSACTIONS is set to a larger number. I have had it fail AND pass with ...
2
votes
1answer
2k views

Uniswap V2 smart contract integration reverts attempt at swapping ETH for tokens

I'm trying to integrate Uniswap V2 into my contract but my attempts at making a trade (ETH to Token) always gets reverted. Here is my solidity code: pragma solidity ^0.6.0; // Included the ...
0
votes
0answers
36 views

deployment error

everyone! Doing Dapp on Etheryum. When the contract was deployed, the Error: The data field must be HEX encoded data began to fly out. I do it on a site under Web3 \ JS. Thought the old js resource. ...
0
votes
0answers
144 views

Why error 'Fail with error 'Storage: Unpermissioned operator <0xc3d5d60630bc63eb1a07228cc5028cada1cc4c7b>' arises?

I wants to deposit & withdrawal DAI (https://kovan.etherscan.io/address/0xc4375b7de8af5a38a93548eb8453a498222c4ff2) to SOLO Margin(dydx) smart Contract at Kovan testnet (https://kovan.etherscan....
0
votes
1answer
22 views

When i am doing migration, the netwrok name is ganache instead of development and multiple errors are there

D:\>truffle migrate --reset Compiling your contracts... =========================== > Compiling .\contracts\Migrations.sol > Artifacts written to D:\build\contracts > Compiled ...
1
vote
1answer
85 views

Error: Invalid bytes6 value

I'm trying to create a TicketPurchaser application. Here is the whole code for the smart contract, although I think the problem I'm asking about is a type error, most of the code is not important. ...
1
vote
1answer
31 views

Public / Internal modifier spawns error: This type is only supported in the new experimental ABI encoder [duplicate]

I have this code snippet: pragma solidity >=0.5.0 <0.7.0; import "@aztec/protocol/contracts/libs/NoteUtils.sol"; library EscrowUtils { using NoteUtils for bytes; struct Note { ...
1
vote
1answer
56 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
0answers
98 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
2answers
58 views

Etherscan says there is not enough ether, why?

Etherscan says there is not enough ether, why? Arguments, which i enter => requestLoan(3,31,3) and after change account, provideGuarantee(0,3) I have created dApp and how it looks in my code you can ...
0
votes
1answer
5k 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/...

1
2 3 4 5