Skip to content

Commit

Permalink
Replace Cosmos mentions with CometBFT (#295)
Browse files Browse the repository at this point in the history
* Replace mentions of Cosmos with CometBFT

* run changeset
  • Loading branch information
larrythecucumber321 authored Sep 24, 2024
1 parent 0e9981f commit fb9ecf0
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 21 deletions.
5 changes: 0 additions & 5 deletions .changeset/giant-sloths-hope.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rich-ligers-rescue.md

This file was deleted.

11 changes: 11 additions & 0 deletions apps/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @berachain/core

## 1.3.0

### Minor Changes

- 921566f: adding governance docs

### Patch Changes

- Replace mentions of Cosmos with CometBFT
- bbfa6ee: add detail to reward vault section

## 1.2.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/core/content/developers/developer-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ head:

# Developer Tools

This section provides an overview of the developer tools that are available for the Polaris Ethereum EVM.
This section provides an overview of the developer tools that are available on the Berachain network.

Since Berachain is EVM-compatible, if you're familiar with creating Dapps on other EVM chains then you'll feel right at home building on Berachain.
Since Berachain is EVM-compatible, if you're familiar with creating dApps on other EVM chains then you'll feel right at home building on Berachain.

### Smart Contract Programming Languages Such As:

Expand Down
4 changes: 2 additions & 2 deletions apps/core/content/learn/help/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ head:

## BeaconKit

BeaconKit is a modular and customizable consensus layer framework, based on Cosmos SDK, for building Ethereum based blockchains.
BeaconKit is a modular and customizable consensus layer framework, leveraging the CometBFT consensus algorithm, for building Ethereum based blockchains.

## Block

Expand Down Expand Up @@ -116,7 +116,7 @@ The primary network where real transactions occur on the Berachain blockchain, a

## Polaris EVM

An implementation of the Ethereum Virtual Machine used by Berachain's Eng team to provide compatibility with Ethereum-based smart contracts built on top of Cosmos's CometBFT.
A monolithic implementation of the Ethereum Virtual Machine used by the Berachain team to provide compatibility with Ethereum-based smart contracts, built on top of the Cosmos SDK. This implementation has been deprecated in favor of the modular BeaconKit architecture.

## Proof-of-Liquidity

Expand Down
2 changes: 1 addition & 1 deletion apps/core/content/learn/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ Read more in [What Is Proof-of-Liquidity](/learn/what-is-proof-of-liquidity).

## BeaconKit ⛵✨

BeaconKit is a modular framework developed by Berachain for building EVM [consensus clients](/learn/help/glossary#consensus-client). It integrates the benefits of the Cosmos SDK, including increased composability, single slot finality (SSF), and more.
BeaconKit is a modular framework developed by Berachain for building EVM [consensus clients](/learn/help/glossary#consensus-client). It integrates the benefits of CometBFT consensus, including increased composability, single slot finality (SSF), and more.

Read more in [What Is BeaconKit](/learn/what-is-beaconkit).
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ V2 is an implementation of the `BeaconKit` framework, which separates the execut

## Main Changes from V1 to V2 🐻

Berachain's V1 testnet (`Artio`) was built on top of [Polaris](https://github.com/berachain/polaris), which tightly coupled EVM execution with Cosmos consensus and introduced a monolithic framework for building highly optimized precompiles.
Berachain's V1 testnet (`Artio`) was built on top of [Polaris](https://github.com/berachain/polaris), which tightly coupled EVM execution with the Cosmos SDK and introduced a monolithic framework for building highly optimized precompiles.

Despite this optimization, Cosmos could not handle the volume of transactions that Berachain received, alongside the compatibility challenges that came with precompiles and supporting a forked EVM execution client.

Expand Down
13 changes: 10 additions & 3 deletions apps/core/content/learn/what-is-beaconkit.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,16 @@ BeaconKit is a modular and customizable consensus layer for Ethereum based block

> <small>Check out the official <a :href="config.websites.beaconkit.url">BeaconKit GitHub Repository</a>.</small>
BeaconKit introduces an innovative framework that utilizes the Cosmos-SDK to
create a flexible, customizable [consensus layer](/learn/help/glossary#consensus-client) tailored for Ethereum-based blockchains.
BeaconKit is an innovative framework that makes the [CometBFT](https://docs.cometbft.com/v0.38/) consensus algorithm available to any EVM execution environment.
In other words, BeaconKit is a modular [consensus layer](/learn/help/glossary#consensus-client) adaptable for Ethereum-based blockchains.

By leveraging the [Engine API](/learn/help/glossary#engine-api), BeaconKit can be paired with any EVM [execution client](/learn/help/glossary#execution-client), allowing it to be [EVM identical](/learn/#berachain-evm-identical-⟠), fully supporting any EVM execution client without modifications.

The framework is also built with modularity in mind to easily integrate different layers that may include a custom block builder, a rollup layer, a data availability layer, among others. This modularity enables the building of not only Layer 1 blockchains but also serves as a framework for Layer 2 solutions.
The framework is built with modularity in mind to easily integrate different layers that may include a custom block builder, a rollup layer, a data availability layer, among others. This modularity enables the building of not only Layer 1 blockchains but also serves as a framework for Layer 2 solutions.

## BeaconKit Advantages

- Single slot finality (compared to Ethereum's ~13 minutes)
- Optimistic payload building (executing block proposal in parallel with voting) reduces block times by up to 40%
- Conformity to Eth2 modularity
- Full EIP compatibility
2 changes: 1 addition & 1 deletion apps/core/content/nodes/beaconkit-consensus.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ head:

[BeaconKit](/learn/what-is-beaconkit) is both a consensus client and framework for building EVM chains.

BeaconKit is a forked implementation of the Golang Cosmos SDK which takes advantage mostly of CometBFT for its consensus algorithm. As a consensus client it allows the network (an EVM blockchain like Berachain) to come to an agreement based on the data provided by the execution client.
BeaconKit leverages the CometBFT for its consensus algorithm, wrapped to interface with any EVM-compatible execution environment. As a consensus client it allows the network (an EVM blockchain like Berachain) to come to an agreement based on the data provided by the execution client.

By conforming to Eth2 modularity, where it separates consensus and execution, BeaconKit is able to leverage all the benefits that come with EVM execution clients. It is able to do this by adhering to the [Engine API](https://github.com/ethereum/execution-apis/blob/main/src/engine/common.md), which is JSON-RPC API that allows for communication between consensus and execution clients.

Expand Down
2 changes: 1 addition & 1 deletion apps/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@berachain/core",
"version": "1.2.1",
"version": "1.3.0",
"scripts": {
"dev": "vitepress dev --port 5173",
"build": "vitepress build",
Expand Down

0 comments on commit fb9ecf0

Please sign in to comment.