Laconic state machine
Go to file
Prathamesh Musale 8c0540bdb5 Add a test network setup and patch for E2E tests (#18)
- The E2E tests sometimes fail with error `timeout exceeded waiting for block` in CI (always passed locally)
- The error occurs in the test network (provided in cosmos-sdk) creation when [waiting](https://github.com/cosmos/cosmos-sdk/blob/v0.50.3/testutil/network/network.go#L622) for the first block because of block timeout being too short ([hardcoded](https://github.com/cosmos/cosmos-sdk/blob/v0.50.3/testutil/network/network.go#L670) to 5s)
- Copy over this network setup in the repo and patch to skip this check; we are waiting for a block to appear after the network creation anyway

Reviewed-on: deep-stack/laconic2d#18
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-03-07 12:35:59 +00:00
.gitea/workflows Additional CI workflows (#16) 2024-03-07 09:11:53 +00:00
api/cerc Rename RPC method to reserve authority and fix proto lint errors (#17) 2024-03-07 11:25:15 +00:00
app Additional CI workflows (#16) 2024-03-07 09:11:53 +00:00
cmd/laconic2d Additional CI workflows (#16) 2024-03-07 09:11:53 +00:00
docs Additional CI workflows (#16) 2024-03-07 09:11:53 +00:00
gql Rename RPC method to reserve authority and fix proto lint errors (#17) 2024-03-07 11:25:15 +00:00
proto Rename RPC method to reserve authority and fix proto lint errors (#17) 2024-03-07 11:25:15 +00:00
scripts Add initialization script and a Dockerfile (#15) 2024-03-07 05:10:41 +00:00
tests Add a test network setup and patch for E2E tests (#18) 2024-03-07 12:35:59 +00:00
testutil/network Add a test network setup and patch for E2E tests (#18) 2024-03-07 12:35:59 +00:00
utils Additional CI workflows (#16) 2024-03-07 09:11:53 +00:00
x Rename RPC method to reserve authority and fix proto lint errors (#17) 2024-03-07 11:25:15 +00:00
.dockerignore Additional CI workflows (#16) 2024-03-07 09:11:53 +00:00
.gitignore Add initialization script and a Dockerfile (#15) 2024-03-07 05:10:41 +00:00
Dockerfile Add initialization script and a Dockerfile (#15) 2024-03-07 05:10:41 +00:00
go.mod Setup and integrate GQL server (#12) 2024-02-29 12:45:38 +00:00
go.sum Setup and integrate GQL server (#12) 2024-02-29 12:45:38 +00:00
Makefile Additional CI workflows (#16) 2024-03-07 09:11:53 +00:00
README.md Additional CI workflows (#16) 2024-03-07 09:11:53 +00:00

Laconic Network

banner

The Source of Proof. Laconic is a next generation data availability & verifiability layer with cryptographic proofs, powering internet-scale Web3 applications, built on Proof-of-Stake with fast-finality using the Cosmos SDK which runs on top of CometBFT consensus engine.

Installation

Install laconic2d:

# install the laconic2d binary
make install

Usage

Run with a single node fixture:

# start the chain
./scripts/init.sh

# start the chain with data dir reset
./scripts/init.sh clean

Tests

Run tests:

# integration tests
make test-integration

# e2e tests
make test-e2e