-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aggregations fixes and tests updates
- Loading branch information
1 parent
b5a9676
commit 461f76b
Showing
23 changed files
with
301 additions
and
160 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
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
17 changes: 0 additions & 17 deletions
17
core/testdata/TestJSONSerialisation_AggregatedAttestation.json.golden
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
core/testdata/TestJSONSerialisation_SignedAggregateAndProof.json.golden
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
core/testdata/TestJSONSerialisation_VersionedAggregatedAttestation.json.golden
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,21 @@ | ||
{ | ||
"version": 5, | ||
"attestation": { | ||
"aggregation_bits": "0x0272908d45b01601", | ||
"data": { | ||
"slot": "3748136313440833973", | ||
"index": "10527063875261316388", | ||
"beacon_block_root": "0x5f6c6bb64a52fa1a95e2bdff2aea5190ce067ad5d23f96d5ce92f83e0212d307", | ||
"source": { | ||
"epoch": "11487309897857773744", | ||
"root": "0x49b01b83b78e64fc147e5086ae7c1ac5bbb6496af67041b0d88158d69078e3e2" | ||
}, | ||
"target": { | ||
"epoch": "2405710843726920900", | ||
"root": "0x141c7cfe1c0ef0c2f60c29616c2f6b3a805e91ebdedc8fef611e1d079aa67a62" | ||
} | ||
}, | ||
"signature": "0x6910c8ea580e905fda113b925adfac8d80ebb68deac0c0d6cb9aa138c60f34218fefbffdf6e04b99c493c785f588d20e8521bdc94684152c509ad47e009399b5de04763e89ef5dd57558ad80535cb99835d61d2c5add5afb4d30b84e5bbd988c", | ||
"committee_bits": "0xff00000000000000" | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
core/testdata/TestJSONSerialisation_VersionedSignedAggregateAndProof.json.golden
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,28 @@ | ||
{ | ||
"version": 5, | ||
"aggregate_and_proof": { | ||
"message": { | ||
"aggregator_index": "12258969221770119542", | ||
"aggregate": { | ||
"aggregation_bits": "0x58485fe3352bc5b501", | ||
"data": { | ||
"slot": "5480206018969903199", | ||
"index": "3810777494496647276", | ||
"beacon_block_root": "0xf11f99ef25258727c8b2922e22f5563d39490544d0ec4c0e68f23b572665b0e6", | ||
"source": { | ||
"epoch": "4405833319574080176", | ||
"root": "0xfd4ffbf4ebe0530c03f2ecd45fac9d4aef1d6a649ec7799f34798eb91ff4c4fe" | ||
}, | ||
"target": { | ||
"epoch": "9599321949314998812", | ||
"root": "0x21819c51945e7ed3df1fb0b5a4e0e895804813d1f4a80680595fb94b57636910" | ||
} | ||
}, | ||
"signature": "0x45bb08f5197bb91ffb894a8e40f9a837cbbccd54915ca94d509daa426fe2a33e1b669111cc4ff4fcc5071606dc666e998b5982ab0f52cf75924a308bcb99683bccc2813229bf922aaf112694262a4c953678a238749d8e791fa82ad773e2bb97", | ||
"committee_bits": "0xff00000000000000" | ||
}, | ||
"selection_proof": "0xfdb4c49a3f8cff429c026a404df8b9f7305d8a820f2f1fa5a1350874452a54bc1d4d3021afb9a99adb32f0e7586d114eb003386bd4374680a26a00f0d6ed086dd4369f0897c9e5d32d3df8099046f2bbed9d544205208fe1a216b739392c2fec" | ||
}, | ||
"signature": "0x7d6f657ed2087a246b2a63f812829816a3019101a49a6a268bc71e1e9867ae25640f4e158921c54009b7b78713ebabe0e6f188aab1968170cf910311c84e1469a0aa9696c7c6a5507bcb0400cf695e3ebc1b8668a081e3435809b8c533f091d7" | ||
} | ||
} |
Binary file removed
BIN
-236 Bytes
core/testdata/TestSSZSerialisation_AggregatedAttestation.ssz.golden
Binary file not shown.
Binary file removed
BIN
-445 Bytes
core/testdata/TestSSZSerialisation_SignedAggregateAndProof.ssz.golden
Binary file not shown.
Binary file added
BIN
+256 Bytes
core/testdata/TestSSZSerialisation_VersionedAggregatedAttestation.ssz.golden
Binary file not shown.
Binary file added
BIN
+465 Bytes
core/testdata/TestSSZSerialisation_VersionedSignedAggregateAndProof.ssz.golden
Binary file not shown.
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
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
Oops, something went wrong.