rooch-network / rooch

Fully on-chain Application Container with Move Language
https://rooch.network
Apache License 2.0
126 stars 53 forks source link

[genesis] Refactor genesis gas schedule #1580

Closed jolestar closed 2 weeks ago

jolestar commented 2 weeks ago

Summary

  1. Migrate GasSchedule from rooch_framework::onchain_config to moveos_std::gas_schedule.
  2. Refactor Genesis gas schedule init and add testing for gas schedule entries.
  3. Keep CostTable in the VM and remove the static global instance.
  4. Clean unused gas schedule codes.

@steelgeek091 help review.

vercel[bot] commented 2 weeks 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/2m1zmRcqQbXYfDPYXLsm2KrF6omV)) | [Visit Preview](https://rooch-git-refactorgenesisgasschedule-rooch.vercel.app) | | Apr 17, 2024 10:17am |