Open mersinvald opened 5 years ago
Fixed fail for signer_newAccount
in #58 and #57
Okay, most of the failures are due to test-coverage
tool trying to pass randomly-generated params, which doesn't work well with stateful jade-signer
.
PR #59 fixes that through skipping tests with no examples defined.
Current state:
Example Success: signer_newAccount [
{
name: 'my test wallet',
description: 'my test wallet description',
passphrase: 'baz'
},
{ chain: 'etc' }
] 0x90ee510fb88ea47a84b45a6d983a0bc6b193e385
JSON-RPC Request Error: signer_importMnemonic
{ code: -32601, message: 'Method not found' }
[
{
name: 'my imported wallet',
description: 'my imported wallet description',
passphrase: 'baz',
hd_path: "m/44'/60'/160720'/0'",
mnemonic: 'icon suggest road current ripple engage spell clay route large arena climb oxygen electric cupboard dream title immune fit beyond mouse slab bronze salad'
},
{ chain: 'etc' }
]
Describe the bug Testing against open-rpc-test-coverage fails:
To Reproduce
open-rpc-test-coverage -s ./openrpc.json --transport=http --reporter=console
Expected behavior Clear and green test run
Log