Nomos related specification and documentation
Go to file
davidrusu d2f6ad579a
Stake Relativization Specification + Fixes (#86)
* cryptarchia/relative-stake: failing test showing lack of inference

* implement stake-relativization spec

* test total stake inference in empty epoch

* move TestNode to test_common

* fix bug in Follower re-org logic

* improve orphan proof test coverage

* force orphans to already have been in one of the existing branches

* rename initial_inferred_total_stake ==> initial_total_stake

* add simple orphan import test

* Follower.unimported_orphans: ensure no orphans from same branch

* remove unnecessary LedgerState.slot

* cryptarchia: doc fixes

* factor out total stake inference

* docs for total stake inference

* rename total_stake to total_active_stake

* replace prints in cryptarchia with logging.logger
2024-03-23 05:50:00 +04:00
.github/workflows Add eth-specs submodule (#60) 2024-01-31 09:53:04 +01:00
carnot Specify shuffling algorithm (#37) 2024-01-31 09:33:44 +01:00
cryptarchia Stake Relativization Specification + Fixes (#86) 2024-03-23 05:50:00 +04:00
da DA Api Tests (#83) 2024-03-22 13:01:13 +02:00
eth-specs@ae3ef6f330 Add eth-specs submodule (#60) 2024-01-31 09:53:04 +01:00
mixnet Embed Robustness into `mixnet.py` (#61) 2024-02-08 15:39:50 +09:00
.gitignore rename LedgerState.head to LedgerState.block 2024-01-25 14:25:37 +04:00
.gitmodules Add eth-specs submodule (#60) 2024-01-31 09:53:04 +01:00
README.md Specify mock-leader-proof in message spec 2024-02-02 01:16:14 +04:00
install-arkworksbls-arch64-osx.sh Arkworks dependency utility script (#71) 2024-02-11 23:15:15 +01:00
install-eth-specs.sh Add eth-specs submodule (#60) 2024-01-31 09:53:04 +01:00
requirements.txt KZG core functionality (#73) 2024-02-27 17:49:27 +01:00

README.md

nomos-specs

Nomos related specification and documentation

Running Tests

To run all tests, run the following from the project root

python -m unittest -v

To test a specific module

python -m unittest -v cryptarchia.test_leader

Or all test modules in a directory

python -m unittest -v cryptarchia/test_*