This repository was archived by the owner on Jul 23, 2024. It is now read-only.
Release v1.6.3
v1.6.3 Release Notes
Breaking changes
- Modified field name
keyRingtokeyringin KeyStore class.(#269)
New Features
- Supports Governance RPC call. (#258)
caver.rpc.governanceprovides Governance RPC call.caver.rpc.governance.votecaver.rpc.governance.votecaver.rpc.governance.showTallycaver.rpc.governance.getTotalVotingPowercaver.rpc.governance.getMyVotingPowercaver.rpc.governance.getMyVotescaver.rpc.governance.getChainConfigcaver.rpc.governance.getNodeAddresscaver.rpc.governance.getItemsAtcaver.rpc.governance.getPendingChangescaver.rpc.governance.getVotescaver.rpc.governance.getIdxCachecaver.rpc.governance.getIdxCacheFromDbcaver.rpc.governance.getItemCacheFromDbcaver.rpc.governance.getStakingInfo
- Please refer to Klaytn Docs for more details.
- Supports decoding function call that consists of function selector and encoded parameters. (#260, #261)
caver.abi.decodeFunctionCallcontract.decodeFunctionCallkip7.decodeFunctionCallkip17.decodeFunctionCallkip37.decodeFunctionCall
- Supports a method to get a caver transaction instance by transaction hash. (#263)
- This method converts the result of
caver.rpc.klay.getTransactionwith the transaction hash into a transaction instance provided by caver-java.caver.transaction.getTransactionByHash
- This method converts the result of
- Supports new utils methods. (#264, #267)
- Since Klaytn supports account key updates, you need public key information to verify the signature. Also, a function to retrieve the address derived from the public key is provided.
caver.utils.recoverPublicKeywill recover public key string from signature.caver.utils.publicKeyToAddresswill derive an address from a public key.
- Since Klaytn supports account key updates, you need public key information to verify the signature. Also, a function to retrieve the address derived from the public key is provided.
- Supports a method that recovers public keys from a transaction instance. (#267)
- This method recovers public keys from the
signaturesorfeePayerSignaturesfield of the transaction.tx.recoverPublicKeyswill recover public keys fromsignatures.tx.recoverFeePayerPublicKeyswill recover public keys fromfeePayerSignatures.
- This method recovers public keys from the
- Adds a new layer named
Validator. (#265, #268)caver.validatoris a layer that provides validation methods that are necessary to use Klaytn.caver.validator.validateSignedMessagewill validate the signature signed on a message.caver.validator.validateTransactionwill validatesignaturesandfeePayerSignaturesin the transaction.caver.validator.validateSenderwill validatesignaturesin the transaction.caver.validator.validateFeePayerwill validatefeePayerSignaturesin the transaction.
- Adds a network provider that manages the network connection as a field of Caver class. (#251)
Fixed
- Fixed a typo in method name. (#256)
- Fixed the method name
generateRolBasedKeystogenerateRoleBasedKeysin KeyringFactory class.
- Fixed the method name
- Fixed an encoding/decoding logic that occurred when if the length of a dynamic array is zero. (#257)
- Fixed a decoding issue for LegacyTransaction logic. (#266)
- If a number type field (e.g., nonce, gas, gasPrice, value) has 0 value, it decodes as bigInteger.
- Fixed a build problem when using an IntelliJ. (#259)