-
Notifications
You must be signed in to change notification settings - Fork 37
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
rawtx.createRawTransaction, rawtx.signRawTransactionWithKey, rawtx.testMempoolAccept, rawtx.sendRawTransaction #127
Conversation
Deploy preview for jellyfish-defi ready! Built with commit cee5030 |
size-limit report 📦
|
9d65a6b
to
33191ce
Compare
Codecov Report
@@ Coverage Diff @@
## main #127 +/- ##
==========================================
+ Coverage 94.32% 94.38% +0.06%
==========================================
Files 36 37 +1
Lines 793 784 -9
Branches 92 93 +1
==========================================
- Hits 748 740 -8
Misses 42 42
+ Partials 3 2 -1
Continue to review full report at Codecov.
|
testMempoolAccept createRawTransaction signRawTransactionWithKey
33191ce
to
a66fcf6
Compare
b3526df
to
b88cbe9
Compare
const { sigHashType = SigHashType.ALL } = options | ||
return await this.client.call('signrawtransactionwithkey', [ | ||
rawTx, privKeys, options.prevTxs, sigHashType | ||
], 'number') | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh.. one more..
const { privKeys = [], sigHashType = SigHashType.ALL } = options
return await this.client.call('signrawtransactionwithkey', [
rawTx, privKeys, prevTxs, sigHashType
], 'number')
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests are super solid 👏👏
What kind of PR is this?:
/kind feature
What this PR does / why we need it:
Added types for
rawtx.ts
#48I added
//TODO
comments for some parts of the code as it's beyond my scope to implement them. Need to work on others features now.