Skip to content

Fix create - #134

Merged
0xisk merged 11 commits into
OpenZeppelin:mainfrom
andrew-fleming:fix-create-improve-type-check
Jul 29, 2026
Merged

Fix create#134
0xisk merged 11 commits into
OpenZeppelin:mainfrom
andrew-fleming:fix-create-improve-type-check

Conversation

@andrew-fleming

@andrew-fleming andrew-fleming commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

The base create forced a fixed param shape and a generic return, so subclass overrides fail ts static-side checks. This PR makes create more permissive. Without doing a heavy refactor of typechecking, the evidence that this fix works is in the simulators in integration/. Without the fix, there's an ide error. With the fix, no error

Summary by CodeRabbit

  • Bug Fixes
    • Improved simulator creation compatibility across different invocation patterns.

Loading
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