Skip to content

fix(specs,testing): Fix serializaiton to use camelCase; refactor model impls#96

Merged
fselmo merged 1 commit intoleanEthereum:mainfrom
fselmo:fix/refactor-and-fix-model-implementations
Oct 29, 2025
Merged

fix(specs,testing): Fix serializaiton to use camelCase; refactor model impls#96
fselmo merged 1 commit intoleanEthereum:mainfrom
fselmo:fix/refactor-and-fix-model-implementations

Conversation

@fselmo
Copy link
Contributor

@fselmo fselmo commented Oct 29, 2025

🗒️ Description

I realized we are not serializing test vectors to camelCase - overlooked this in #76. This adds this fix and removes redundant re-implementations of strict base models to inherit from StrictBaseModel instead.

  • We should use CamelModel for models to serialize to camelCase for test vectors.
  • Removed redundant implementations of strict / frozen and opted to inherit from StrictBaseModel

✅ Checklist

  • Ran tox checks to avoid unnecessary CI fails:
    uvx tox -e all-checks,pytest

@fselmo fselmo marked this pull request as ready for review October 29, 2025 15:21
@fselmo fselmo requested a review from tcoratger October 29, 2025 15:21
@fselmo fselmo added bug Category: bug fix specs Scope: Changes to the specifications framework Scope: Changes to the testing framework refactor Category: refactor labels Oct 29, 2025
@fselmo fselmo force-pushed the fix/refactor-and-fix-model-implementations branch from 1469c89 to c78d349 Compare October 29, 2025 15:24
@fselmo fselmo merged commit 0f6a12e into leanEthereum:main Oct 29, 2025
10 checks passed
@fselmo fselmo deleted the fix/refactor-and-fix-model-implementations branch October 29, 2025 15:30
@unnawut unnawut added this to the pq-devnet-1 milestone Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Category: bug fix framework Scope: Changes to the testing framework refactor Category: refactor specs Scope: Changes to the specifications

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants