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

create to_json, serialize, deserialize methods on the Transaction object #23

Merged
merged 2 commits into from
Jul 28, 2018

Conversation

roks0n
Copy link
Contributor

@roks0n roks0n commented Jul 28, 2018

Proposed changes

Created to_json, serialize, deserialize methods on the Transaction object.

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improve a current implementation without adding a new feature or fixing a bug)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Build (changes that affect the build system)
  • Docs (documentation only changes)
  • Test (adding missing tests or fixing existing tests)
  • Other... Please describe:

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

None

@codecov-io
Copy link

codecov-io commented Jul 28, 2018

Codecov Report

Merging #23 into develop will increase coverage by 0.27%.
The diff coverage is 58.46%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #23      +/-   ##
===========================================
+ Coverage    72.04%   72.32%   +0.27%     
===========================================
  Files           32       32              
  Lines          576      589      +13     
  Branches        53       54       +1     
===========================================
+ Hits           415      426      +11     
- Misses         134      136       +2     
  Partials        27       27
Impacted Files Coverage Δ
crypto/serializer.py 74.57% <0%> (ø) ⬆️
...ypto/transactions/serializers/timelock_transfer.py 0% <0%> (ø) ⬆️
crypto/transactions/serializers/multi_payment.py 0% <0%> (ø) ⬆️
crypto/transactions/serializers/transfer.py 100% <100%> (ø) ⬆️
crypto/transactions/deserializers/transfer.py 100% <100%> (ø) ⬆️
crypto/transactions/builder/transfer.py 100% <100%> (ø) ⬆️
crypto/transactions/builder/base.py 95.65% <100%> (ø) ⬆️
crypto/deserializer.py 63.07% <41.17%> (ø) ⬆️
crypto/resources/transaction.py 83.18% <66.66%> (+0.18%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0865dd3...9b1afc3. Read the comment docs.

@roks0n roks0n merged commit 71f27c6 into ArkEcosystem:develop Jul 28, 2018
@roks0n roks0n deleted the json branch July 28, 2018 19:48
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