carver on master
Issue #1942 remove linting erro… (compare)
18 days later, ACD is noisy because of the difficulty bomb. :/
TL;DR: There might be an out-of-schedule call on Friday.
py-evm
... I want to do essentially what is done in this exercise: https://easythereentropy.wordpress.com/2014/06/04/understanding-the-ethereum-trie/ -- but using py-evm
instead of pythereum
, and using the nice boilerplate project template that you have in the cookbooks. My question is where in the py-evm
API or source would I find the logic that does the same thing trie.py
does in pyethereum
? Or, perhaps I'm totally going about this the wrong way, in which case my question is even more general: What's a good starting place for simple DB/State/Trie understanding of the evm?
Istanbul
(and a couple other things) is released:I have a feeling someone'll have to take over PR #1885 from me, or provide a lot of guidance.
The current lint
failures are all for improper definitions/returns in low-level API classes: AccountDatabaseAPI
, OpcodeAPI
, VirtualMachineAPI
; and some related abstract classes.
Take a look at this CI job most errors are an either-or choice, and I don't know which one is "correct".
There's also
eth/chains/base.py:250: error: Unexpected keyword argument "chain_context" for "VirtualMachineAPI"
eth/abc.py:2270: note: "VirtualMachineAPI" defined here
which means something unexpected may be happening.
@/all Muir Glacier support is here:
Docs:
https://py-evm.readthedocs.io/en/latest/release_notes.html#py-evm-0-3-0-alpha-12-2019-12-19
Tweet:
https://twitter.com/ETHSnakeCharmer/status/1207686373282594817
<Christoph> @Pet3ris I'm afraid I can not answer this without diving into the code myself. One thing I suggest is to run py-evm with log level 0
to get full tracing output. Then you'll see output such as: https://gist.github.com/cburgdorf/41ce3a9c9502d2f194c9e54454e6a689
You can search for the output in Py-EVM and sprinkle the code paths with breakpoint()
statements and then use the debugger to examine from there. That's how I'd approach it.
vm.state.coinbase
etc., but I'd like to find something like vm.current_transaction.computation.stack
and vm.current_transaction.computation.memory
to get other elements