Skip to content

v0.24.0

Compare
Choose a tag to compare
@Buckram123 Buckram123 released this 12 Jul 08:21
· 90 commits to main since this release

What's changed

  • Deprecate cw-orch-core TxHandler::sender in favor of TxHandler::sender_addr
  • Implement SenderBuilder, QuerySender and TxSender which allow for customizing the transaction commitment logic.
  • Changed cw-orch-interchain InterchainEnv API
    • chain --> get_chain
    • follow_packet --> await_single_packet
    • wait_ibc --> await_packets
    • check_ibc --> await_and_check_packets
    • follow_packets_from_tx_hash --> await_packets_for_txhash
  • Better Docs for interchain, cw-orch and clone-testing
  • CW_ORCH_MIN_GAS Now defaults to 150_000 instead of 0, making it more reliable for txs that cost little gas

What's added

  • Added async query functions generations with cw_orch::QueryFns
  • Re-export ibc-relayer-types inside cw-orch-interchain for ease of use
  • Added max block time environment variable CW_ORCH_MAX_BLOCK_TIME
  • Can now easily build QueryOnlyDaemon which will only expose query functions.

What's Breaking

  • Refactor Daemon builder pattern to allow for custom senders.
  • Update Daemon / DaemonAsync implementations to reflect customizable sender.
  • Deprecated CW_ORCH_MIN_BLOCK_SPEED in favor of CW_ORCH_MIN_BLOCK_TIME