hyperledger-web3j / web3j-cli

Command-line interface for web3j
https://github.com/web3j/web3j-cli
Other
58 stars 30 forks source link

'No TypeConverter registered' when import wallet from private key #80

Closed yuranich closed 2 years ago

yuranich commented 2 years ago

When execute a command web3j wallet import <private-key> getting an error:

No TypeConverter registered for java.util.Optional of field java.util.Optional<String> org.web3j.console.wallet.subcommands.WalletImportCommand.privateKey

The issue seems to be addressed in the library https://github.com/remkop/picocli/issues/1108

I will try to update the version. If it doesn't help I will just fix the code to bypass this problem, should be pretty easy. I will submit PR soon if no objections

yuranich commented 2 years ago

I built project locally from master branch an found out that the issue is already fixed, thanks https://github.com/web3j/web3j-cli/pull/73

1.4.1 released version has alder sources. Closing the issue, I guess newer patch version can be released on every merged PR.