Skip to content

Instantly share code, notes, and snippets.

View LefterisJP's full-sized avatar

Lefteris Karapetsas LefterisJP

View GitHub Profile
@LefterisJP
LefterisJP / test_transfer_from_outdated_log.txt
Created February 14, 2017 09:01
RAW LOG for test_transfer_from_outdated
Worker information
hostname: i-0d4e3c2-production-2-worker-org-ec2.travisci.net:06eb8c21-e4a7-4d38-831c-2b6fc00ad13d
version: v2.5.0 https://github.com/travis-ci/worker/tree/da3a43228dffc0fcca5a46569ca786b22991979f
instance: e9b8ea7:travis:python
startup: 1.25591562s
Build system information
Build language: python
Build group: stable
Build dist: trusty
Build id: 201414246
@LefterisJP
LefterisJP / demo.rf
Created February 19, 2017 11:52
demo.rf
type foo {a:i32 | b:string }
fn main()->u32{
t1:foo = foo(29)
t2:foo = foo("hello")
r:i32 = match t1 {
a:i32 => a
_ => 0
}
s:string = match t2 {
@LefterisJP
LefterisJP / demorf_llvm.ir
Created February 19, 2017 11:54
LLVM IR from demo.rf
[DEBUG]: Module "function_end" is
; ModuleID = 'stdlib'
source_filename = "stdlib"
%string = type <{ i32, i8* }>
%internal_struct_4260204557 = type <{ i32, i64, i64, %string }>
@strbuff_3855993015 = private unnamed_addr constant [5 x i8] c"false"
@gstr_3855993015 = global %string <{ i32 5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @strbuff_3855993015, i32 0, i32 0) }>
@strbuff_706834940 = private unnamed_addr constant [4 x i8] c"true"
@LefterisJP
LefterisJP / bad_genesis.json
Created March 2, 2017 12:17
bad_genesis.json
{"alloc": {"0xfc335c05fd0b60fcce84a8839e9bf8955460b94e": {"balance": "115792089237316195423570985008687907853269984665640564039457584007913129639936"}, "0xf0ef4707cdcf650f349cf664f2013f583484a3fb": {"balance": "115792089237316195423570985008687907853269984665640564039457584007913129639936"}, "0xa3c19cc476be1e9061deeba48b71de0022952515": {"balance": "115792089237316195423570985008687907853269984665640564039457584007913129639936"}, "0x8d2333af216c296834d968d1af88ff812061eabd": {"balance": "115792089237316195423570985008687907853269984665640564039457584007913129639936"}}, "difficulty": "0x1", "nonce": "0x0000000000000042", "gasLimit": "0x2fefd8", "extraData": "raiden", "timestamp": "0x00", "coinbase": "0x0000000000000000000000000000000000000000", "config": {"homesteadBlock": 0}, "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000"}
@LefterisJP
LefterisJP / NameRegistry.sol
Created March 6, 2017 22:38
NameRegistry.sol
pragma solidity ^0.4.4;
contract NameRegistry {
mapping (address => bytes32) public addr_to_string;
mapping (bytes32 => address) public string_to_addr;
event NameRegistered(address a, bytes32 name);
function NameRegistry () {
@LefterisJP
LefterisJP / merkleweek_genesis.json
Created March 9, 2017 10:44
merkleweek_genesis.json
{
"alloc": {
"0x6790f1b7f2a6f637d85c94e074c5e8dd95966ee9": {
"balance": "10000000000000000000000000000000000000"
},
"0x89dfc715316ffe3b4b3b04ab697c37c682dd1f11": {
"balance": "10000000000000000000000000000000000000"
}
},
"difficulty": "0x1",
@LefterisJP
LefterisJP / test_token_swap[19-2-2-geth].error
Created April 21, 2017 19:30
test_token_swap[19-2-2-geth]
travis_fold:start:worker_info
Worker information
hostname: production-1-worker-org-c-1-gce:94083783-8998-427b-896b-26adcae59d92
version: v2.7.0 https://github.com/travis-ci/worker/tree/66fc24311e055643710f4e0567f6888c927d3ab8
instance: testing-gce-3cec801f-41c2-428b-b0a7-c9227be172fb:travis-ci-sugilite-trusty-1480960799
startup: 21.772932808s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information
Build language: python
@LefterisJP
LefterisJP / error.log
Created June 1, 2017 14:10
implicit fallthrough errors
[ 45%] Building CXX object libsolidity/CMakeFiles/solidity.dir/codegen/ContractCompiler.cpp.o
/home/lefteris/ew/solidity/libsolidity/codegen/CompilerUtils.cpp: In member function ‘void dev::solidity::CompilerUtils::convertType(const dev::solidity::Type&, const dev::solidity::Type&, bool, bool)’:
/home/lefteris/ew/solidity/libsolidity/codegen/CompilerUtils.cpp:784:3: error: this statement may fall through [-Werror=implicit-fallthrough=]
}
@LefterisJP
LefterisJP / flaky_test_participant_selection.txt
Created June 12, 2017 16:31
flaky_test_participant_selection
This file has been truncated, but you can view the full file.
travis_fold:start:worker_info
Worker information
hostname: production-4-worker-org-b-4-gce:45b00ff2-69a6-4552-bbe3-51090a8ad9b7
version: v2.7.0 https://github.com/travis-ci/worker/tree/66fc24311e055643710f4e0567f6888c927d3ab8
instance: testing-gce-afcfa7e6-026a-4344-a19f-d0132728e037:travis-ci-sugilite-trusty-1480960799
startup: 21.156581189s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information
Build language: python
@LefterisJP
LefterisJP / test_e2e.py::test_fullnetwork[50-4-2-fullnetwork:{}].fail
Created July 11, 2017 11:56
test_e2e.py::test_fullnetwork[50-4-2-fullnetwork:{}].fail
travis_fold:start:worker_info
Worker information
hostname: production-1-worker-org-c-1-gce:02f56e6d-e621-4918-9e7d-f6920b9a001c
version: v2.9.3 https://github.com/travis-ci/worker/tree/a41c772c638071fbbdbc106f31a664c0532e0c36
instance: testing-gce-8de4abb8-1977-48aa-b317-ae5073f9e45e:travis-ci-sugilite-trusty-1498160800 (via amqp)
startup: 21.255927843s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information
Build language: python