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

added support for format v2; new file Merkle.swift and some additiona… #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jsoneaday
Copy link

Hi here's the item. Again a little rough.

Note some changes seem trivial, like optional types on the transaction fields, but decoding did not work without them so please test if you decide to remove them.

@lukereichold
Copy link
Owner

@jsoneaday I started reviewing this PR and things look good; generally just copying the logic the JS library uses.

I did some cleanup: https://github.com/lukereichold/arweave-swift/tree/add-formatv2

I asked on the Discord forums and clarified that we can safely drop support for v1 transactions, which should make things easier. As some changes were made to Transaction.swift, TransactionTests.swift needs some unit tests added to ensure that both data and $ transfer transactions are working as intended. Once those get added (I will eventually get around to it, feel free to add) then we can safely merge these changes.

@jsoneaday
Copy link
Author

jsoneaday commented Nov 15, 2021 via email

@jsoneaday
Copy link
Author

Hello @lukereichold any update on this PR? Seemed like you might be able to relatively easily merge it?

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.

2 participants