Skip to content

Conversation

@franciszekjob
Copy link
Collaborator

Describe your changes

version in Domain is now encoded as string, instead of number

Linked issues

Closes #227

Breaking changes

  • This issue contains breaking changes

@franciszekjob franciszekjob requested a review from DelevoXDG April 18, 2025 17:19
@franciszekjob franciszekjob merged commit 192b955 into main Apr 18, 2025
2 checks passed
@franciszekjob franciszekjob deleted the fix/227-domain-revision-encoding branch April 18, 2025 18:12
DarthMike pushed a commit to argentlabs/starknet.swift that referenced this pull request Apr 22, 2025
* Change `StarknetTypedData` version type to `String`

* Remove dummy changes

* Add `Domain` encoding

* Apply code review suggestion

* Little refactor

* Little refactor

* Remove unused code

* Fix version encoding

* Fix tests
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.

TypedData domain.version is not encoded as short string

3 participants