Skip to content

evm-v1.1.0

Latest
Compare
Choose a tag to compare
@DenisCarriere DenisCarriere released this 21 Feb 19:37
· 2 commits to main since this release
  • add new table KeccakPreimage
  • add call_* fields to StorageChange

Modules:

  • Name: map_events
  • Hash: 161abf4cee38d9b2e00fd825ad7e5a7df32b8599
$ duckdb
D SELECT hash, preimage FROM read_parquet('./out/keccak_preimages/*.parquet') LIMIT 10;
┌──────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│         hash         │                                                    preimage                                                    │
│       varchar        │                                                    varchar                                                     │
├──────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ b44b31dc9a4a152b1d…  │ 0000000000000000000000006f20aeecb18616fd78480e74aebff0456049737f00000000000000000000000000000000000000000000…  │
│ b035f62398c2f37b04…  │ 4d4f434b5f535441424c455f444542540000000000000000000000000000000000000000000000000000000000000000000000000000…  │
│ 3e749c02dbbc256778…  │ 827922686190790b37229fd06084350e74485b72fbfd0cfbfdd4                                                           │
│ b0a36ddfc00ebbe3ca…  │ 00000000000000000000000094bb99aa0957dfbebbb3a5dc1686dfe13838726500000000000000000000000000000000000000000000…  │
│ c0114fd5529160453a…  │ 0000000000000000000000007c327d692b72f60b28aecedbcc1ba784712fe7b200000000000000000000000000000000000000000000…  │
│ f056a63397beeb684a…  │ 00000000000000000000000000000000000000000000000000000000000079b900000000000000000000000000000000000000000000…  │
│ 466241be34a8499df0…  │ 0000000000000000000000000000000000000000000000000000000000000002a37f20a9e2363f662cc3bab51236eba40d483778149f…  │
│ 7ae51676eff3b5e1ba…  │ 00000000000000000000000034d7830da4d93cb2a99961a2e138c81f31449a8d00000000000000000000000000000000000000000000…  │
│ 061b307dcf35216375…  │ fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbfdd400000000000000000000000000000000000000000000…  │
│ c994c3c75356812f20…  │ 000000000000000000000000d4627ecb405b64448ee6b07dcf860bf55590c83d00000000000000000000000000000000000000000000…  │
├──────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 10 rows                                                                                                                     2 columns │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
D 
message KeccakPreimage {
  // -- block --
  string block_time = 1; // TIMESTAMP
  uint64 block_number = 2;
  string block_hash = 3;
  string block_date = 4;

  // -- keccak preimages --
  string hash = 5;
  string preimage = 6;
}
message StorageChange {
  ...
  // -- call --
  uint32 call_index = 10;
  uint32 call_parent_index = 11;
  uint64 call_begin_ordinal = 12;
  uint64 call_end_ordinal = 13;
  uint32 call_depth = 14;

  // -- storage change --
  ...
  string new_value_number = 24;
  string old_value_number = 26;
}