Skip to content
/ etf Public

"Encryption to the Future" consensus and node

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE
Apache-2.0
LICENSE-GPL3
Notifications You must be signed in to change notification settings

ideal-lab5/etf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Encryption to the Future Node

This repository contains implementations of the ETF consensus mechanism and a substrate node that uses it.

This project is funded by the Web3 Foundation Grants Program

Build

Use the following command to build the node without launching it:

cargo build --release

Docker

To build the Docker image, navigate to the root directory and run one of the following commands, depending on your target architecture:

For AMD64 architecture:

docker build -f Dockerfile.amd64 -t etf:amd64 .

For ARM64 architecture:

docker build -f Dockerfile.arm64 -t etf:arm64 .

Testing

Unit Tests

cargo test

E2E Tests

cargo test --features e2e

Benchmarks

Build with benchmarks using:

cargo build --release --features runtime-benchmarks

and run them with:

# list all benchmarks
./target/release/node benchmark pallet --chain dev --pallet "*" --extrinsic "*" --repeat 0
# benchmark the etf pallet
./target/release/node benchmark pallet \
    --chain dev \
    --wasm-execution=compiled \
    --pallet pallet_etf \
    --extrinsic "*" \
    --steps 50 \
    --repeat 20 \
    --output /pallets/etf/src/weight.rs

About

"Encryption to the Future" consensus and node

Topics

Resources

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE
Apache-2.0
LICENSE-GPL3

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages