-
Notifications
You must be signed in to change notification settings - Fork 66
Problem:(CRO-479) no HD wallet support in client-rpc #486
Conversation
client-rpc/src/rpc/wallet_rpc.rs
Outdated
#[rpc(name = "wallet_create_hd")] | ||
fn create_hd(&self, request: WalletRequest) -> Result<String>; |
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.
Can we update current wallet_create
RPC call to take WalletType
as an additional parameter instead of creating a new RPC method?
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.
ok
Codecov Report
@@ Coverage Diff @@
## master #486 +/- ##
==========================================
+ Coverage 66.34% 66.98% +0.63%
==========================================
Files 120 120
Lines 13909 14008 +99
==========================================
+ Hits 9228 9383 +155
+ Misses 4681 4625 -56
|
60a8bfd
to
7d99401
Compare
7d99401
to
e746094
Compare
05f03b1
to
d6e9543
Compare
bors r+ |
Build failed |
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.
integration test doesn't pass -- probably needs some fixes?
it's lack of unit test coverage. |
@leejw51 @leejw51crypto the existing tests don't pass: https://travis-ci.org/crypto-com/chain/jobs/599922522#L5135
|
8b36b49
to
ef0b13f
Compare
i'm working on intergration test |
fix hdwallet creation tidy up replace String with SecUtf8 fix unit test add unit test add unit test for send amount fix integration test
ef0b13f
to
81d0a55
Compare
fix integration test , giving wallet type "Basic" in calling "create wallet" like this
i added
thanks @calvinaco |
bors try |
tryBuild succeeded |
bors r+ |
486: Problem:(CRO-479) no HD wallet support in client-rpc r=tomtau a=leejw51crypto Solution: add hdwallet api to client-rpc 501: Problem: unrestricted drone exec pipeline r=tomtau a=tomtau Solution: added trigger conditions, such that "exec" pipelines are only executed after bors actions Co-authored-by: Jongwhan Lee <jonghwan@crypto.com> Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
Solution: add hdwallet api to client-rpc