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

fix: snip-12 violation with extra : in enum encoding #1288

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

xJonathanLEI
Copy link
Contributor

Motivation and Resolution

Resolves #1286.

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 b903116 into starknet-io:develop Jan 2, 2025
3 checks passed
@xJonathanLEI xJonathanLEI deleted the dev/snip_12_enum_colon branch January 2, 2025 12:32
penovicp pushed 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
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 📦🚀

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

Successfully merging this pull request may close these issues.

Incorrect SNIP-12 enum type signature encoding
2 participants