Skip to content

chore: unify tests in ecc/curves and ecc/groups#21392

Merged
suyash67 merged 1 commit into
merge-train/barretenbergfrom
sb/groups-tests-1
Mar 12, 2026
Merged

chore: unify tests in ecc/curves and ecc/groups#21392
suyash67 merged 1 commit into
merge-train/barretenbergfrom
sb/groups-tests-1

Conversation

@suyash67

Copy link
Copy Markdown
Contributor

Templates tests for common ecc operations in ecc/groups instead of duplicated tests for each curve.

@federicobarbacovi federicobarbacovi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great, thanks for doing this! Only one comment

}
}

TEST(g1, Serialize)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we test this serialisation somewhere else?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, it is being tested in test_read_write_buffer in affine_element.test.cpp so we can safely remove the test you mentioned.

@suyash67 suyash67 merged commit d79e3dc into merge-train/barretenberg Mar 12, 2026
10 checks passed
@suyash67 suyash67 deleted the sb/groups-tests-1 branch March 12, 2026 09:05
github-merge-queue Bot pushed a commit that referenced this pull request Mar 12, 2026
BEGIN_COMMIT_OVERRIDE
chore: unify tests in ecc/curves and ecc/groups (#21392)
chore: `ecc/fields` ASM audit (#20892)
chore: audit the `ecc/field` extension field (#21409)
chore: responding to external IPA audit (#20334)
feat: committed sumcheck for batched Hiding Translator (#21376)
chore: documentation fixes for ECCVM after first external audit (#20348)
chore: Document RAM gate cost optimization opportunity (#21426)
refactor: rename MSGPACK_FIELDS to SERIALIZATION_FIELDS (#21175)
END_COMMIT_OVERRIDE
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