feat: extend attestation validity till end of next epoch - eip7045#5731
feat: extend attestation validity till end of next epoch - eip7045#5731
Conversation
Performance Report✔️ no performance regression detected Full benchmark results
|
matthewkeil
left a comment
There was a problem hiding this comment.
A couple of questions do just double check the conditionals. Otherwise things look good!!
packages/state-transition/src/block/processAttestationsAltairPlus.ts
Outdated
Show resolved
Hide resolved
packages/state-transition/src/block/processAttestationPhase0.ts
Outdated
Show resolved
Hide resolved
thanks for looking into this, target epoch validations check this and this implementation closely follow the specs (check spec PR) |
packages/state-transition/src/block/processAttestationsAltairPlus.ts
Outdated
Show resolved
Hide resolved
|
@g11tech is p2p change supposed for this PR or another one? https://github.com/ethereum/consensus-specs/pull/3360/files#diff-21cd1dde2a4815e714ef42d0cefa1bbd2997a4358ecf6e9e51025332c1d642fdR196 |
was thinking of doing a followup to this PR |
|
@g11tech pushed to the PR a quick review:
Can you please add the p2p changes in this PR too? I should not be that big |
sounds good 👍 |
|
for the p2p validations, should we just update to the new ones irrespective of the fork since new validations are more relaxed than the pre-deneb. Even if for pre-deneb if some attestations gets passed through, the actual process attestation will reject it pre-deneb.. wdyt @tuyennhv @dapplion UPDATE: as per discussion with @dapplion : "p2p validation must match the spec for all forks" |
upgrade spec version Review PR update p2p validations fix tests
|
🎉 This PR is included in v1.10.0 🎉 |
ref:
ethereum/consensus-specs#3360
- [ ] modify upgrade deneb state?no upgrade changes needed