sui icon indicating copy to clipboard operation
sui copied to clipboard

Allow protocol constants to change when protocol versions change.

Open mystenmark opened this issue 2 years ago • 1 comments

  • Rename sui-protocol-constants to sui-protocol-config to reflect that the values therein are no longer constant.
  • Plumb ProtocolConfig type through the code to allow these values to change when protocol versions change.

Note that after this PR, moving to on-chain configs should largely be a matter of loading ProtocolConfig from the system object, instead of from a module. (And also governance code).

@bmwill all comments welcome, but please especially focus on the genesis changes

todo:

  • [x] - ~~figure out correct defaults for AuthorityAggregator~~ will do in separate PR

mystenmark avatar Feb 15 '23 22:02 mystenmark

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

4 Ignored Deployments
Name Status Preview Comments Updated
explorer ⬜️ Ignored (Inspect) Feb 17, 2023 at 5:18AM (UTC)
explorer-storybook ⬜️ Ignored (Inspect) Feb 17, 2023 at 5:18AM (UTC)
frenemies ⬜️ Ignored (Inspect) Feb 17, 2023 at 5:18AM (UTC)
wallet-adapter ⬜️ Ignored (Inspect) Feb 17, 2023 at 5:18AM (UTC)

vercel[bot] avatar Feb 15 '23 22:02 vercel[bot]