Skip to content

fix(StarkEx): Revert StarkEx Ethers v6#2610

Closed
zaidarain1 wants to merge 19 commits into
mainfrom
fix/revert-starkex-ethersv6
Closed

fix(StarkEx): Revert StarkEx Ethers v6#2610
zaidarain1 wants to merge 19 commits into
mainfrom
fix/revert-starkex-ethersv6

Conversation

@zaidarain1
Copy link
Copy Markdown
Contributor

No description provided.

@zaidarain1 zaidarain1 self-assigned this Apr 2, 2025
@zaidarain1 zaidarain1 requested a review from a team as a code owner April 2, 2025 06:04
@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented Apr 2, 2025

View your CI Pipeline Execution ↗ for commit 2427970.

Command Status Duration Result
nx release publish --tag alpha ✅ Succeeded 52s View ↗
nx run-many -p @imtbl/sdk,@imtbl/checkout-widge... ✅ Succeeded 2m 8s View ↗

☁️ Nx Cloud last updated this comment at 2025-04-04 05:25:05 UTC

@zaidarain1 zaidarain1 requested a review from a team as a code owner April 4, 2025 04:11
brayansdt and others added 18 commits April 4, 2025 15:12
Replaces string-based signature message with raw bytes in stark
key generation to prevent encoding issues in non-English systems.

This aligns with the fix for wallet connection message encoding.
- Add debug logs to track utf-8 byte encoding/decoding
- Compare utf-8 bytes between TextEncoder/TextDecoder and ethers.toUtf8Bytes
- Attempt to fix encoding issue by using ethers.toUtf8Bytes directly for signing
- Add validation that encoded bytes match expected connection string
@zaidarain1 zaidarain1 force-pushed the fix/revert-starkex-ethersv6 branch from 06ff334 to b9a0493 Compare April 4, 2025 04:15
Buffer: true,
process: true,
},
modules: ['crypto', 'buffer', 'process']
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.

👋 What does this do?

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.

It let's the polyfill plugin handle the polyfills, for some reason crypto isn't getting polyfilled for a specific package even if it is being specified here, removing this line fixes that issue

@zaidarain1 zaidarain1 closed this Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants