Skip to content

Instantly share code, notes, and snippets.

View LefterisJP's full-sized avatar

Lefteris Karapetsas LefterisJP

View GitHub Profile
@LefterisJP
LefterisJP / read_tags.sh
Created September 12, 2013 14:41
Gource caption file from mercurial tags
#!/usr/bin/env bash
CAPTION_FILE=tags.caption
function extract_tags()
{
hg tags | while read x; do
tag=$(echo $x | awk '{print $1}');
rev=$(echo $x | awk '{print $2}' | awk -F: '{print $2}');
rev_date=$(hg log -r $rev --template 'date: {date}\n' | awk -F. '{print $1}' | awk '{print $2}');
./test/testeth -t StateTests/stSpecialTest --filltests    develop 
./test/testeth: /opt/cuda/lib64/libOpenCL.so.1: no version information available (required by /home/lefteris/ew/cpp-ethereum/build/libethash-cl/libethash-cl.so)
Running 1 test case...
ℹ 15:01:47|testeth Populating tests...
JUMPDEST_Attack
/home/lefteris/ew/cpp-ethereum/test/TestHelper.cpp(650): error in "stSpecialTest": Failed filling test with Exception: Throw location unknown (consider using BOOST_THROW_EXCEPTION)
Dynamic exception type: dev::Exception
std::exception::what: std::exception
TEST stSpecialTest:
✘ 15:39:40|verifier0 Fail on preVerify
✘ 15:39:40|verifier0
Import Failure InvalidBlockNonce
Guru Meditation #00761380.fd43cee2…
✘ 15:39:40|verifier0 Report:
@LefterisJP
LefterisJP / snapcraft.yaml
Created January 25, 2016 08:47
snapcraft.yaml intro
name: ethereum
summary: An Ethereum Framework for Snappy Ubuntu
description: A Framework providing all the essentials needed in order to develop for and interact with the Ethereum blockchain
vendor: Lefteris <lefteris@slock.it>
architectures: [amd64, armhf]
icon: icon.png
version: 0.1
@LefterisJP
LefterisJP / snapcraft.yaml
Created January 25, 2016 08:49
snapcraft.yaml - framework and policy
type: framework
framework-policy: framework-policy/
@LefterisJP
LefterisJP / snapcraft.yaml
Created January 25, 2016 08:52
snapcraft.yaml - geth building section
parts:
geth:
plugin: x-script
script: scripts/build_geth.sh
destination-dir: bin
@LefterisJP
LefterisJP / snapcraft.yaml
Created January 25, 2016 08:54
snapcraft.yaml - file copying section
files-to-copy:
plugin: copy
files:
scripts/geth_selector.sh: bin/geth
@LefterisJP
LefterisJP / snapcraft.yaml
Created January 25, 2016 08:56
snapcraft.yaml - framework service
services:
geth:
start: ./bin/geth
description: "The Go Ethereum client"
caps:
- network-client
- network-service
- network-admin
@LefterisJP
LefterisJP / snapcraft.yaml
Created January 25, 2016 09:15
snapcraft.yaml - specifying framework
frameworks:
- ethereum
@LefterisJP
LefterisJP / snapcraft.yaml
Created January 25, 2016 09:16
snapcraft.yaml - example snap parts
parts:
test-webserver:
plugin: nodejs
node-packages:
- web3
- jsdom
test-capp:
plugin: x-script
script: scripts/build_capp.sh