Skip to content

SubZero

Compare
Choose a tag to compare
@djrtwo djrtwo released this 01 Jul 04:44
· 6878 commits to master since this release
8d324b7

Release

This release marks the end-of-june phase 0 spec freeze ❄️. v0.8 is to serve as a stable target as implementers work toward multi-client testnets in addition to on-going efforts in formal verification, fuzzing, and audits.

Thank you to everyone who has put it so much incredible work to get to this point :)

Changelog

PR showing full diff can be found here: #1242

Phase 0

Beacon chain

  • features
    • minor modification to inclusion rewards and adjust reward factor (#1159)
    • increase historical vectors length and cleanups (#1196)
    • introduce Checkpoint type (#1210)
    • slashing penalty calculation change to prevent gaming (#1217)
    • add compact committee roots for light client support (#1219, #1247)
  • simplifications
    • cleanup containers (#1156)
    • remove sort from get_attesting_indices and instead return set (#1225)
    • cleanup how genesis is calculated and triggered (#1202)
    • cleanup helpers grouping, consistency in naming, comments, etc (#1237, #1241)
    • add bls domain type (#1246)
    • basket of minor cleanups (#1251)
  • bugs
    • critical Transfer bug (#1220)
    • fix genesis effective balance in corner case (#1248)
    • fix scaling for inclusion_reward (#1257)
    • minor bugs related to ordering/typos/var-mismatch/etc ()
  • misc

Fork choice

  • make fork choice executable (#1185)
  • modify fork choice to use epochs properly (#1198, #1250)

Validator

  • harden eth1.0 voting against stale block attacks (#1218)
  • make bulk of guide executable (#1236)
  • minor update to use checkpoints (#1253)

Networking

  • no changes

Deposit contract

  • make deposit_root a valid SSZ hash_tree_root by mixing in length (#1202)
  • bump Vyper version to v0.1.0b10 (#1260)

Simple Serialize

  • add note on default zero-values (#1208)
  • List type requires max length (#1180)
  • add Bitlist and Bitvector types (#1224)

BLS

  • minor fix to hash_to_g2 type-hint (#1222)
  • Warning: Bug exists in BLS hash to G2 in the current spec. The hash and increment approach will likely be deprecated after standardization so the bug is to be untouched for now

Significant changes still expected as we standardize BLS12-381 across blockchains

Phase 1 spec (warning: not stable)

  • resolve minor issue in early_secret_reveal (#1209)
  • minor formatting/types/etc PRs ()

Light client spec (warning: not stable)

  • no changes

Testing/CI

  • updates to test format docs (#1189)
  • reduce MAX_EPOCHS_PER_CROSSLINK to 4 in minimal config (#1204)
  • mypy type hinting check (#1166)
  • add lint to CI (#1207)
  • enhance phase 0 test coverage (#1206)
  • add genesis test generator and update some gen docs (#1238)
  • misc (#1190, #1201, #1216, #1258, #1259)