keep-starknet-strange / madara

Building the Integrity Web. The most modular ZK Rollup framework.
https://madara.build
MIT License
524 stars 296 forks source link

feat: tendermint for substrate #896

Open AbdelStark opened 11 months ago

AbdelStark commented 11 months ago

Implement Tendermint Consensus Compatible with Substrate

Description

The goal of this issue is to implement the Tendermint consensus algorithm in a way that is compatible with the Substrate framework. This will allow Madara to leverage the benefits of both the Tendermint consensus and the Substrate's modular framework.

Background

Tendermint is a Byzantine Fault Tolerant (BFT) middleware that takes a state transition machine - written in any programming language - and securely replicates it on many machines. Substrate, on the other hand, is a modular framework that enables you to create purpose-built blockchains by composing custom or pre-built components.

Tasks

  1. Research: Understand the Tendermint consensus algorithm and how it can be integrated with the Substrate framework.
  2. Design: Create a design document detailing how the Tendermint consensus will be implemented in Madara. This should include any necessary changes to the existing architecture.
  3. Implementation: Implement the design, ensuring that the new consensus algorithm is fully compatible with Substrate.
  4. Testing: Write comprehensive tests to ensure the new consensus algorithm works as expected and does not introduce any regressions.
  5. Documentation: Update the project documentation to reflect the new consensus algorithm.

Acceptance Criteria

Resources

github-actions[bot] commented 10 months ago

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a šŸ‘ Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!

adizere commented 4 months ago

Glad to help here! Our team is maintaining and actively developing CometBFT, the state of the art implementation of Tendermint consensus algorithm (used throughout the Cosmos ecosystem and beyond).

Note that the documentation linked in the original post to https://docs.tendermint.com/ is no longer maintained. Tendermint Core has been discontinued since December 2022. Reference. CometBFT is a fork and successor of Tendermint Core, so most projects switched to that.

github-actions[bot] commented 3 months ago

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a šŸ‘ Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!