Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

test: convert warp npm test to go test#1907

Merged
michaelkaplan13 merged 88 commits intomasterfrom
JonathanOppenheimer/convert-warp-test
Dec 11, 2025
Merged

test: convert warp npm test to go test#1907
michaelkaplan13 merged 88 commits intomasterfrom
JonathanOppenheimer/convert-warp-test

Conversation

@JonathanOppenheimer
Copy link
Copy Markdown
Contributor

@JonathanOppenheimer JonathanOppenheimer commented Dec 5, 2025

Why this should be merged

This converts the testing present in contracts/test/warp.ts to go based testing, and removes the hard hat test. The typescript test really wasn't doing much -- just verifying the message and blockchain ID.

You can inspect that test to ensure coverage was not lost here:

https://github.com/ava-labs/subnet-evm/blob/master/contracts/test/warp.ts

How this was tested

CI

Need to be documented?

No

Need to update RELEASES.md?

No

…test

Signed-off-by: Jonathan Oppenheimer <jonathan.oppenheimer@avalabs.org>
…nathanOppenheimer/convert-reward-manager-test

Signed-off-by: Jonathan Oppenheimer <jonathan.oppenheimer@avalabs.org>
Signed-off-by: Jonathan Oppenheimer <jonathan.oppenheimer@avalabs.org>
JonathanOppenheimer and others added 6 commits December 9, 2025 14:01
Co-authored-by: Austin Larson <78000745+alarso16@users.noreply.github.com>
Signed-off-by: Jonathan Oppenheimer <147infiniti@gmail.com>
Co-authored-by: Austin Larson <78000745+alarso16@users.noreply.github.com>
Signed-off-by: Jonathan Oppenheimer <147infiniti@gmail.com>
Co-authored-by: Austin Larson <78000745+alarso16@users.noreply.github.com>
Signed-off-by: Jonathan Oppenheimer <147infiniti@gmail.com>
Co-authored-by: Austin Larson <78000745+alarso16@users.noreply.github.com>
Signed-off-by: Jonathan Oppenheimer <147infiniti@gmail.com>
@JonathanOppenheimer JonathanOppenheimer removed the DO NOT MERGE This PR is not meant to be merged in its current state label Dec 9, 2025
Copy link
Copy Markdown
Contributor

@alarso16 alarso16 left a comment

Choose a reason for hiding this comment

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

I believe that we did choose the abigen approach. In this case, I think this test looks sufficient to check all the necessary behavior

JonathanOppenheimer and others added 3 commits December 11, 2025 16:35
Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>
Signed-off-by: Jonathan Oppenheimer <147infiniti@gmail.com>
@michaelkaplan13 michaelkaplan13 added this pull request to the merge queue Dec 11, 2025
Merged via the queue into master with commit de34819 Dec 11, 2025
15 checks passed
@michaelkaplan13 michaelkaplan13 deleted the JonathanOppenheimer/convert-warp-test branch December 11, 2025 22:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ci testing This primarly focuses on testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants