Skip to content

Instantly share code, notes, and snippets.

panic: runtime error: slice bounds out of range
goroutine 350 [running]:
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table.(*blockIter).Next(0xc008303590, 0xc0082f1320)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-eth
panic: leveldb: internal key "\xaa\xfb", len=2: invalid length
goroutine 42 [running]:
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.internalKey.assert(0xc001d9a6c0, 0x2, 0x30)
/go-ethereum/build/_workspace/src/github.com/ethereum/go-eth
{"claims":[{"url":"http://celo-baklava-att-daithi.bdi.sh","timestamp":1575770188,"type":"ATTESTATION_SERVICE_URL"},{"timestamp":1575770710,"type":"ACCOUNT","address":"0x3521a14aae3a4FaC3C6D0D6Ceb8642cDd21323A2"}],"meta":{"address":"0xF327386EF9D6Be057d1C720Fef633938743660F3","signature":"0x00e15ce37a8cac2adf6500711ee48d5d1e67ad9c98a278fe2671897bcab79fba56816aba8a96d893e103396053323623e861135314be2130f5f12fa0d37ade341c"}}
@daithi-coombes
daithi-coombes / celo-stake-off.md
Last active April 18, 2020 16:09
Celo's The Greate Stake Off - Blockdaemon Accounts

CELO_VALIDATOR_GROUP_ADDRESS=3b1aa005f26ee89bafb8c8e67e10e6dea8d31cc5 CELO_GENESIS_VALIDATOR_SIGNER_ADDRESS=ee9ba67108e227cd05e552d1bb6b19adfa5f4c5b CELO_GENESIS_VALIDATOR_SIGNER_BLS_PUBLIC_KEY=c2cc4ba57abb3768f552b30768ad8de8d6b934d8fd2eca699a2b2f712e8d56b50ea2e59993175a396e471e3a6028b30054cf156b0c75b9df6ea2e15e03811960aa5999411522b01286bc1cf17e4ef366a48e3e075998394e090f46c1d8212c81 CELO_VALIDATOR_ADDRESS=a5f837aa6be966d9f293de6f8cc65fac7064220f

@daithi-coombes
daithi-coombes / golang.sh
Created August 26, 2019 15:36 — forked from jacoelho/golang.sh
Install golang debian/ubuntu
#!/bin/bash
export GOLANG_VERSION=1.10.3
export GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
export GOLANG_DOWNLOAD_SHA256=fa1b0e45d3b647c252f51f5e1204aba049cde4af177ef9f2181f43004f901035
apt-get update -qq
apt-get install -y --no-install-recommends \
g++ \
pragma solidity ^0.4.21;
contract SampleModifiers{
address public owner;
uint public foobar = 22;
modifier isOwner(){
require(owner==msg.sender);
_;
@daithi-coombes
daithi-coombes / terminalcd.sh
Created October 7, 2015 09:43
log terminal directory changes & timestamp
tail -fn0 ~/.bash_history | awk -v date="$(date +"%Y-%m-%d %r")" '/^cd .*$/ { print date, $2| "tee /var/log/terminal-cd.log" }'
#!/bin/bash
# myapp daemon
# chkconfig: 345 20 80
# description: myapp daemon
# processname: myapp
# author: daithi-coombes
# original http://werxltd.com/wp/2012/01/05/simple-init-d-script-template/
DAEMON_PATH="/path/to/myapp"
@daithi-coombes
daithi-coombes / meteor-init-script
Last active August 29, 2015 14:26 — forked from reywood/meteor-init-script
SysVinit boot script for running a bundled Meteor app under Forever as a service. Should work with CentOS, Redhat, Amazon Linux, etc.
#!/bin/bash
#
# Service script for running a bundled Meteor application under Forever.
# Meteor settings JSON file should be in /etc/meteor/[YOUR APP NAME].json,
# and the METEOR_SETTINGS var below should be updated as appropriate.
#
# chkconfig: 345 80 20
# description: My node app
#
@daithi-coombes
daithi-coombes / firefox-developer.desktop
Created July 8, 2015 20:13
Firefox Dev Launcher - Debian Jessie
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Firefox devOps
Exec=/opt/firefox-dev/firefox
Icon=/opt/firefox-dev/browser/icons/mozicon128.png
NoDisplay=true