Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
a621bb3
Add basic encode impl
paulhauner Sep 9, 2021
03e3fbd
Add UnionSelector to ssz encode
paulhauner Sep 9, 2021
7c2950f
Comment-out existing Option impl
paulhauner Sep 9, 2021
a2a3716
Add non-functional decode impl
paulhauner Sep 9, 2021
7b41553
Complete Decode impl
paulhauner Sep 10, 2021
0350c47
Tidy comments
paulhauner Sep 10, 2021
b02f3f5
Remove option code
paulhauner Sep 10, 2021
0d1d5d8
Add comments to union selector
paulhauner Sep 10, 2021
16c2be4
Bump ssz and ssz_derive versions
paulhauner Sep 10, 2021
1e751e2
Remove tests
paulhauner Sep 10, 2021
23af4c4
Freshen cargo.lock
paulhauner Sep 10, 2021
171ff61
Freshen cargo.lock
paulhauner Sep 10, 2021
ba9db13
Remove unused union impl for ssz encoder
paulhauner Sep 10, 2021
522d020
Add basic union tree hash method
paulhauner Sep 10, 2021
189d025
Tidy tree hash
paulhauner Sep 10, 2021
f78a7c4
Fix bugs, bump version
paulhauner Sep 10, 2021
bf7a4a8
Add ssz tests
paulhauner Sep 10, 2021
c09e28d
Add top-level patch
paulhauner Sep 10, 2021
2e7a28e
Add tree_hash_derive tests
paulhauner Sep 10, 2021
0066d05
Patch ssz types
paulhauner Sep 10, 2021
ef2ff5d
Update tree hash to 0.4.0
paulhauner Sep 10, 2021
8afd431
Finish tree hash tests
paulhauner Sep 10, 2021
40c2a8e
Apply enum_behaviour
paulhauner Sep 10, 2021
9e84579
Bump eth2_ssz_types
paulhauner Sep 10, 2021
62521dd
Bump ssz, ssz_derive versions
paulhauner Sep 10, 2021
1a9f125
Add FourByteSszOption
paulhauner Sep 10, 2021
f00f9ed
Apply ssz option to committee cache
paulhauner Sep 10, 2021
8cf3144
Add add_parameterized to Encoder
paulhauner Sep 13, 2021
90ec4a3
Add "with" to Encode derive
paulhauner Sep 13, 2021
110c6bc
Add "with" for Decode
paulhauner Sep 13, 2021
f8b46b7
Remove unused derive functions
paulhauner Sep 13, 2021
fdb38a5
Fix bugs in ssz_derive
paulhauner Sep 13, 2021
d1eb3dc
Use only one line for ssz field attributes
paulhauner Sep 13, 2021
9d28951
Add legacy mod to ssz
paulhauner Sep 13, 2021
6a70e95
Use legacy option in proto array
paulhauner Sep 13, 2021
bc68feb
Import super::* in legacy macro
paulhauner Sep 13, 2021
8307b19
Add enum_behaviour = transparent to misc structs
paulhauner Sep 13, 2021
a358499
Remove FourByteSszOption
paulhauner Sep 13, 2021
e4a0768
Resolve old uses of Option for SSZ
paulhauner Sep 13, 2021
d131248
Move derive tests
paulhauner Sep 13, 2021
991694c
Re-order crate publish
paulhauner Sep 13, 2021
d655c66
Remove ssz_types dep from tree_hash
paulhauner Sep 13, 2021
9735180
Publish ssz before tree hash
paulhauner Sep 13, 2021
361a13f
Fix Vec<u8> variant decode derive issue
paulhauner Sep 13, 2021
abd166b
Tidy comments
paulhauner Sep 13, 2021
c126782
Reinstate legacy option tests, tidy macro
paulhauner Sep 13, 2021
eb49d95
Add docs for legacy impl
paulhauner Sep 13, 2021
5c47abd
Add more tests for legacy impl
paulhauner Sep 13, 2021
53792ab
Panic tree hash derive if enum has multi variants
paulhauner Sep 13, 2021
dd3c599
Tidy committee cache
paulhauner Sep 13, 2021
0887a1b
Remove old macro
paulhauner Sep 20, 2021
2c4a47f
Add test for decoding genesis state
paulhauner Sep 20, 2021
76964de
Fix shim in committee cache
paulhauner Sep 21, 2021
91d3152
Remove unchecked arith from ssz_derive
paulhauner Sep 25, 2021
c9111f4
Remove ssz impl from AllDeltas
paulhauner Sep 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/publish-crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,26 @@ jobs:
- name: Cargo login
run: |
echo "${CARGO_API_TOKEN}" | cargo login
- name: publish tree hash
if: startsWith(env.TAG, 'tree-hash-v')
run: |
./scripts/ci/publish.sh consensus/tree_hash tree_hash "$TAG"
- name: publish tree hash derive
if: startsWith(env.TAG, 'tree-hash-derive-v')
- name: publish eth2 ssz derive
if: startsWith(env.TAG, 'eth2-ssz-derive-v')
run: |
./scripts/ci/publish.sh consensus/tree_hash_derive tree_hash_derive "$TAG"
./scripts/ci/publish.sh consensus/ssz_derive eth2_ssz_derive "$TAG"
- name: publish eth2 ssz
if: startsWith(env.TAG, 'eth2-ssz-v')
run: |
./scripts/ci/publish.sh consensus/ssz eth2_ssz "$TAG"
- name: publish eth2 ssz derive
if: startsWith(env.TAG, 'eth2-ssz-derive-v')
- name: publish eth2 hashing
if: startsWith(env.TAG, 'eth2-hashing-v')
run: |
./scripts/ci/publish.sh consensus/ssz_derive eth2_ssz_derive "$TAG"
./scripts/ci/publish.sh crypto/eth2_hashing eth2_hashing "$TAG"
- name: publish tree hash derive
if: startsWith(env.TAG, 'tree-hash-derive-v')
run: |
./scripts/ci/publish.sh consensus/tree_hash_derive tree_hash_derive "$TAG"
- name: publish tree hash
if: startsWith(env.TAG, 'tree-hash-v')
run: |
./scripts/ci/publish.sh consensus/tree_hash tree_hash "$TAG"
- name: publish ssz types
if: startsWith(env.TAG, 'eth2-ssz-types-v')
run: |
Expand All @@ -60,7 +64,3 @@ jobs:
if: startsWith(env.TAG, 'eth2-serde-util-v')
run: |
./scripts/ci/publish.sh consensus/serde_utils eth2_serde_utils "$TAG"
- name: publish eth2 hashing
if: startsWith(env.TAG, 'eth2-hashing-v')
run: |
./scripts/ci/publish.sh crypto/eth2_hashing eth2_hashing "$TAG"
Loading