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 V1 version variant from the binary #2238

Merged
merged 9 commits into from
Nov 4, 2024
Merged

remove V1 version variant from the binary #2238

merged 9 commits into from
Nov 4, 2024

Conversation

imabdulbasit
Copy link
Contributor

@imabdulbasit imabdulbasit commented Oct 30, 2024

addresses #2211

This PR removes the V1 version variants from the binaries, as they are no longer in use. The mainnet will launch with fees as the initial version, which is V2. This change speeds up binary compilation.

It also updates the integration CI to only run smoke test and not the upgrade test. We can remove this but I think the smoke test has more validation like the transactions submission that demo-native CI does not have

@imabdulbasit imabdulbasit changed the title remove V1 versions from the binary remove V1 version variant from the binary Oct 30, 2024
@imabdulbasit imabdulbasit linked an issue Oct 30, 2024 that may be closed by this pull request
@@ -77,8 +77,7 @@ jobs:
- name: Test Integration
env:
NEXTEST_PROFILE: integration
INTEGRATION_TEST_SEQUENCER_VERSION: 02
run: cargo nextest run --locked --release --all-features --verbose --nocapture
run: cargo nextest run --locked --release --all-features --verbose --nocapture --test integration smoke
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly does this do now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so the there are two tests inside integration: smoke and upgrade test. This one just runs smoke test for V2 version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as we are not doing any upgrade for the native demo now

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test.yaml changed a lot last week. In the new version you probably only need to remove the 02 from matrix.version

@imabdulbasit imabdulbasit marked this pull request as draft November 4, 2024 15:54
@imabdulbasit imabdulbasit marked this pull request as ready for review November 4, 2024 16:37
cargo nextest run --archive-file nextest-archive.tar.zst --verbose --no-fail-fast \
--workspace-remap $PWD
cargo nextest run --archive-file nextest-archive.tar.zst --verbose --no-fail-fast \
--workspace-remap $PWD $(if [ "${{ matrix.version }}" == "2" ]; then echo " smoke"; fi)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is ok for now, but if we are going to run different tests for different targets matrix may not make much sense here anymore. If we are always going to have 2, then we can just have base job and upgrade job. They will still run in parallel. We can leave it like this for now though, I guess, and leave it for a later reorg PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we will run upgrade test for every version other than initial (v2)

@imabdulbasit imabdulbasit merged commit b952b02 into main Nov 4, 2024
17 checks passed
@imabdulbasit imabdulbasit deleted the ab/rm-v1 branch November 4, 2024 18:54
rob-maron added a commit that referenced this pull request Feb 7, 2025
* disable saving of VID shares (for now)

* add to RUSTSEC ignore
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.

Remove v0.1 types
3 participants