This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
Release v1.6.3-rc.4
Pre-release
Pre-release
v1.6.3-rc.4 Release Notes
New Features
- Supports Governance RPC call. (#258)
caver.rpc.governance
provides Governance RPC call.caver.rpc.governance.vote
caver.rpc.governance.vote
caver.rpc.governance.showTally
caver.rpc.governance.getTotalVotingPower
caver.rpc.governance.getMyVotingPower
caver.rpc.governance.getMyVotes
caver.rpc.governance.getChainConfig
caver.rpc.governance.getNodeAddress
caver.rpc.governance.getItemsAt
caver.rpc.governance.getPendingChanges
caver.rpc.governance.getVotes
caver.rpc.governance.getIdxCache
caver.rpc.governance.getIdxCacheFromDb
caver.rpc.governance.getItemCacheFromDb
caver.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.decodeFunctionCall
contract.decodeFunctionCall
kip7.decodeFunctionCall
kip17.decodeFunctionCall
kip37.decodeFunctionCall
- Supports a method to get a caver transaction instance by transaction hash. (#263)
- This method converts the result of
caver.rpc.klay.getTransaction
with 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.recoverPublicKey
will recover public key string from signature.caver.utils.publicKeyToAddress
will 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
signatures
orfeePayerSignatures
field of the transaction.tx.recoverPublicKeys
will recover public keys fromsignatures
.tx.recoverFeePayerPublicKeys
will recover public keys fromfeePayerSignatures
.
- This method recovers public keys from the
- Adds a new layer named
Validator
. (#265, #268)caver.validator
is a layer that provides validation methods that are necessary to use Klaytn.caver.validator.validateSignedMessage
will validate the signature signed on a message.caver.validator.validateTransaction
will validatesignatures
andfeePayerSignatures
in the transaction.caver.validator.validateSender
will validatesignatures
in the transaction.caver.validator.validateFeePayer
will validatefeePayerSignatures
in 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
generateRolBasedKeys
togenerateRoleBasedKeys
in 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)