0
Hello When I try to deploy below contract i get this error 

 Open new block failed with error Error(Engine(FailedSystemCall("Engine error (Failed to make system call: Bad jump destination 0)")), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } }). This is likely an error in chain specificiations or on-chain consensus smart contracts.
pragma solidity ^0.4.8;
// Some addresses are admins.
// Admin can add or remove another admin or a validator.
contract AdminList {
// EVENTS
event ValidatorsChanged(bytes32 indexed parent_hash, uint256 indexed nonce, address[] new_set);
event Report(address indexed reporter, address indexed reported, bool indexed malicious);
/// Admin status.
mapping(address => bool) public isAdmin;
/// Last block at which the validator set was altered.
uint public lastTransitionBlock;
/// Number of blocks at which the validators were changed.
uint256 public transitionNonce;
// Current list of addresses entitled to participate in the consensus.
address[] public validatorsList;
// Tracker validator indices.
mapping(address => uint) validatorIndex;
// Each validator is initially supported by all others.
function AdminList() {
isAdmin[0xf3bc0795dd0972b030def04ecd18fa1f00b5ff45] = true;
validatorsList.push(0xf3bc0795dd0972b030def04ecd18fa1f00b5ff45);
for (uint i = 0; i < validatorsList.length; i++) {
address validator = validatorsList[i];
validatorIndex[validator] = i;
logTransition();
}
}
// Called on every block to update node validator list.
function getValidators() constant returns (address[]) {
return validatorsList;
}
function logTransition() private {
ValidatorsChanged(block.blockhash(block.number - 1), transitionNonce, validatorsList);
}
// ADMIN FUNCTIONS
// Add a validator.
function addValidator(address validator)  {
validatorIndex[validator] = validatorsList.length;
validatorsList.push(validator);
logTransition();
}
// Fallback function throws when called.
function() payable {
throw;
}
}

also find my genesis file

{
    "name": "Nesten",
    "engine": {
        "authorityRound": {
            "params": {
                "stepDuration": "5",
                "validators" : {
                    "multi": {
                        "0": {
                            "list": ["0xf3bc0795dd0972b030def04ecd18fa1f00b5ff45"]
                        },          "130": {
                "contract": "0x11ddf25f162d65903213295b578201a19d0fe62c"            }
                    }
                }

            }
        }
    },
    "params": {
        "gasLimitBoundDivisor": "0x400",
        "maximumExtraDataSize": "0x20",
        "minGasLimit": "0x7A1200",
        "networkID" : "0x2323",
        "eip155Transition": 0,
        "validateChainIdTransition": 0,
        "eip140Transition": 0,
        "eip211Transition": 0,
        "eip214Transition": 0,
        "eip658Transition": 0,
        "eip150Transition": "0x0",
        "eip160Transition": "0x0",
        "eip161abcTransition": "0x0",
        "eip161dTransition": "0x0",
        "eip98Transition": "0x7fffffffffffff",
        "maxCodeSize": 24576,
        "maxCodeSizeTransition": "0x0"
    },
    "genesis": {
        "seal": {
            "authorityRound": {
                "step": "0x0",
                "signature": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
            }
        },
        "difficulty": "0x20000",
        "gasLimit": "0x7A1200"
    },
    "accounts": {
        "0x0000000000000000000000000000000000000001": { "balance": "1", "builtin": { "name": "ecrecover", "pricing": { "linear": { "base": 3000, "word": 0 } } } },
        "0x0000000000000000000000000000000000000002": { "balance": "1", "builtin": { "name": "sha256", "pricing": { "linear": { "base": 60, "word": 12 } } } },
        "0x0000000000000000000000000000000000000003": { "balance": "1", "builtin": { "name": "ripemd160", "pricing": { "linear": { "base": 600, "word": 120 } } } },
        "0x0000000000000000000000000000000000000004": { "balance": "1", "builtin": { "name": "identity", "pricing": { "linear": { "base": 15, "word": 3 } } } },
        "0x0000000000000000000000000000000000000005": { "builtin": { "name": "modexp", "activate_at": 0, "pricing": { "modexp": { "divisor": 20 } } } },
        "0x0000000000000000000000000000000000000006": { "builtin": { "name": "alt_bn128_add", "activate_at": 0, "pricing": { "linear": { "base": 500, "word": 0 } } } },
        "0x0000000000000000000000000000000000000007": { "builtin": { "name": "alt_bn128_mul", "activate_at": 0, "pricing": { "linear": { "base": 40000, "word": 0 } } } },
        "0x0000000000000000000000000000000000000008": { "builtin": { "name": "alt_bn128_pairing", "activate_at": 0, "pricing": { "alt_bn128_pairing": { "base": 100000, "pair": 80000 } } } },  "0xf3bc0795dd0972b030def04ecd18fa1f00b5ff45": { "balance": "50000000000000000000" }

    } }
  • Where did you get this contract from? Usually you have to deploy the proxy contrsct as it has to be upgradable – Samuel Dare Jul 28 at 16:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.