rooch-network / rooch

VApp Container with Move Language
https://rooch.network
Apache License 2.0
128 stars 54 forks source link

[statedb] Refactor StateDB and StateResolver #1561

Closed jolestar closed 1 month ago

jolestar commented 1 month ago

Summary

  1. Make StateDB stateless.
  2. ObjectRuntime load field via state_root and key.

TODO:

  1. Refactor genesis build and load.
vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **rooch** | ⬜️ Ignored ([Inspect](https://vercel.com/rooch/rooch/DaMrXixhs4TUxdEcazTYbM35xtnE)) | [Visit Preview](https://rooch-git-stateresolverrefactor-rooch.vercel.app) | | Apr 13, 2024 10:34am |
jolestar commented 1 month ago

It seems like this PR regressed the tx_exec performance @popcnt1

popcnt1 commented 1 month ago

It seems like this PR regressed the tx_exec performance @popcnt1

I will run your branch soon