Skip to content

Osmosis v20.2.1 🧪

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Nov 18:08
· 970 commits to main since this release

This release provides a state-compatible update introducing an EIP-1559 style fee market to mitigate recent congestion issues. This new mechanism is designed to prevent block congestion caused by invalid transactions.

It calculates a transaction fee for each block (named base_fee), dynamically based on the volume of transactions.

If the blocks are consistently full, the transaction fee increases at a predefined rate, making spamming with invalid transactions less attractive to the sender. This increment continues until a maximum base fee is reached.

Conversely, if the blocks are empty, the base fee decreases to a minimum value.

Transaction Fee Calculation for Integrators

To query the current base fee from your node, use the /osmosis/txfees/v1beta1/cur_eip_base_fee endpoint on your node API Server.

For example:

curl https://lcd.osmosis.zone/osmosis/txfees/v1beta1/cur_eip_base_fee

# {
#   "base_fee": "0.002500000000000000"
# }

We suggest setting the transaction fees to 2x or 3x the current value. This approach may result in clients frequently overpaying transaction fees, but it is a precautionary measure to ensure stability during peak times. Be aware that this is a temporary solution, pending the integration of a more refined fee market mechanism into the consensus layer.

Changelog

See the full changelog here

⚡️ Binaries

Binaries for Linux (amd64 and arm64) are available below.

🔨 Build from source

If you prefer to build from source, you can use the following commands:

git clone https://github.com/osmosis-labs/osmosis
cd osmosis && git checkout v20.2.1
make install

🐳 Run with Docker

As an alternative to installing and running osmosisd on your system, you may run osmosisd in a Docker container.
The following Docker images are available in our registry:

Image Name Base Description
osmolabs/osmosis:20.2.1 distroless/static-debian11 Default image based on Distroless
osmolabs/osmosis:20.2.1-distroless distroless/static-debian11 Distroless image (same as above)
osmolabs/osmosis:20.2.1-nonroot distroless/static-debian11:nonroot Distroless non-root image
osmolabs/osmosis:20.2.1-alpine alpine Alpine image

Example run:

docker run osmolabs/osmosis:20.2.1 version
# v20.2.1

All the images support arm64 and amd64 architectures.