Questions tagged [bad-jump]

The tag has no usage guidance.

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

Ethereum noob. Internal TX not reflecting in balance on metamask. “bad jump destination” error. Going crazy

New to the Ethereum environment. Using metamask, I initiated three transfers of STA for ETH. The STA was deduced from my wallet, however the ETH I was to get in return is not showing. The only new ...
1
vote
1answer
81 views

What does `JUMP [out]` stand for in Remix IDE?

After compiling this contract: pragma solidity ^0.4.25; contract Simplest { constructor() public { } function two_paths(bool _a) public pure returns (uint) { if (_a == true) { ...
0
votes
3answers
130 views

Continuosly receiving Bad Jump error

I am continuously receiving "Bad Jump" Error. I followed a guide found here: Why did my withdrawal from EtherDelta fail? and have figured out my token value for deposit and withdraw is set to 0. Here ...
0
votes
1answer
74 views

Warning! Error encountered during contract execution [Bad jump destination] / missing ETH

Can some one please advise if I understand this correctly. This evening, I received the above error warning with a transaction. The relevant ETH is currently missing from my wallet. Do I understand ...
1
vote
1answer
205 views

Bad Jump Destination, how can i tell programmatically?

Let's say i'm programmatically making a transaction to a contract. How can I tell (programmatically) that the confirmed transaction has a Bad Jump Destination? Right now, the only way I know of is ...
2
votes
1answer
3k views

Why did my withdrawal from EtherDelta fail?

I have 10 VERI coins on EtherDelta. I tried to transfer them to my wallet so I can then make my next move to transfer them to somewhere else. Over 4 hours has passed and these tokens have not moved ...
2
votes
1answer
99 views

ENS testnet contract - bad jump when following quickstart tutorial

Following the quickstart guidance using Ropsten testnet, I have done the following on a synced geth console: > loadScript('/my/path/to/ensutils-testnet.js'); > new Date(testRegistrar....
3
votes
1answer
5k views

Bad Jump Destination

After I purchased PPT on etherdelta and my PPT was in my wallet, I pressed the wrong tab in order to exit etherdelta back to MEW. I realized my mistake and was able to export MEW out of etherdelta ...
2
votes
1answer
668 views

Why does Solidity use an invalid jump instead of an invalid opcode for throws?

In Solidity's 0.4.9 release: Internal exceptions are now thrown by using an invalid opcode (0xfe), manual exceptions still use an invalid jump. and Code generator: Internal errors (array out ...
3
votes
0answers
60 views

EVM Invalid JUMP when using webpack app

I am creating a frontend app based on Truffle + Webpack, following this tuto : http://truffleframework.com/tutorials/building-testing-frontend-app-truffle-3, and have no uderstanding of JavaScript at ...
2
votes
0answers
97 views

VM jump when accessing statically set variables

Hey it seems I get a jump error when I try to access any variable not set through a parameter in the constructor. amountRaised is throwing a jump error below as I try to statically set the value. ...
1
vote
1answer
304 views

Sending a transaction with a value parameter to a contract method

Here's a simple contract: pragma solidity ^0.4.0; contract Test { uint public sum; function makeRequest(){ sum += msg.value; } } Here's JS code: function onLoad(){ const web3 =...
14
votes
1answer
1k views

Bad Jump Destination error

I wrote what I thought was a dead simple contract - a saving jar... you add value ("save") into the jar and when the balance of the contract reaches a certain amount ("target"), then I am able to ...
4
votes
1answer
1k views

Explain the invalid JUMP error [duplicate]

There are a number of questions relating to the invalid JUMP error. I get this when debugging a solidiy contract on the testrpc with geth command line: Error: VM Exception while processing ...
13
votes
1answer
653 views

oraclize 'VM Exception: invalid JUMP'

Here is my smart contract that uses oraclize to buy bitcoin with ether. pragma solidity ^0.4.0; import "https://github.com/oraclize/ethereum-api/oraclizeAPI_0.4.sol"; contract BuyBitcoin is ...
6
votes
1answer
1k views

invalid JUMP after upgrading truffle & testrpc

I have a contract with a method add() where I read the value msg.value and change the contract informations. before upgrading, I was calling this method in my test with return contract.add({from: ...
9
votes
1answer
2k views

VM Exception: invalid JUMP when I call a second function

I'm experimenting with Solidity Browser Here is my contract code: contract Test { mapping (address => uint256) weismap; function bet(uint vote) payable returns (uint256 weis) { ...
3
votes
1answer
681 views

Invalid jump destination error when attempting to transfer The DAO tokens

I transfered DAO tokens from a Mist wallet to another address and got this error: The following error(s) were encountered : [323] invalid jump destination (PUSH1) 2 The TxHash is ...
25
votes
4answers
4k views

Why does a Solidity throw consume all gas?

When you throw an exception, all gas is consumed. What is the rationale for this design decision?
10
votes
1answer
561 views

Bad jump array solidity and data location

I'm having a strange issues with an array inside a struct. I will copy you the example code, so that you can understand: Foo[] public foos; struct Foo { uint fooX; uint[] fooArray; } ...
12
votes
2answers
5k views

What does a “bad JUMPDEST” error mean?

When I send a transaction to call my contract, it's causing a bad JUMPDEST error. The Ethereum wiki says this error is caused when a JUMP instruction jumps to a location that wasn't marked as a jump ...