This commit is contained in:
Hsiao-Wei Wang 2021-03-12 20:29:28 +08:00
parent 22fe06829b
commit 310301236f
No known key found for this signature in database
GPG Key ID: 1111A8A81778319E

View File

@ -373,7 +373,7 @@ def objects_to_spec(spec_object: SpecObject, imports: str, fork: str, ordered_cl
+ ('\n' + PHASE1_SUNDRY_FUNCTIONS if is_phase1(fork) else '')
)
# Since some contants are hardcoded in setup.py, the following assertions verify that the hardcoded constants are
# Since some constants are hardcoded in setup.py, the following assertions verify that the hardcoded constants are
# as same as the spec definition.
if is_altair(fork):
altair_ssz_dep_constants_verification = '\n'.join(map(lambda x: 'assert %s == %s' % (x, spec_object.ssz_dep_constants[x]), ALTAIR_HARDCODED_SSZ_DEP_CONSTANTS))