Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused NW code now that we moved past V11 #13169

Merged
merged 2 commits into from
Jul 27, 2023
Merged

Conversation

arun-koshy
Copy link
Contributor

@arun-koshy arun-koshy commented Jul 26, 2023

Description

We have moved past protocol version 11 so we can remove some of the unused code. However because Batch store expects the original Batch enum format we cannot remove BatchV1 completely without causing issues to the schema. To fully remove BatchV1 we will have to create a new Batch store that only uses BatchV2 instead of the Batch versioned enum.

Test Plan

Tested version upgrade in labnet

@vercel
Copy link

vercel bot commented Jul 26, 2023

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

Name Status Preview Comments Updated (UTC)
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 27, 2023 4:13am
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Jul 27, 2023 4:13am
multisig-toolkit ⬜️ Ignored (Inspect) Jul 27, 2023 4:13am
mysten-ui ⬜️ Ignored (Inspect) Visit Preview Jul 27, 2023 4:13am
sui-kiosk ⬜️ Ignored (Inspect) Jul 27, 2023 4:13am
sui-wallet-kit ⬜️ Ignored (Inspect) Jul 27, 2023 4:13am

narwhal/executor/src/subscriber.rs Show resolved Hide resolved
@arun-koshy arun-koshy merged commit bf9b504 into main Jul 27, 2023
@arun-koshy arun-koshy deleted the ak/remove-unused-nw branch July 27, 2023 05:53
ebmifa pushed a commit that referenced this pull request Aug 10, 2023
## Description 

We have moved past protocol version 11 so we can remove some of the
unused code. However because Batch store expects the original Batch enum
format we cannot remove BatchV1 completely without causing issues to the
schema. To fully remove BatchV1 we will have to create a new Batch store
that only uses BatchV2 instead of the Batch versioned enum.

## Test Plan 

[Tested version upgrade in
labnet](https://metrics.sui.io/d/HH91BjB4z/throughput?orgId=1&from=1690435970447&to=1690437139251&var-Environment=mysten-metrics-internal&var-network=labnet&var-validator=All)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants