Skip to content

TXMv2 changes for Hedera#474

Draft
dimriou wants to merge 4 commits into
developfrom
hedera_improvements
Draft

TXMv2 changes for Hedera#474
dimriou wants to merge 4 commits into
developfrom
hedera_improvements

Conversation

@dimriou
Copy link
Copy Markdown
Contributor

@dimriou dimriou commented May 18, 2026

This PR migrates Hedera to TXMv2.

Hedera is not an EVM based chain, it only provides an EVM-like API. This means that transactions can fail without an error message and the network will silently drop the transactions. It also binds transaction hashes with a unique Hedera ID and a timestamp. If the transaction is not confirmed within that timestamp the transaction will be silently dropped no matter how many times you retry. To bypass this we migrate to TXMv2 that:

  • Confirms transactions by nonce and has a tolerance for slow confirmation from the RPC, which is what TXMv1 is lacking. This has caused nonce sync issues in the past.
  • Fills nonce gaps even for untracked transactions
  • Now bumps new attempts by 1 wei in order to generate new hashes each time.
  • Marks txs as purgeable even after successful transmissions - Hedera doesn't return an error message in the majority of cases anyway.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 18, 2026

⚠️ API Diff Results - github.com/smartcontractkit/chainlink-evm

⚠️ Breaking Changes (1)

pkg/txm (1)
  • NewAttemptBuilder — Type changed:
func(
  func(github.com/ethereum/go-ethereum/common.Address) *github.com/smartcontractkit/chainlink-evm/pkg/assets.Wei, 
  github.com/smartcontractkit/chainlink-evm/pkg/gas.EvmFeeEstimator, 
  github.com/smartcontractkit/chainlink-evm/pkg/keys.TxSigner, 
  uint64, 
  bool, 
  + github.com/smartcontractkit/chainlink-evm/pkg/config/chaintype.ChainType
)
*attemptBuilder

📄 View full apidiff report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant