Merge pull request #1132 from ethereum/fix-build-script

fix dev branch build script, missing quotes
This commit is contained in:
Diederik Loerakker 2019-05-28 00:09:09 +02:00 committed by GitHub
commit 2a7fcb6ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ def get_spec(file_name: str) -> List[str]:
code_lines.append('\n')
code_lines.append('ssz_types = [\n')
for (ssz_type_name, _) in type_defs:
code_lines.append(f' {ssz_type_name},\n')
code_lines.append(f' "{ssz_type_name}",\n')
code_lines.append(']')
code_lines.append('\n')
code_lines.append('def get_ssz_type_by_name(name: str) -> SSZType:')