我們剛剛進行了一項更改,以顯著加快 Abstract 門戶中的交易執行速度。 交易現在應在 1-2 秒內完成。 預計很快就會有更多的速度改進。
潛在的變化實際上應該會加快許多加密應用程式的交易接收速度(不僅僅是特定於 Abstract 的)。 您可以在此處閱讀更多相關資訊:
Jarrod Watts
Jarrod Watts2025年6月6日
A simple change just got shipped that should make every crypto app way faster by default. Viem (the library powering most crypto apps) polls the chain to check if a transaction has completed every 4 seconds as the default value. This makes sense for mainnet with 12 second block times, but most L2s today have much shorter block times. Polling every 4 seconds means your app could be waiting for transaction confirmation despite your transaction being confirmed many blocks ago. This PR adds a new “chain.blockTime” field that changes the default polling interval to be much faster on L2s. Instead of 4 seconds, the default polling interval is now (chain.blockTime / 3) with block times predefined for OP stack and ZK stack chains including Abstract. Shoutout to @coffeexcoin and @_jxom for shipping this. Update your Viem versions to see the difference!
23.91K