github crypto-org-chain/cronos v1.4.0

latest releases: v1.4.2, v1.4.1
pre-release20 days ago

The final v1.4.0 is finally here, it's a major consensus breaking version on top of v1.3.x.

Cronos EVM Mainnet Pallene v1.4 Upgrade Proposal

CHANGELOGS

Upgrade Plan

The plan name for dryrun/mainnet upgrade is v1.4.

Config Changes

VersionDB

v1.4 changed the versiondb config, it's recommended for versiondb enabled nodes to add the new config in app.toml in advance, to make sure it's picked up when upgrade actually happens:

[versiondb]
# Enable defines if the versiondb should be enabled.
enable = true

app.toml Changes

Added

# The maximum gas a query coming over rest/grpc may consume.
# If this is set to zero, the query can consume an unbounded amount of gas.
query-gas-limit = "0"

[versiondb]
# Enable defines if the versiondb should be enabled.
enable = true

[telemetry]

# MetricsSink defines the type of metrics sink to use.
metrics-sink = ""

# StatsdAddr defines the address of a statsd server to send metrics to.
# Only utilized if MetricsSink is set to "statsd" or "dogstatsd".
statsd-addr = ""

# DatadogHostname defines the hostname to use when emitting metrics to
# Datadog. Only utilized if MetricsSink is set to "dogstatsd".
datadog-hostname = ""

[evm]
# BlockExecutor set block executor type, "block-stm" for parallel execution, "sequential" for sequential execution.
block-executor = "block-stm"
# BlockSTMWorkers is the number of workers for block-stm execution, 0 means using all available CPUs.
block-stm-workers = 0
# BlockSTMPreEstimate is the flag to enable pre-estimation for block-stm execution.
block-stm-pre-estimate = false

[streaming]
# New config section for the state streaming feature

Removed

# NOTE: irrelevant to iavl v1
iavl-lazy-loading = true

[grpc-web]
# NOTE: gRPC-Web uses the same address as the API server.
address = "localhost:9091"
enable-unsafe-cors = false

[store]
[streamers]
# NOTE: Both `store` and `streamers` sections are removed, replaced by `streaming` section,
# previously versiondb use the `store.streamers` field to enable, now it has it's own section `versiondb`.

config.toml Changes

Added

# The version of the CometBFT binary that created or
# last modified the config file. Do not modify this.
version = "0.38.13"

# Maximum number of requests that can be sent in a batch
# If the value is set to '0' (zero-value), then no maximum batch size will be
# enforced for a JSON-RPC batch request.
max_request_batch_size = 10

[mempool]
# recheck_timeout is the time the application has during the rechecking process
# to return CheckTx responses, once all requests have been sent. Responses that 
# arrive after the timeout expires are discarded. It only applies to 
# non-local ABCI clients and when recheck is enabled.
#
# The ideal value will strongly depend on the application. It could roughly be estimated as the
# average size of the mempool multiplied by the average time it takes the application to validate one
# transaction. We consider that the ABCI application runs in the same location as the CometBFT binary
# so that the recheck duration is not affected by network delays when making requests and receiving responses.
recheck_timeout = "1s"

Removed

block_sync = true

[mempool]
# NOTE: v1 is removed, default to v0
version = "v1"
ttl-duration = "0s"
ttl-num-blocks = 0

Don't miss a new cronos release

NewReleases is sending notifications on new releases.