Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: correct enum typed data hashing #1281

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

penovicp
Copy link
Collaborator

@penovicp penovicp commented Dec 3, 2024

Motivation and Resolution

Fixes #1278

Checklist:

  • Performed a self-review of the code
  • Rebased to the last commit of the target branch (or merged it into my branch)
  • Linked the issues which this PR resolves
  • Documented the changes in code (API docs will be generated automatically)
  • Updated the tests
  • All tests are passing

@penovicp penovicp merged commit 6e353d3 into develop Dec 4, 2024
3 checks passed
@penovicp penovicp deleted the fix/enum-typed-data branch December 4, 2024 22:21
penovicp added a commit to penovicp/starknet.js that referenced this pull request Jan 7, 2025
penovicp added a commit to penovicp/starknet.js that referenced this pull request Jan 7, 2025
* revert "fix: rectify snip-12 violation by removing extra `:` in enum encoding (starknet-io#1288)"
    ** this reverts commit b903116.
* revert "fix: correct enum typed data hashing (starknet-io#1281)"
    ** this reverts commit 6e353d3.
penovicp added a commit to penovicp/starknet.js that referenced this pull request Jan 7, 2025
* revert "fix: rectify snip-12 violation by removing extra `:` in enum encoding (starknet-io#1288)"
    - this reverts commit b903116
* revert "fix: correct enum typed data hashing (starknet-io#1281)"
    - this reverts commit 6e353d3
penovicp added a commit that referenced this pull request Jan 7, 2025
* revert "fix: rectify snip-12 violation by removing extra `:` in enum encoding (#1288)"
    - this reverts commit b903116
* revert "fix: correct enum typed data hashing (#1281)"
    - this reverts commit 6e353d3
penovicp added a commit that referenced this pull request Jan 7, 2025
github-actions bot pushed a commit that referenced this pull request Jan 8, 2025
# [6.21.0](v6.20.3...v6.21.0) (2025-01-08)

### Bug Fixes

* correct enum typed data hashing ([#1281](#1281)) ([6e353d3](6e353d3))
* rectify snip-12 violation by removing extra `:` in enum encoding ([#1288](#1288)) ([b903116](b903116))
* repair fetch utility for browser environments ([#1293](#1293)) ([2cb1332](2cb1332))

### Features

* enable base fetch override ([#1279](#1279)) ([0fce61e](0fce61e))
Copy link

github-actions bot commented Jan 8, 2025

🎉 This PR is included in version 6.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enum encoding is different from the SNIP-12 spec
1 participant