Skip to content

Casper JS SDK v3.0.0-rc04

Pre-release
Pre-release
Compare
Choose a tag to compare
@zajko zajko released this 25 Jul 10:15
· 4 commits to condor since this release
1124678

Added

  • Brought back the functionality of setting contract hash (setContractHash method) in Contract class. Previously even using that method would ignore the contract hash due to a bug in the node. Now setting it will imply that the contract endpoints need to by called by contract hash. You still can use setContractName, but setContractHash takes priority if both are used.
  • Added the possibility to muffle deprecation warnings in CasperServiceByJsonRPC. You can now pass muffleDeprecationWarnings as an optional parameter to the constructor. If set to true, the SDK will not log any deprecation warnings from that class. Defaults to false

Removed

  • TransactionSessionKind since field kind was removed from Session implementation of TransactionTarget
  • Removed usages of toHex, fromHex and toAccountHashStr since they are deprecated.

Changed

  • waitForDeploy and waitForTransaction methods will fail fast if the results for getting deploy/transaction info is present but was not successfull.