mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 12:47:05 +00:00
Fork boilerplate
This commit is contained in:
@@ -801,6 +801,11 @@ async fn invalid_signature_attester_slashing() {
|
||||
.push(attester_slashing.as_electra().unwrap().clone())
|
||||
.expect("should update attester slashing");
|
||||
}
|
||||
BeaconBlockBodyRefMut::Eip7805(ref mut blk) => {
|
||||
blk.attester_slashings
|
||||
.push(attester_slashing.as_electra().unwrap().clone())
|
||||
.expect("should update attester slashing");
|
||||
}
|
||||
BeaconBlockBodyRefMut::Fulu(ref mut blk) => {
|
||||
blk.attester_slashings
|
||||
.push(attester_slashing.as_electra().unwrap().clone())
|
||||
@@ -861,6 +866,10 @@ async fn invalid_signature_attestation() {
|
||||
.attestations
|
||||
.get_mut(0)
|
||||
.map(|att| att.signature = junk_aggregate_signature()),
|
||||
BeaconBlockBodyRefMut::Eip7805(ref mut blk) => blk
|
||||
.attestations
|
||||
.get_mut(0)
|
||||
.map(|att| att.signature = junk_aggregate_signature()),
|
||||
BeaconBlockBodyRefMut::Fulu(ref mut blk) => blk
|
||||
.attestations
|
||||
.get_mut(0)
|
||||
|
||||
Reference in New Issue
Block a user