-
Notifications
You must be signed in to change notification settings - Fork 977
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3465 from ethereum/dev
release v1.4.0-beta.1
- Loading branch information
Showing
59 changed files
with
2,018 additions
and
921 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,7 @@ jobs: | |
needs: [preclear,lint,codespell,table_of_contents] | ||
strategy: | ||
matrix: | ||
version: ["phase0", "altair", "bellatrix", "capella", "deneb", "eip6110"] | ||
version: ["phase0", "altair", "bellatrix", "capella", "deneb", "eip6110", "eip7002"] | ||
steps: | ||
- name: Checkout this repo | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Definitions in context.py | ||
PHASE0 = 'phase0' | ||
ALTAIR = 'altair' | ||
BELLATRIX = 'bellatrix' | ||
CAPELLA = 'capella' | ||
DENEB = 'deneb' | ||
EIP6110 = 'eip6110' | ||
EIP7002 = 'eip7002' | ||
WHISK = 'whisk' | ||
|
||
|
||
|
||
# The helper functions that are used when defining constants | ||
CONSTANT_DEP_SUNDRY_CONSTANTS_FUNCTIONS = ''' | ||
def ceillog2(x: int) -> uint64: | ||
if x < 1: | ||
raise ValueError(f"ceillog2 accepts only positive values, x={x}") | ||
return uint64((x - 1).bit_length()) | ||
def floorlog2(x: int) -> uint64: | ||
if x < 1: | ||
raise ValueError(f"floorlog2 accepts only positive values, x={x}") | ||
return uint64(x.bit_length() - 1) | ||
''' | ||
|
||
|
||
OPTIMIZED_BLS_AGGREGATE_PUBKEYS = ''' | ||
def eth_aggregate_pubkeys(pubkeys: Sequence[BLSPubkey]) -> BLSPubkey: | ||
return bls.AggregatePKs(pubkeys) | ||
''' | ||
|
||
|
||
ETH2_SPEC_COMMENT_PREFIX = "eth2spec:" |
Oops, something went wrong.