github hiero-ledger/hiero-mirror-node v0.145.1

latest release: v0.145.2
18 hours ago

HIP-1261 Simple Fees saw a new REST API added to support estimating network fees. The new POST /api/v1/network/fees REST API takes as input a serialized Transaction protobuf object in the request body with either application/protobuf or application/x-protobuf Content-Type header and produces a break down of estimated network fees. Not that this API is currently not implemented and just returns dummy data so it should not be used in production. Interested parties can use it to start integrating early so that they're ready for when we integrate the upstream fee estimation library in a future release.

The /api/v1/network/supply REST API has now been converted to Java. The JavaScript implementation will continue to be the default for a few releases as we work to stabilize and optimize the new implementation. Similarly, the/api/v1/network/fees endpoint was converted to Java and enabled by default in prior releases and is now considered stable. As such, this release removes the legacy JavaScript implementation of the network fees.

As forecasted in the blog for HIP-1217, the modularized /api/v1/contracts/call is now rolled out to all environments. The workaround for allowing calls to long-zero EVM address for accounts that have an ECDSA alias has been disabled in all environments as well. In this release, we make it the default behavior to reject long-zero EVM addresses for accounts with an alias and soon we will be removing the option entirely. Note that the option to reject accounts without sufficient payer balance was not enabled on 12/1 as per the blog. Based upon customer feedback, we will not enable this feature globally and instead enhanced the logic to only conditionally validate payer balance if from is populated and either gasPrice or value are populated. This behavior is more aligned with how other EVM chains validate payer balances. Finally, we've begun the process of deleting the legacy monolithic code base with it targeted for complete removal by the next release.

HIP-1056 Block Streams saw the remaining block stream protobuf changes from consensus node v0.69 addressed. Additionally, the block root hash calculation was updated to use the latest algorithm ensuring support for newer block nodes.

Breaking Changes

As noted above, the /api/v1/network/fees JavaScript implementation is now removed in favor of the newer Java-based implementation. Operators should ensure their routing logic is updated so that requests to /api/v1/network/fees are directed to the rest-java process instead of the rest process. If operators use our docker compose or Helm chart this routing change is handled automatically.

We now set the hiero.mirror.web3.evm.allowLongZeroAddresses property to false by default as described in the overview. In a future release, the undocumented property will be removed entirely.

The alpha getFeeEstimate gRPC API was removed in favor of the equivalent POST /api/v1/network/fees REST API. This gRPC API only returned stub data and would not have been used by any one in production.

Enhancements

  • Disable allowLongZeroAddresses for contract call #12588
  • Remove more mono code from web3 #12585
  • Remove leftover mono code from web3 #12581
  • Unify empty and all-zero contract result bloom #12577
  • Add network/fees stub api to rest-java #12576
  • Improve Downloader logs to note last successful and earliest failure #12575
  • HIP-1056 Update block root hash calculation algorithm #12570
  • Remove network fees related js code from the rest module #12568
  • Delete unused mono services code from web3 #12555
  • Move query parameter parsers to their own package #12554
  • Add dynamic logic to validate payer balance #12539
  • HIP-1056 Address remaining blockstream protobuf changes #12532
  • Increase web3 acceptance test stability inside solo #12522
  • Add traffic replay k6 web3 tests #12509
  • Convert /network/supply to Java #12474
  • Add support for historical blocks in K6 web3 test suite #12436

Bug Fixes

  • Fix failed non-zero-realm importer test #12535
  • Fix tagged commit detection in acceptance test workflow #12528
  • Fix create contract gas consumed acceptance test #12526

Documentation

  • Fix mirror-report docs #12571
  • Update release checklist #12536

Dependency Upgrades

  • Bump send to v0.19.2 (0.145) #12635
  • Bump the dependencies group in /rest with 1 update #12567
  • Bump peter-evans/create-pull-request from 7.0.9 to 7.0.11 in the dependencies group #12566
  • Bump software.amazon.awssdk:bom from 2.40.1 to 2.40.3 #12565
  • Bump org.hiero.block:block-node-protobuf-sources from 0.23.2 to 0.24.0 #12564
  • Bump jooqVersion from 3.20.9 to 3.20.10 #12562
  • Bump protobufVersion from 4.33.1 to 4.33.2 #12561
  • Bump jws from 4.0.0 to 4.0.1 in /tools/traffic-replay/log-downloader #12552
  • Bump the dependencies group with 4 updates #12550
  • Bump the dependencies group in /rest with 4 updates #12549
  • Bump io.hypersistence:hypersistence-utils-hibernate-63 from 3.12.0 to 3.13.2 #12548
  • Bump org.bouncycastle:bcprov-jdk18on from 1.82 to 1.83 #12546
  • Bump the dependencies group in /rest/monitoring with 2 updates #12544
  • Bump software.amazon.awssdk:bom from 2.39.5 to 2.40.1 #12543
  • Bump extensionless from 1.9.9 to 2.0.2 in /rest/check-state-proof in the dependencies group #12542
  • Bump org.flywaydb:flyway-database-postgresql from 11.16.0 to 11.18.0 #12541
  • Bump hedera-app to 0.69.0-rc.2 #12533
  • Bump versions for v0.145.0-SNAPSHOT #12523
  • Bump github.com/coinbase/rosetta-sdk-go from 0.9.0 to 0.10.0 in /rosetta #12508
  • Bump com.hedera.hashgraph:app from 0.68.0 to 0.68.2 #12497
  • Bump @hashgraph/proto from 2.24.0 to 2.25.0 in /rest #12467
  • Bump com.hedera.hashgraph:sdk from 2.64.0 to 2.65.0 #12462

Deployments

  • Prepare staging for 0.145.0-rc1 #12592
  • Prepare performance for 0.145.0-rc1 #12591
  • Enable network supply route previewnet #12590
  • Enable traffic replay in deploy branch #12556
  • Enable java network supply in integration #12540
  • Revert bootstrap changes testnet-na #12520
  • Increase disk size testnet-eu #12493
  • Increase disk size testnet-na #12492
  • Increase disk size testnet-eu #12491
  • Increase disk size testnet-na #12490

Contributors

Thank you to all the contributors who worked on this release:

@bilyana-gospodinova
@IvanKavaldzhiev
@jnels124
@martingeorgiev1
@sdimitrov9
@steven-sheehy
@xin-hedera

Don't miss a new hiero-mirror-node release

NewReleases is sending notifications on new releases.