Skip to content
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
Compare
Choose a tag to compare
@sirano11 sirano11 released this 10 Aug 08:47
· 375 commits to dev since this release
5722c5a

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
  • 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.
  • Supports a method that recovers public keys from a transaction instance. (#267)
    • This method recovers public keys from the signatures or feePayerSignatures field of the transaction.
      • tx.recoverPublicKeys will recover public keys from signatures.
      • tx.recoverFeePayerPublicKeys will recover public keys from feePayerSignatures.
  • 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 validate signatures and feePayerSignatures in the transaction.
      • caver.validator.validateSender will validate signatures in the transaction.
      • caver.validator.validateFeePayer will validate feePayerSignatures 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 to generateRoleBasedKeys in KeyringFactory class.
  • 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)