Skip to content

jellyfish-transaction-signature#359

Closed
ivan-zynesis wants to merge 15 commits intomainfrom
feature/jellyfish-transaction-signature
Closed

jellyfish-transaction-signature#359
ivan-zynesis wants to merge 15 commits intomainfrom
feature/jellyfish-transaction-signature

Conversation

@ivan-zynesis
Copy link
Contributor

@ivan-zynesis ivan-zynesis commented Jun 9, 2021

What kind of PR is this?:

/kind refactor

What this PR does / why we need it:

To remove crypto dependencies from jellyfish-transaction
to become pure transaction object-buffer (de)composer

Which issue(s) does this PR fixes?:

Fixes #132
Meant to close 132 once merged

Additional comments?:

@qlty-cloud-legacy
Copy link

qlty-cloud-legacy bot commented Jun 9, 2021

Code Climate has analyzed commit d2d4ee3 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

View more on Code Climate.

@netlify
Copy link

netlify bot commented Jun 9, 2021

✔️ Deploy Preview for jellyfish-defi ready!

🔨 Explore the source changes: 54e6c58

🔍 Inspect the deploy log: https://app.netlify.com/sites/jellyfish-defi/deploys/60c03c5add206d0007149405

😎 Browse the preview: https://deploy-preview-359--jellyfish-defi.netlify.app

@fuxingloh
Copy link
Contributor

Wait for #320

import { writeVarUInt } from './buffer/buffer_varuint'
import { ONE_HUNDRED_MILLION, writeBigNumberUInt64 } from './buffer/buffer_bignumber'

export enum SIGHASH {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considered part of TransactionSegWit definition, moved to jellyfish-transaction/tx_segwit

@github-actions
Copy link

github-actions bot commented Jun 9, 2021

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/jellyfish/dist/index.umd.js 20.18 KB (0%) 404 ms (0%) 171 ms (-5.02% 🔽) 575 ms

@codecov
Copy link

codecov bot commented Jun 9, 2021

Codecov Report

Merging #359 (54e6c58) into main (c2963de) will decrease coverage by 0.71%.
The diff coverage is 100.00%.

❗ Current head 54e6c58 differs from pull request most recent head d2d4ee3. Consider uploading reports for the commit d2d4ee3 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main     #359      +/-   ##
==========================================
- Coverage   97.15%   96.44%   -0.72%     
==========================================
  Files          91       93       +2     
  Lines        2640     2645       +5     
  Branches      339      340       +1     
==========================================
- Hits         2565     2551      -14     
- Misses         75       94      +19     
Impacted Files Coverage Δ
packages/jellyfish-transaction/src/index.ts 100.00% <ø> (ø)
...llyfish-transaction-builder/src/txn/txn_builder.ts 96.15% <100.00%> (+0.07%) ⬆️
...kages/jellyfish-transaction-signature/src/index.ts 97.29% <100.00%> (ø)
packages/jellyfish-transaction/src/tx_segwit.ts 41.37% <100.00%> (-58.63%) ⬇️
packages/jellyfish-wallet-mnemonic/src/mnemonic.ts 97.91% <100.00%> (+0.04%) ⬆️
packages/jellyfish-crypto/src/der.ts 92.30% <0.00%> (-3.85%) ⬇️
packages/jellyfish-crypto/src/bs58.ts 94.11% <0.00%> (-2.95%) ⬇️
packages/jellyfish-wallet/src/wallet_account.ts 100.00% <0.00%> (ø)
packages/jellyfish-transaction/src/script/index.ts 100.00% <0.00%> (ø)
... and 10 more

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 c2963de...d2d4ee3. Read the comment docs.

@fuxingloh fuxingloh marked this pull request as draft June 9, 2021 04:43
@ivan-zynesis ivan-zynesis force-pushed the feature/jellyfish-transaction-signature branch from f467929 to 9c35a9f Compare June 10, 2021 11:56
@ivan-zynesis
Copy link
Contributor Author

Replaced with #369

@ivan-zynesis ivan-zynesis deleted the feature/jellyfish-transaction-signature branch June 14, 2021 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/workflow kind/refactor Non feature refactor change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

seperate jellyfish-transaction segwit parts into jellyfish-signature

3 participants