Skip to content

Instantly share code, notes, and snippets.

Config: /home/hugo/workspace/gel/evmone/build/lib/libevmone.so,trace
Executing on Shanghai with 1000000 gas limit
{"depth":0,"rev":"Shanghai","static":false}
{"pc":0,"op":58,"opName":"GASPRICE","gas":0xf4240,"stack":[],"memorySize":0}
{"pc":1,"op":96,"opName":"PUSH1","gas":0xf423e,"stack":["0x0"],"memorySize":0}
{"pc":3,"op":85,"opName":"SSTORE","gas":0xf423b,"stack":["0x0","0x0"],"memorySize":0}
revision: Shanghai
revision > berlin? 1
gas cost cold: 2100
# CREATE opcode with EOF1 initcode or/and code (EIP-3541, EIP-3540, EIP-3670)
CREATE_EOF1Temporal:
env:
currentCoinbase: 2adc25665018aa1fe0e6bc666dac8fc2697ff9ba
currentDifficulty: '0x020000'
currentGasLimit: '89128960'
currentBaseFee: '10'
currentNumber: '1'
currentTimestamp: '1000'
previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6
0xbfab9013764150ad9235f83c5c7580232dcbd15b12f81d5ee81ee878c196cd75
chunks: (222)
6060604052361561012d5763ffffffff60e060020a60003504166306fdde0381,
146101ec578063095ea7b31461027c57806317634514146102af57806318160d,
dd146102d157806323b872dd146102f3578063313ce5671461032c5780633ceb,
b823146103525780634ee2cd7e1461037057806354fd4d50146103a157806366,
38c0871461043157806370a08231146104f157806380a540011461051f578063,
827f32c01461054b57806395d89b411461057e578063981b24d01461060e5780,
63a9059cbb14610633578063bef97c8714610666578063c5bcc4f11461068a57,
8063cae9ca51146106ac578063d3ce77fe14610723578063dd62ed3e14610756,
--- stderr
/root/.cargo/registry/src/github.com-1ecc6299db9ec823/wabt-sys-0.4.0/wabt/src/lexer-source.cc: In member function 'virtual std::unique_ptr<wabt::LexerSource> wabt::LexerSourceFile::Clone()':
/root/.cargo/registry/src/github.com-1ecc6299db9ec823/wabt-sys-0.4.0/wabt/src/lexer-source.cc:41:19: error: redundant move in return statement [-Werror=redundant-move]
41 | return std::move(result);
| ~~~~~~~~~^~~~~~~~
/root/.cargo/registry/src/github.com-1ecc6299db9ec823/wabt-sys-0.4.0/wabt/src/lexer-source.cc:41:19: note: remove 'std::move' call
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/libwabt.dir/build.make:167: CMakeFiles/libwabt.dir/src/lexer-source.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:132: CMakeFiles/libwabt.dir/all] Error 2
Scanning dependencies of target fizzy
[ 2%] Building CXX object lib/fizzy/CMakeFiles/fizzy.dir/execute.cpp.o
In file included from /usr/include/c++/7/vector:62:0,
from /engines/fizzy/lib/fizzy/types.hpp:7,
from /engines/fizzy/lib/fizzy/execute.hpp:4,
from /engines/fizzy/lib/fizzy/execute.cpp:1:
/usr/include/c++/7/bits/stl_construct.h: In instantiation of 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = fizzy::Import; _Args = {const fizzy::Import&}]':
/usr/include/c++/7/bits/stl_uninitialized.h:83:18: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const fizzy::Import*, std::vector<fizzy::Import> >; _ForwardIterator = fizzy::Import*; bool _TrivialValueTypes = false]'
/usr/include/c++/7/bits/stl_uninitialized.h:134:15: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputItera
Process yaml!
TestFile {
beacon_state: TestBeaconState {
execution_scripts: [
"scripts/jaredtrie/target/wasm32-unknown-unknown/release/phase2_jaredtrie.wasm",
],
},
shard_blocks: [
TestShardBlock {
env: 0,
ewasm:
file: "hello.wasm"
output: "hello_deployer.wasm"
trimexports:
preset: "ewasm"
remapimports:
preset: "ewasm"
verifyimports:
preset: "ewasm"
verifyexports:
@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:

$ ./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
[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