Closed morph-dev closed 2 weeks ago
@KolbyML , would like your early feedback on this PR, especially on the work in trin-execution
.
Note: I didn't test if this actually works, as I don't have data in the state network to test it with. I will have to manually create and seed data needed but it's not simple as I have to seed many trie nodes, for multiple accounts and storage slots (and at least one contract bytecode). Other than testing, I would say that this PR is mostly ready as is.
Closing in favor of #1439
What was wrong?
The
eth_call
wasn't supported.How was it fixed?
Refactored logic in trin-execution crate to make functionality more reusable (and added support for async database). Also refactored
rpc/src/eth_rpc.rs
by extracting state related functionality into separate file.To-Do