> loading_
# Tempo transaction re-validation & policy change walkthrough
# ============================================================
# If you're building on Tempo and submitting transactions programmatically,
# here's how these changes affect your workflow.
# 1. Policy changes now trigger automatic re-validation of pooled transactions.
# Previously, a transaction submitted *before* a policy update could linger
# in the mempool even if the new policy invalidated it.
#
# Before (buggy behavior):
# submit_tx(tx_a) # tx_a validated against policy_v1 ✅
# update_policy(policy_v2) # policy changes — tx_a NOT re-checked ❌
# # tx_a could fail at execution time
#
# After (PR #3532):
# submit_tx(tx_a) # tx_a validated against policy_v1 ✅
# update_policy(policy_v2) # tx_a re-validated against policy_v2 ✅ or evicted
# 2. Fee token resolution is now consistent during policy checks.
# If your dapp specifies a fee token, ensure you're referencing the
# canonical resolved token address, not an alias or wrapper.
#
# # Example: submitting a transaction with explicit fee token
# tx = build_transaction(
# sender=my_account,
# payload=call_data,
# fee_token="0xResolvedFeeTokenAddress" # use the resolved address
# )
# # The node will now correctly match this against policy rules
# 3. Node operators: remove the deprecated CLI flag.
# # Old startup command (will break):
# # tempo-node --enable-subblocks --rpc-port 9933 --chain mainnet
#
# # Updated startup command:
# # tempo-node --rpc-port 9933 --chain mainnet
# #
# # Subblocks are now enabled by default — no flag needed.
# # Grep your scripts and systemd units:
# # grep -r "enable-subblocks" /etc/tempo/ ~/.tempo/ scripts/