alexchenzl / predict-al

Prototype to predict Ethereum transactions' access lists
GNU Lesser General Public License v3.0
5 stars 1 forks source link

My desired use case #1

Open pipermerriam opened 2 years ago

pipermerriam commented 2 years ago

Here's what I'd like to be able to do with your tool.

$ ./predict ...
ROUND 0:
    opcodes: PUSH32 ... SLOAD ...
    new state access:
        ACCOUNT: ....
        STORAGE: ...
ROUND 1:
    ...
SUMMARY:
    rounds: 5
    state items: 100
    retrieval batches: 3, 22, 50, 25

One goal here is to be able to run this continuously against transactions in mainnet blocks to examine real world transaction access patterns and see how well the tool performs against real world transactions.

alexchenzl commented 2 years ago

@pipermerriam Now the JSON-RPC, three execution modes and detailed information output are supported. The parameters may be different, please check the examples in README.