Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Release v1.9.0

Compare
Choose a tag to compare
@jimni1222 jimni1222 released this 21 Jul 01:10
· 65 commits to dev since this release
207ea27

What’s New in v.1.9.0

  • Supported KIP-71 dynamic gas fee pricing mechanism. (#328, #327, #329, #330, #331, #334, #343, #344, #346)
    • Added effectiveGasPrice field to the response object of caver.rpc.klay.getTransactionReceipt.
    • Supported value-setting logic for undefined gasPrice with dynamic gas fee pricing mechanism introduced with the proposed Magma hard fork. Any undefined gasPrice will therefore be defaulted to baseFee * 2.
    • Supported tx.suggestGasPrice function in transaction instances to easily determine the gas price.
    • Added newly introduced KIP-71 governance parameters in the return object of caver.rpc.governance APIs.
    • Added newly introduced caver.rpc.klay.getUpperBoundGasPrice and caver.rpc.klay.getLowerBoundGasPrice APIs.
      Please see KIP-71 for details.
  • Supported some of the Admin API to control peers. (#320, #323)
    • caver.rpc.admin.getNodeInfo calls admin_datadir.
    • caver.rpc.admin.getPeers calls admin_peers.
    • caver.rpc.admin.addPeer calls admin_addPeer.
    • caver.rpc.admin.removePeer calls admin_removePeer.

Improvements

  • Updated web3j version to 4.8.8. (#305)
  • Added code examples of the caver.wallet package in javadoc. (#306)
  • Added net_version rpc call to caver.rpc.net. (#320)

Fixes

  • Updated DefaultGasProvider to implement ContractGasProvider to support dynamic gas price. If you are using DefaultGasProvider such as new DefaultGasProvider(), please change it to new DefaultGasProvider(caver), (#322)