Skip to content

Instantly share code, notes, and snippets.

Running tests using path: "/home/ewasm/hugo-dc/cpp-ethereum/test/jsontests"
Running 1 test case...
Test Case "stCallCodes":
100%
[{"depth":"0","gas":"29979000","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"0","gas":"29978997","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x40"]},
{"depth":"0","gas":"29978994","gasCost":"3","op":"PUSH1","pc":"4","stack":["0x40","0x00"]},
{"depth":"0","gas":"29978991","gasCost":"3","op":"PUSH1","pc":"6","stack":["0x40","0x00","0x40"]},
{"depth":"0","gas":"29978988","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"0","gas":"29978985","gasCost":"3","op":"PUSHC","pc":"10","stack":["0x40","0x00","0x40","0x00","0x00"]},
Running tests using path: "/home/ewasm/hugo-dc/cpp-ethereum/test/jsontests"
Running 1 test case...
Test Case "stCallCodes":
100%
[{"depth":"0","gas":"29979000","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"0","gas":"29978997","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x40"]},
{"depth":"0","gas":"29978994","gasCost":"3","op":"PUSH1","pc":"4","stack":["0x40","0x00"]},
{"depth":"0","gas":"29978991","gasCost":"3","op":"PUSH1","pc":"6","stack":["0x40","0x00","0x40"]},
{"depth":"0","gas":"29978988","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"0","gas":"29978985","gasCost":"3","op":"PUSHC","pc":"10","stack":["0x40","0x00","0x40","0x00","0x00"]},
Running tests using path: "/home/ewasm/hugo-dc/cpp-ethereum/test/jsontests"
Running 1 test case...
Test Case "stCallCodes":
100%
[{"depth":"0","gas":"29979000","gasCost":"3","memory":[],"op":"PUSH1","pc":"0","stack":[],"storage":{}},
{"depth":"0","gas":"29978997","gasCost":"3","op":"PUSH1","pc":"2","stack":["0x40"]},
{"depth":"0","gas":"29978994","gasCost":"3","op":"PUSH1","pc":"4","stack":["0x40","0x00"]},
{"depth":"0","gas":"29978991","gasCost":"3","op":"PUSH1","pc":"6","stack":["0x40","0x00","0x40"]},
{"depth":"0","gas":"29978988","gasCost":"3","op":"PUSH1","pc":"8","stack":["0x40","0x00","0x40","0x00"]},
{"depth":"0","gas":"29978985","gasCost":"3","op":"PUSHC","pc":"10","stack":["0x40","0x00","0x40","0x00","0x00"]},
ethereum/tests/test_state.py DEBUG:root running test:'call_OOG_additionalGasCosts1' in '../fixtures/GeneralStateTests/stTest/call_OOG_additionalGasCosts1.json'
Verifying state test
Testing for Byzantium
Checking for values: g 30000 v 0 d 0x (indexes g 0 v 0 d 0)
DEBUG:eth.pb.tx TX NEW txdict={'nonce': 0, 'gasprice': 1, 'startgas': 30000, 'to': '0x1000000000000000000000000000000000000000', 'value': 0, 'data': '0x', 'v': 27, 'r': 50415895627259968624139904459091557242392994223712411832230948435819815598271, 's': 37830658489601452908686572182822234897977935569259462575426534625003775242715, 'sender': '0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b', 'hash': '0xbadb9810523b1f38aa0e06f971483a3d988b60901b72f6053c218f7befb0cb78'}
DEBUG:eth.pb.msg MSG APPLY sender=a94f5374fce5edbc8e2a8697c15331677e6ebf0b to=1000000000000000000000000000000000000000 gas=9000 value=0 codelen=35 data= pre_storage={'balance': '1000000000000000000', 'nonce': '0', 'code': '0x60406000604060006000731000000000000000000000000000000000000001611770f
[2019-01-21 10:06:42.903914] [0x00007f783e637ac0] [info] Loaded EVMC module: hera 0.2.0 (/home/hugo/workspace/hera/build/src/libhera.so)
aleth, a C++ Ethereum client
INFO 01-21 10:06:43 aleth net Id: ##3fdeab66…
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<dev::db::DatabaseError>'
what(): /home/hugo/workspace/aleth/libdevcore/LevelDB.cpp(57): Throw in function void dev::db::{anonymous}::checkStatus(const leveldb::Status&, const boost::filesystem::path&)
Dynamic exception type: boost::exception_detail::clone_impl<dev::db::DatabaseError>
[dev::db::tag_dbStatusCode*] = [ type: dev::db::DatabaseStatus, size: 4, dump: 02 00 00 00 ]
[dev::db::tag_dbStatusString*] = Corruption: corrupted compressed block contents
$ ./emsdk list
The following precompiled tool packages are available for download:
clang-e1.37.1-64bit
clang-e1.38.21-64bit INSTALLED
clang-e1.38.22-64bit
node-4.1.1-32bit
node-4.1.1-64bit INSTALLED
node-8.9.1-32bit
(*) node-8.9.1-64bit INSTALLED
@hugo-dc
hugo-dc / keybase.md
Created June 5, 2019 01:39
keybase.md

Keybase proof

I hereby claim:

  • I am hugo-dc on github.
  • I am hugo_dc (https://keybase.io/hugo_dc) on keybase.
  • I have a public key ASARmN6Uymew-_NpsEBIU8HHSCo08Db0a6Pcj2AWCknW-Ao

To claim this, I am signing this object:

ewasm:
file: "hello.wasm"
output: "hello_deployer.wasm"
trimexports:
preset: "ewasm"
remapimports:
preset: "ewasm"
verifyimports:
preset: "ewasm"
verifyexports:
Process yaml!
TestFile {
beacon_state: TestBeaconState {
execution_scripts: [
"scripts/jaredtrie/target/wasm32-unknown-unknown/release/phase2_jaredtrie.wasm",
],
},
shard_blocks: [
TestShardBlock {
env: 0,