github 0xsoniclabs/sonic v2.2.0

10 hours ago

Added

  • Add support the Brio hard-fork.
  • Add support for Transaction Bundles feature, enabled with the Brio hard-fork.
  • Add RPC methods to create, submit, and monitor transaction bundles: sonic_prepareBundle, sonic_submitBundle, sonic_getBundleInfo.
  • Add RPC method sonic_estimateGasForTransactions, allowing to estimate gas for a sequence of dependent transactions.
  • Implement CLZ VM instruction EIP-7939, enabled with the Brio hard-fork.
  • Add precompiled contract for secp256r1 Curve Support EIP-7951, enabled with the Brio hard-fork.
  • Introduce eth_Config RPC method tailored for the Sonic network.
  • Add analyze command to sonictool providing database usage insights.
  • Add restrictions for rpc log queries rpc.log-query-parameter-limit and rpc.log-query-result-limit.
  • Introduced the eth_simulateV1 RPC method.
  • Introduced the trace_callMany RPC method.
  • Added the stateDiff tracer to the trace_call RPC method.

Changed

  • Increase maximum contract and init-code size to 48 KiB and 96 KiB respectively when the Brio upgrade is enabled.
  • Increase gas cost for the ModExp precompiled contract in accordance with EIP-7883 when the Brio upgrade is enabled.
  • Restrict maximum input length for ModExp precompiled contract EIP-7823 when Brio upgrade is enabled.
  • Introduce protocol-level upper bound gas usage per transaction (à la EIP-7825) when Brio upgrade is enabled.
  • Introduce protocol level maximum RLP encoded block size of 10 MiB EIP-7934 when the Brio upgrade is enabled.
  • Changed the output format of the trace_call RPC from a list of traces to a structure that includes both traces and stateDiff.
  • Reduce log indexer resource utilization in the context of eth_getlogs.
  • Changed minimum required Go version to 1.26.0.

Removed

  • Disable RPC debug namespace methods: debug_verbosity, debug_vmodule, debug_memStats, debug_gcStats, debug_cpuProfile, debug_startCPUProfile, debug_stopCPUProfile, debug_goTrace, debug_startGoTrace, debug_stopGoTrace, debug_blockProfile, debug_setBlockProfileRate, debug_writeBlockProfile, debug_mutexProfile, debug_setMutexProfileFraction, debug_writeMutexProfile, debug_writeMemProfile, debug_stacks, debug_freeOSMemory, debug_setGCPercent, debug_setMemoryLimit

Fixed

  • Fixed inconsistent RPC answers near the block head (live-db and archive-db synchronicity issue).
  • Fixed an issue where partial results were returned without an error when calling debug_traceBlockByNumber and debug_traceBlockByHash under certain erroneous scenarios.
  • Fixed rewards attribution of subsidized transactions.

Don't miss a new sonic release

NewReleases is sending notifications on new releases.