github 0xsoniclabs/sonic v2.2.3

5 hours ago

Version 2.2.3 is a stability release. Upgrading is recommended for all RPC operators.

Changed

  • trace_filter now rejects requests whose toBlock is more than 1000 blocks past fromBlock. The limit can be adjusted with the new --rpc.tracefilterrange flag (Opera.MaxTraceFilterRange in the configuration file), 0 disables it.
  • eth_getProof now accepts at most 1024 storage keys per request and rejects malformed storage keys with an invalid params error.
  • --rpc.log-query-parameter-limit now also applies to eth_getLogs queries by blockHash, to eth_newFilter and to logs subscriptions.
  • eth_createAccessList now stops when its request is cancelled or times out.
  • eth_sendTransaction, eth_signTransaction, eth_fillTransaction, eth_resend, eth_createAccessList, personal_sendTransaction and personal_signTransaction now reject a chainId that does not match the node's, set-code transactions without to or with gasPrice, and blob transactions without to.
  • The transaction pool now rejects bundle-only transactions that approve no execution plan, more than one execution plan, or only execution plans that have already been processed.
  • The transaction pool now evicts bundle-only transactions once all execution plans they approve have been processed, or once they have waited for their bundle for one hour (TxPool.BundleOnlyLifetime in the configuration file).

Fixed

  • Fixed genesis import skipping the bundle history when the genesis contains no retained bundles, which made the node diverge from the network at the next epoch sealing.
  • Fixed RPC methods serving a block, its transactions or receipts before the state of that block, which let calls resolving latest miss the effects of a transaction whose receipt had already been returned.
  • Fixed newHeads and newPendingTransactions subscriptions dropping notifications for events occurring right after the subscription was created.
  • Fixed debug_traceCall, trace_call and trace_callMany panicking for unknown blocks instead of reporting header not found.
  • Fixed eth_simulateV1 panicking for set-code and blob calls without to instead of rejecting them as in transaction execution.
  • Fixed dag_getHeads panicking at epoch boundaries instead of returning an error.
  • Fixed the transaction pool keeping set-code transactions with invalid authorizations indexed indefinitely, which slowed the pool down over time.
  • Fixed a race between node shutdown and connecting peers.

Don't miss a new sonic release

NewReleases is sending notifications on new releases.