Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
516 views

Error creating an ERC20 TOKEN - GAS LIMIT EXCEEDED

I've been trying to create an erc20 token experimentally, I've been trying to follow this tutorial . pragma solidity ^0.4.4; contract Token { /// @return total amount of tokens function totalSupply(...
0
votes
1answer
52 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....
5
votes
1answer
3k views

Web3ProviderEngine does not support synchronous requests while : Running migration: 2_deploy_contracts.js

I am new to all this, spent over 15hrs in the past 24 hrs to deploy based on directions here : https://blog.zeppelin.solutions/how-to-create-token-and-initial-coin-offering-contracts-using-truffle-...
1
vote
1answer
107 views

Solidity IDE Parser Error on Token Name

Getting this in Solidity: browser/ballot.sol:121:16: Parser Error: Expected Primary Expression. Here is my code, says that it is the name line with the parser error function ERC20Token( ) { ...
3
votes
1answer
469 views

What is the advantage of using require instead of return or revert for error handling?

As is well documented, require is preferred over assert for error conditions, eg. Difference between require and assert and the difference between revert and throw Solidity might someday include the ...
0
votes
1answer
450 views

Recover Ethereum holding sent to wrong address due to entry error

I attempted to transfer my Etererum holdings from Bitcoin to an address and entered a wrong digit in the address. Coinbase shows transaction complete. How can I recover?
1
vote
0answers
595 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.
2
votes
1answer
279 views

What happens when a function call fails within my contract method?

I am mostly interested in the following aspects: does the entire stack get unwind? if the entire stack gets unwind does this lead to all the changes made to the state by the contract get reverted? do ...
3
votes
2answers
788 views

What are the ways in which a transaction can fail and what happens when it fails?

What are the reasons transactions can fail and by this I mean all different types of transactions, i.e. payments EOA to EOA, contract function calls (from EOA or from other contracts) or other types ...
1
vote
1answer
565 views

How to check if a transaction has completed correctly or has been rejected by some assert check [duplicate]

We have developed a simple Smart Contract which offers this following public transaction method: function bid(uint256 _userCode, uint256 _amount) public { assert(_userCode> 0); ...
1
vote
3answers
1k views

authentication needed: password or unlock

We're using Microsoft Azure, and NodeJS on the server. When we address Microsoft Azure via NodeJS, sometimes we get the 'Password or Unlock' error. But when we use Truffle and address the same setter, ...
0
votes
1answer
1k views

Check for error in transaction with web3js

If you look at this transaction in etherscan.io you can see that it notes that the transaction has an error Warning! Error encountered during contract execution [Bad instruction]. Same status can be ...
7
votes
2answers
2k views

Conversion of address to string in Solidity

The Solution given in Convert address to string did not help. Motive: To convert an address to string type so that I can use it as a parameter to a function for which string type is necessary. Code ...
3
votes
2answers
1k views

Consuming require() errors in web3.js client

Using require helps in validating user inputs before an action can be taken. However, it seems not many options exist to handle the scenario when require indeed returns false. The example mentioned in ...
1
vote
2answers
904 views

Remix -> Function call: Gas required exceeds limit

I keep gettting a "Gas exceeds limit" on a simple function trying to transfer ERC20 Tokens from one wallet to another. My first question is what is the most efficient way to debug such an error ? ...
4
votes
2answers
6k 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 = ...