Skip to content

v2.0.5

Choose a tag to compare

@claytonneal claytonneal released this 05 Sep 11:21
· 24 commits to main since this release
61b65a1

Changes Overview

  • Added support for passing TransactionClause[] directly to executeMultipleClausesTransaction.
  • Fix of Stack overflow exception when polling
  • Improved error handling to prevent infinite polling
  • The gasLimit field in TransactionRequestInput is now marked as deprecated. This field caused confusion as the gas field is the gas limit. A fix was also implemented so that:
    • if gasLimit is provided it is used as the gas field
    • if gas is provided it is used
    • else: gas is estimated
  • The following changes were done to allow testing against hayabusa solo. These changes are only relevant if using thor solo network:
    • hard coded chainTag values for solo network were removed
    • a new function in the thor client nodes module getChainTag was added

Note:
Functions for transaction and contracts already got their chainTag dynamically if not specified
The changes for hayabusa are to facilitate apps to run their unit/integration tests on solo or custom networks where the chainTag has changed for hayabusa hardfork

  • Exceptions raised by SimpleHttpClient now include request and response details from thor

Detailed Changes

  • build(deps): bump actions/upload-pages-artifact from 3 to 4 by @dependabot[bot] in #2408
  • build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #2378
  • build(deps): bump actions/download-artifact from 4.1.8 to 5.0.0 by @dependabot[bot] in #2363
  • build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.2 by @dependabot[bot] in #1940
  • build(deps-dev): bump typedoc-plugin-missing-exports from 3.0.0 to 3.1.0 by @dependabot[bot] in #1759
  • Integrate auto tag and on PR workflows in main by @giuliamorg92 in #2422
  • feat: added support for TransactionClause[] for executeMultipleClausesTransaction clause parameter by @GrandinLuc in #2419
  • fix: remove reinitialization of proxies to avoid stack overflow excep… by @HiiiiD in #2426
  • chore: add test for max fee per gas for a contract transaction by @claytonneal in #2425
  • fix: improve error handling and prevent infinite polling in TransactionsModule by @giuliamorg92 in #2414
  • Deprecate gasLimit redundant field by @giuliamorg92 in #2345
  • feat: added missing test by @GrandinLuc in #2441
  • Feature hayabusa by @frank0170 in #2433
  • fix: enhance error handling in SimpleHttpClient for better response context by @giuliamorg92 in #2358
  • build(deps): bump actions/upload-artifact from 4.4.3 to 4.6.2 by @dependabot[bot] in #2430
  • build(deps): bump axios from 1.10.0 to 1.11.0 by @dependabot[bot] in #2302
  • Release: 2.0.5 by @claytonneal in #2448

Full Changelog: v2.0.4...v2.0.5