Commit 579bbf2
framework: ability to use test or prod signature scheme in tests (#230)
* feat: specifically signature scheme switching
* fix: linting
* chore: simplify filler
* fix: don't preset current signature scheme
* fix: minor polish
* fix: linting
* feat: use env var instead of cli flag
* refactor: move signature_scheme inside keys module
* refactor: more pydantic signature_scheme field
* refactor remove solo key manger from verify_signatures suite
* refactor: simplify keys module
* refactor: use LEAN_ENV var instead
* refactor: rename XMSS_CONFIG to ENV_CONFIG
* fix: linting
* rename XMSS_SIGNATURE_SCHEME to ENV_SIGNATURE_SCHEME
* refactor: move custom key manager logic in ForkChoiceTest into the get_shared_key_manager()
* refactor: rename ENV_ prefix to TARGET_
* feat: default to LEAN_ENV=test for testing
* fix: linting
* feat: downloadable test keys
* feat: enable prod test filling on main branch
* chore: more verbose keygen logging
* fix: percentage calc
* feat: fill prod vectors on main push
* refactor: cleaner LEAN_ENV retrieval
* refactor: remove os.environ.get from key manager
* refactor: remove keygen logs
* fix: linting
* Update packages/testing/src/consensus_testing/test_types/genesis.py
Co-authored-by: Thomas Coratger <[email protected]>
* fix: remove explicit variable name from code comment
* Update packages/testing/src/framework/test_fixtures/base.py
Co-authored-by: felipe <[email protected]>
* fix: remove LEAN_ENV default from conftest
* refactor: consolidate LEAN_ENV parsing to lean_spec.config
* fix: bring back LEAN_ENV default in conftest.py
* feat(fill): set sig scheme via CLI flag for filler, default to test
* feat: use leanEthereum/leansig-test-keys
* feat: download test keys before filling
* fix: linting
* fix: rebase
---------
Co-authored-by: Thomas Coratger <[email protected]>
Co-authored-by: felipe <[email protected]>1 parent 2937bcf commit 579bbf2
File tree
31 files changed
+443
-186
lines changed- .github/workflows
- packages/testing/src
- consensus_testing
- test_fixtures
- test_keys/test_scheme
- test_types
- framework
- cli
- test_fixtures
- src/lean_spec
- subspecs
- containers
- block
- forkchoice
- xmss
- tests
31 files changed
+443
-186
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
0 commit comments