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

refactor: consolidate ISM compatibility logic and static deployment c… #19

Merged

Conversation

mshojaei-txfusion
Copy link
Collaborator

Description

Moves ISM-related utility functions to ism/utils.ts and replaces the boolean mapping with a STATIC_ISM_TYPE array for better maintainability. This change keeps all ISM-related code in one place.

Changes

  • Moved ISM compatibility checks to dedicated utils file
  • Replaced boolean mapping with STATIC_ISM_TYPE array
  • Cleaned up exports
  • Updated import paths
  • Simplified compatibility logic

Compatibility

No breaking changes - maintains full backward compatibility

Testing

  • Manual testing completed

Related Issues

None

@mshojaei-txfusion mshojaei-txfusion merged commit 6ec202e into feat/zksync-support Jan 14, 2025
1 check passed
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.

3 participants