-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update HeaderWithProof
with latest spec changes
#1672
Conversation
1a1427c
to
47e6285
Compare
Ready for an intial review on this pr. The failing tests pass locally when I use ethereum/portal-spec-tests#34 as a source for test vectors. But I'm happy to wait until that's merged to merge this one through |
I am not aware of a reason why you would need to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks good. I am a little confused by this statement
But I'm happy to wait until that's merged to merge this one through
, because I thought it was assumed we wait for CI passing to merge, so the message is making me second guess myself, but I will ignore that feeling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some high level comments.
I plan to work on top of this PR, and I might suggest some changes if they are blocking my work.
@@ -40,21 +46,26 @@ impl ssz::Encode for HeaderWithProof { | |||
} | |||
|
|||
#[derive(Debug, Clone, PartialEq, Decode, Encode, Deserialize)] | |||
#[ssz(enum_behaviour = "union")] | |||
#[ssz(enum_behaviour = "transparent")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need both old type (with union and SszNone) until we are done with migration. Otherwise, I won't be able to do the migration (meaning, I won't be able to successfully decode content from the db).
I would also remove Decode
from derive, because now that it's no longer union, we can't decode it (we need header timestamp). Technically, this is not accurate as format is different enough (I believe) so that only one would decode correctly. But we shouldn't try to decode this object directly, so better not to implement the trait.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking more about this, I think that old type should remain the same, and the new type should have new name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked the spec and it seems that ExecutionBlockProof
is different for BlockProofHistoricalRoots
and BlockProofHistoricalSummaries
, while we still use the some type.
Are all updated specs tests passing? Do we cover all these types in them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the updated specs tests are passing now. I actually don't think the test vectors cover all cases (aka, 1 pre-merge, 1 capella, 1 post-capella). This is worth addressing.
Also, looking at the spec, it looks like our naming convention is inverse of what's in the spec, which we should update to be 1-1. Though, if I'm reading everything correctly, I actually think our logic is sound. "our" HistoricalSummariesProof
type and HistoricalRootsProof
type (which I think are the types you're referring to?) seem to be up to spec. But, honestly it's confusing with all the variable naming schemes. I don't quite consider this a blocker for this pr? I'd rather address it in a follow-up pr where I'll update all the names to be spec-compliant and add missing test vectors? But can do it here if you think that's worthwhile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to do it in this PR.
let header: Header = Decodable::decode(&mut header_rlp.as_slice()).map_err(|_| { | ||
ssz::DecodeError::BytesInvalid("Unable to decode bytes into header.".to_string()) | ||
})?; | ||
|
||
let proof = if header.timestamp <= MERGE_TIMESTAMP { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be <=
or <
? At least intuitively for me, MERGE_TIMESTAMP should be the timestamp of the first post-merge block (but I don't know if that's try in practice).
Either way, I think we should have tests to cover these corner cases, meaning have a test case for the last pre-merge and first post-merge blocks (also shanghai)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, according to the updated test specs, it needs to be <=
otherwise the test "last pre-merge" test vector ( 15537393.yaml
) fails decoding. The "trigger" for the merge was difficulty-based, so I'm guessing that our use of a timestamp is somewhat arbitrary
HistoricalRootsBlockProof(HistoricalRootsBlockProof), | ||
HistoricalSummariesBlockProof(HistoricalSummariesBlockProof), | ||
} | ||
|
||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | ||
pub struct PreMergeAccumulatorProof { | ||
pub struct HistoricalHashesAccumulatorProof { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not strictly part of this PR, but can't we replace this structure with:
pub type HistoricalHashesAccumulatorProof = FixedVector<B256, typenum::U15>;
I applied some of my suggestions in my local work: It's not polished at all, so feel free to take a look and take some or all of it. A lot of the changes are refactoring not really related to this PR/work (I might extract them into separate PR if I get to it. |
3e7bb40
to
f62095e
Compare
@KolbyML Sorry if I was confusing, I just wanted to avoid bloating this pr with too many changes. And you're right we shouldn't be merging with failing ci, I was just saying so funnily @morph-dev I moved the new types into an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Few suggestions, but I'm not going to insist on them:
- I would move new
content_value.rs
file intoethportal-api/src/types/content_value/history_pr1666.rs
- I'm not the biggest fan of
_pr1666
suffix, and either_new
or_updated
is fine as well. All of this is only temporarily.
- I'm not the biggest fan of
- We can also move new
header_with_proof.rs
one level up and name it:header_with_proof_pr1666.rs
- If I'm not mistaken, the test files (in
validation/src/asssets/fluffy
) are currently only used with this newheader_with_proof.rs
, so I would move them somewhere inethportal-api
crate.
} | ||
|
||
#[cfg(test)] | ||
mod test { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even tho it might be tested in some other places indirectly, I think we should have tests here that test that encoding and decoding works as expected.
This doesn't have to be done in this PR (we should have test vectors for this).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the existing tests since they were duplicates. But I guess the tests you're referencing are for encoding/decoding the HistoryContentValue
and not necessarily the inner type. I'll circle back to this pr and add these later
197282b
to
2f3bcc5
Compare
7db5e4a
to
a828b0c
Compare
I left them where they were because I'd like to remove that entire test asset folder after the "upgrade" since they're all duplicates from the I updated the modules to the new naming convention (
I ended up moving it into |
* fix: update BlockHeaderProof type to match new specs * refactor: rename PreMergeAccumulatorProof -> HistoricalHashesAccumulatorProof * refactor: move updated hwp types to separate module * refactor: apply milos pr suggestions * fix: final pr comments
* fix: update bridge rpc localhost ip address (ethereum#1654) * chore: switch discv5 to pull from crates.io again (ethereum#1655) * fix: stop `generate_random_remote_enr` from generating multicast ip's (ethereum#1657) * feat: implement Debug for PingError so messages display (ethereum#1659) * chore(deps): weekly `cargo update` (ethereum#1661) info: syncing channel updates for '1.81.0-x86_64-unknown-linux-gnu' info: latest update on 2024-09-05, rust version 1.81.0 (eeb90cda1 2024-09-04) info: downloading component 'cargo' info: downloading component 'clippy' info: downloading component 'rust-docs' info: downloading component 'rust-std' info: downloading component 'rustc' info: downloading component 'rustfmt' info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-docs' info: installing component 'rust-std' info: installing component 'rustc' info: installing component 'rustfmt' Updating git repository `https://github.com/ethereum/utp` From https://github.com/ethereum/utp * [new tag] v0.1.0-alpha.14 -> origin/tags/v0.1.0-alpha.14 * [new tag] v0.1.0-alpha.14 -> v0.1.0-alpha.14 * [new tag] v0.1.0-alpha.10 -> v0.1.0-alpha.10 * [new tag] v0.1.0-alpha.11 -> v0.1.0-alpha.11 * [new tag] v0.1.0-alpha.12 -> v0.1.0-alpha.12 * [new tag] v0.1.0-alpha.13 -> v0.1.0-alpha.13 * [new tag] v0.1.0-alpha.6 -> v0.1.0-alpha.6 * [new tag] v0.1.0-alpha.7 -> v0.1.0-alpha.7 * [new tag] v0.1.0-alpha.8 -> v0.1.0-alpha.8 * [new tag] v0.1.0-alpha.9 -> v0.1.0-alpha.9 Updating git repository `https://github.com/paradigmxyz/reth.git` From https://github.com/paradigmxyz/reth * [new tag] v1.0.8 -> origin/tags/v1.0.8 * [new tag] v1.0.8 -> v1.0.8 * [new tag] v0.1.0-alpha.1 -> v0.1.0-alpha.1 * [new tag] v0.1.0-alpha.10 -> v0.1.0-alpha.10 * [new tag] v0.1.0-alpha.11 -> v0.1.0-alpha.11 * [new tag] v0.1.0-alpha.12 -> v0.1.0-alpha.12 * [new tag] v0.1.0-alpha.13 -> v0.1.0-alpha.13 * [new tag] v0.1.0-alpha.14 -> v0.1.0-alpha.14 * [new tag] v0.1.0-alpha.15 -> v0.1.0-alpha.15 * [new tag] v0.1.0-alpha.16 -> v0.1.0-alpha.16 * [new tag] v0.1.0-alpha.17 -> v0.1.0-alpha.17 * [new tag] v0.1.0-alpha.18 -> v0.1.0-alpha.18 * [new tag] v0.1.0-alpha.19 -> v0.1.0-alpha.19 * [new tag] v0.1.0-alpha.2 -> v0.1.0-alpha.2 * [new tag] v0.1.0-alpha.20 -> v0.1.0-alpha.20 * [new tag] v0.1.0-alpha.21 -> v0.1.0-alpha.21 * [new tag] v0.1.0-alpha.3 -> v0.1.0-alpha.3 * [new tag] v0.1.0-alpha.4 -> v0.1.0-alpha.4 * [new tag] v0.1.0-alpha.5 -> v0.1.0-alpha.5 * [new tag] v0.1.0-alpha.6 -> v0.1.0-alpha.6 * [new tag] v0.1.0-alpha.7 -> v0.1.0-alpha.7 * [new tag] v0.1.0-alpha.8 -> v0.1.0-alpha.8 * [new tag] v0.1.0-alpha.9 -> v0.1.0-alpha.9 * [new tag] v0.2.0-beta.1 -> v0.2.0-beta.1 * [new tag] v0.2.0-beta.2 -> v0.2.0-beta.2 * [new tag] v0.2.0-beta.3 -> v0.2.0-beta.3 * [new tag] v0.2.0-beta.4 -> v0.2.0-beta.4 * [new tag] v0.2.0-beta.5 -> v0.2.0-beta.5 * [new tag] v0.2.0-beta.6 -> v0.2.0-beta.6 * [new tag] v0.2.0-beta.7 -> v0.2.0-beta.7 * [new tag] v0.2.0-beta.8 -> v0.2.0-beta.8 * [new tag] v0.2.0-beta.9 -> v0.2.0-beta.9 * [new tag] v1.0.0 -> v1.0.0 * [new tag] v1.0.0-rc.1 -> v1.0.0-rc.1 * [new tag] v1.0.0-rc.2 -> v1.0.0-rc.2 * [new tag] v1.0.1 -> v1.0.1 * [new tag] v1.0.2 -> v1.0.2 * [new tag] v1.0.3 -> v1.0.3 * [new tag] v1.0.4 -> v1.0.4 * [new tag] v1.0.5 -> v1.0.5 * [new tag] v1.0.6 -> v1.0.6 * [new tag] v1.0.7 -> v1.0.7 Updating git repository `https://github.com/Snowfork/milagro_bls` From https://github.com/Snowfork/milagro_bls * [new ref] HEAD -> origin/HEAD * [new tag] 0.4.1 -> 0.4.1 * [new tag] 0.5.0 -> 0.5.0 * [new tag] 0.5.1 -> 0.5.1 * [new tag] 0.5.2 -> 0.5.2 * [new tag] 0.5.3 -> 0.5.3 * [new tag] 0.6.0 -> 0.6.0 * [new tag] 0.6.1 -> 0.6.1 * [new tag] v0.10.0 -> v0.10.0 * [new tag] v0.11.0 -> v0.11.0 * [new tag] v0.11.1 -> v0.11.1 * [new tag] v0.11.2 -> v0.11.2 * [new tag] v0.3.0 -> v0.3.0 * [new tag] v0.5.2 -> v0.5.2 * [new tag] v0.7.0 -> v0.7.0 * [new tag] v0.9.0 -> v0.9.0 * [new tag] v1.0.0 -> v1.0.0 * [new tag] v1.0.1 -> v1.0.1 * [new tag] v1.1.0 -> v1.1.0 * [new tag] v1.2.0 -> v1.2.0 * [new tag] v1.3.0 -> v1.3.0 * [new tag] v1.4.0 -> v1.4.0 * [new tag] v1.4.1 -> v1.4.1 * [new tag] v1.4.2 -> v1.4.2 * [new tag] v1.5.0 -> v1.5.0 * [new tag] v1.5.1 -> v1.5.1 Updating git repository `https://github.com/ralexstokes/ssz-rs` From https://github.com/ralexstokes/ssz-rs * [new ref] d09f55b4f8554491e3431e01af1c32347a8781cd -> refs/commit/d09f55b4f8554491e3431e01af1c32347a8781cd * [new tag] v0.1.0 -> v0.1.0 * [new tag] v0.2.0 -> v0.2.0 * [new tag] v0.3.0 -> v0.3.0 * [new tag] v0.4.0 -> v0.4.0 * [new tag] v0.5.0 -> v0.5.0 * [new tag] v0.6.0 -> v0.6.0 * [new tag] v0.7.0 -> v0.7.0 Locking 24 packages to latest compatible versions Updating alloy-chains v0.1.57 -> v0.1.58 Updating async-trait v0.1.85 -> v0.1.86 Updating bumpalo v3.16.0 -> v3.17.0 Updating cc v1.2.10 -> v1.2.11 Updating crunchy v0.2.2 -> v0.2.3 Updating dyn-clone v1.0.17 -> v1.0.18 Adding getrandom v0.3.1 Updating httparse v1.9.5 -> v1.10.0 Updating hyper v1.5.2 -> v1.6.0 Updating rustls v0.23.21 -> v0.23.22 Updating rustls-pki-types v1.10.1 -> v1.11.0 Updating ryu v1.0.18 -> v1.0.19 Updating serde_json v1.0.137 -> v1.0.138 Updating string_cache v0.8.7 -> v0.8.8 Updating string_cache_codegen v0.5.2 -> v0.5.3 Updating syn v2.0.96 -> v2.0.97 Updating tempfile v3.15.0 -> v3.16.0 Updating toml_edit v0.22.22 -> v0.22.23 Updating unicode-ident v1.0.15 -> v1.0.16 Adding wasi v0.13.3+wasi-0.2.2 (latest: v0.14.0+wasi-0.2.3) Updating webpki-roots v0.26.7 -> v0.26.8 Removing winnow v0.6.24 Adding winnow v0.6.26 (latest: v0.7.0) Adding winnow v0.7.0 Adding wit-bindgen-rt v0.33.0 (latest: v0.38.0) note: pass `--verbose` to see 201 unchanged dependencies behind latest * chore: bump uTP to fix selective ack bug (ethereum#1663) * chore: remove state nodes from standard release process (ethereum#1665) * feat: add max-radius param with 5% default (ethereum#1647) * feat: disable state network history header validation (ethereum#1667) * feat: update utp-rs dependency (ethereum#1652) * refactor: rename `era2` to `e2ss` (ethereum#1656) * fix: add temporary flag to disable storing headers (ethereum#1668) * fix: add temporary flag to disable storing history content * feat: enable WAL mode on sqlite 1.39-1.9xing Trin performance (ethereum#1662) * chore: bump ethportal-api version to v0.4.1 * chore: cargo update for trin release * chore: fix tempfile and uuid version due to including breaking change in getrandom (ethereum#1669) * chore: pin crunchy to 0.2.2 for Win compatibility (ethereum#1670) Need the patch for all the sub-dependencies * chore(deps): weekly `cargo update` (ethereum#1675) info: syncing channel updates for '1.81.0-x86_64-unknown-linux-gnu' info: latest update on 2024-09-05, rust version 1.81.0 (eeb90cda1 2024-09-04) info: downloading component 'cargo' info: downloading component 'clippy' info: downloading component 'rust-docs' info: downloading component 'rust-std' info: downloading component 'rustc' info: downloading component 'rustfmt' info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-docs' info: installing component 'rust-std' info: installing component 'rustc' info: installing component 'rustfmt' Updating git repository `https://github.com/eira-fransham/crunchy` From https://github.com/eira-fransham/crunchy * [new ref] 1bf90cf2d0a8cfcb2c5592275a23ab028dff6468 -> refs/commit/1bf90cf2d0a8cfcb2c5592275a23ab028dff6468 Updating git repository `https://github.com/Stebalien/tempfile` From https://github.com/Stebalien/tempfile * [new tag] v3.15.0 -> origin/tags/v3.15.0 * [new tag] v3.15.0 -> v3.15.0 * [new tag] v2.0.1 -> v2.0.1 * [new tag] v2.1.0 -> v2.1.0 * [new tag] v2.1.1 -> v2.1.1 * [new tag] v2.1.3 -> v2.1.3 * [new tag] v2.1.4 -> v2.1.4 * [new tag] v2.1.5 -> v2.1.5 * [new tag] v2.1.6 -> v2.1.6 * [new tag] v2.2.0 -> v2.2.0 * [new tag] v3.0.0 -> v3.0.0 * [new tag] v3.0.1 -> v3.0.1 * [new tag] v3.0.2 -> v3.0.2 * [new tag] v3.0.3 -> v3.0.3 * [new tag] v3.0.4 -> v3.0.4 * [new tag] v3.0.5 -> v3.0.5 * [new tag] v3.0.6 -> v3.0.6 * [new tag] v3.0.7 -> v3.0.7 * [new tag] v3.0.8 -> v3.0.8 * [new tag] v3.0.9 -> v3.0.9 * [new tag] v3.1.0 -> v3.1.0 * [new tag] v3.10.0 -> v3.10.0 * [new tag] v3.10.1 -> v3.10.1 * [new tag] v3.11.0 -> v3.11.0 * [new tag] v3.12.0 -> v3.12.0 * [new tag] v3.13.0 -> v3.13.0 * [new tag] v3.14.0 -> v3.14.0 * [new tag] v3.2.0 -> v3.2.0 * [new tag] v3.3.0 -> v3.3.0 * [new tag] v3.4.0 -> v3.4.0 * [new tag] v3.5.0 -> v3.5.0 * [new tag] v3.6.0 -> v3.6.0 * [new tag] v3.7.0 -> v3.7.0 * [new tag] v3.7.1 -> v3.7.1 * [new tag] v3.8.0 -> v3.8.0 * [new tag] v3.8.1 -> v3.8.1 * [new tag] v3.9.0 -> v3.9.0 Updating git repository `https://github.com/uuid-rs/uuid` From https://github.com/uuid-rs/uuid * [new tag] 1.12.1 -> origin/tags/1.12.1 * [new tag] 1.12.1 -> 1.12.1 * [new tag] 0.2.0 -> 0.2.0 * [new tag] 0.2.1 -> 0.2.1 * [new tag] 0.2.2 -> 0.2.2 * [new tag] 0.2.3 -> 0.2.3 * [new tag] 0.3.0 -> 0.3.0 * [new tag] 0.3.1 -> 0.3.1 * [new tag] 0.4.0 -> 0.4.0 * [new tag] 0.5.0 -> 0.5.0 * [new tag] 0.6.0 -> 0.6.0 * [new tag] 0.6.0-beta -> 0.6.0-beta * [new tag] 0.6.1 -> 0.6.1 * [new tag] 0.6.2 -> 0.6.2 * [new tag] 0.6.3 -> 0.6.3 * [new tag] 0.6.4 -> 0.6.4 * [new tag] 0.6.5 -> 0.6.5 * [new tag] 0.7.0 -> 0.7.0 * [new tag] 0.7.0-beta -> 0.7.0-beta * [new tag] 0.7.1 -> 0.7.1 * [new tag] 0.7.2 -> 0.7.2 * [new tag] 0.7.3 -> 0.7.3 * [new tag] 0.7.4 -> 0.7.4 * [new tag] 0.8.0 -> 0.8.0 * [new tag] 0.8.1 -> 0.8.1 * [new tag] 1.0.0 -> 1.0.0 * [new tag] 1.0.0-alpha.1 -> 1.0.0-alpha.1 * [new tag] 1.1.0 -> 1.1.0 * [new tag] 1.1.1 -> 1.1.1 * [new tag] 1.1.2 -> 1.1.2 * [new tag] 1.10.0 -> 1.10.0 * [new tag] 1.11.0 -> 1.11.0 * [new tag] 1.11.1 -> 1.11.1 * [new tag] 1.12.0 -> 1.12.0 * [new tag] 1.2.0 -> 1.2.0 * [new tag] 1.2.1 -> 1.2.1 * [new tag] 1.2.2 -> 1.2.2 * [new tag] 1.3.0 -> 1.3.0 * [new tag] 1.3.1 -> 1.3.1 * [new tag] 1.3.2 -> 1.3.2 * [new tag] 1.3.3 -> 1.3.3 * [new tag] 1.3.4 -> 1.3.4 * [new tag] 1.4.0 -> 1.4.0 * [new tag] 1.4.1 -> 1.4.1 * [new tag] 1.5.0 -> 1.5.0 * [new tag] 1.6.0 -> 1.6.0 * [new tag] 1.6.1 -> 1.6.1 * [new tag] 1.7.0 -> 1.7.0 * [new tag] 1.8.0 -> 1.8.0 * [new tag] 1.9.0 -> 1.9.0 * [new tag] 1.9.1 -> 1.9.1 Updating git repository `https://github.com/ethereum/utp` From https://github.com/ethereum/utp * [new tag] v0.1.0-alpha.16 -> origin/tags/v0.1.0-alpha.16 * [new tag] v0.1.0-alpha.16 -> v0.1.0-alpha.16 * [new tag] v0.1.0-alpha.10 -> v0.1.0-alpha.10 * [new tag] v0.1.0-alpha.11 -> v0.1.0-alpha.11 * [new tag] v0.1.0-alpha.12 -> v0.1.0-alpha.12 * [new tag] v0.1.0-alpha.13 -> v0.1.0-alpha.13 * [new tag] v0.1.0-alpha.14 -> v0.1.0-alpha.14 * [new tag] v0.1.0-alpha.15 -> v0.1.0-alpha.15 * [new tag] v0.1.0-alpha.6 -> v0.1.0-alpha.6 * [new tag] v0.1.0-alpha.7 -> v0.1.0-alpha.7 * [new tag] v0.1.0-alpha.8 -> v0.1.0-alpha.8 * [new tag] v0.1.0-alpha.9 -> v0.1.0-alpha.9 Updating git repository `https://github.com/paradigmxyz/reth.git` From https://github.com/paradigmxyz/reth * [new tag] v1.0.8 -> origin/tags/v1.0.8 * [new tag] v1.0.8 -> v1.0.8 * [new tag] v0.1.0-alpha.1 -> v0.1.0-alpha.1 * [new tag] v0.1.0-alpha.10 -> v0.1.0-alpha.10 * [new tag] v0.1.0-alpha.11 -> v0.1.0-alpha.11 * [new tag] v0.1.0-alpha.12 -> v0.1.0-alpha.12 * [new tag] v0.1.0-alpha.13 -> v0.1.0-alpha.13 * [new tag] v0.1.0-alpha.14 -> v0.1.0-alpha.14 * [new tag] v0.1.0-alpha.15 -> v0.1.0-alpha.15 * [new tag] v0.1.0-alpha.16 -> v0.1.0-alpha.16 * [new tag] v0.1.0-alpha.17 -> v0.1.0-alpha.17 * [new tag] v0.1.0-alpha.18 -> v0.1.0-alpha.18 * [new tag] v0.1.0-alpha.19 -> v0.1.0-alpha.19 * [new tag] v0.1.0-alpha.2 -> v0.1.0-alpha.2 * [new tag] v0.1.0-alpha.20 -> v0.1.0-alpha.20 * [new tag] v0.1.0-alpha.21 -> v0.1.0-alpha.21 * [new tag] v0.1.0-alpha.3 -> v0.1.0-alpha.3 * [new tag] v0.1.0-alpha.4 -> v0.1.0-alpha.4 * [new tag] v0.1.0-alpha.5 -> v0.1.0-alpha.5 * [new tag] v0.1.0-alpha.6 -> v0.1.0-alpha.6 * [new tag] v0.1.0-alpha.7 -> v0.1.0-alpha.7 * [new tag] v0.1.0-alpha.8 -> v0.1.0-alpha.8 * [new tag] v0.1.0-alpha.9 -> v0.1.0-alpha.9 * [new tag] v0.2.0-beta.1 -> v0.2.0-beta.1 * [new tag] v0.2.0-beta.2 -> v0.2.0-beta.2 * [new tag] v0.2.0-beta.3 -> v0.2.0-beta.3 * [new tag] v0.2.0-beta.4 -> v0.2.0-beta.4 * [new tag] v0.2.0-beta.5 -> v0.2.0-beta.5 * [new tag] v0.2.0-beta.6 -> v0.2.0-beta.6 * [new tag] v0.2.0-beta.7 -> v0.2.0-beta.7 * [new tag] v0.2.0-beta.8 -> v0.2.0-beta.8 * [new tag] v0.2.0-beta.9 -> v0.2.0-beta.9 * [new tag] v1.0.0 -> v1.0.0 * [new tag] v1.0.0-rc.1 -> v1.0.0-rc.1 * [new tag] v1.0.0-rc.2 -> v1.0.0-rc.2 * [new tag] v1.0.1 -> v1.0.1 * [new tag] v1.0.2 -> v1.0.2 * [new tag] v1.0.3 -> v1.0.3 * [new tag] v1.0.4 -> v1.0.4 * [new tag] v1.0.5 -> v1.0.5 * [new tag] v1.0.6 -> v1.0.6 * [new tag] v1.0.7 -> v1.0.7 Updating git repository `https://github.com/Snowfork/milagro_bls` From https://github.com/Snowfork/milagro_bls * [new ref] HEAD -> origin/HEAD * [new tag] 0.4.1 -> 0.4.1 * [new tag] 0.5.0 -> 0.5.0 * [new tag] 0.5.1 -> 0.5.1 * [new tag] 0.5.2 -> 0.5.2 * [new tag] 0.5.3 -> 0.5.3 * [new tag] 0.6.0 -> 0.6.0 * [new tag] 0.6.1 -> 0.6.1 * [new tag] v0.10.0 -> v0.10.0 * [new tag] v0.11.0 -> v0.11.0 * [new tag] v0.11.1 -> v0.11.1 * [new tag] v0.11.2 -> v0.11.2 * [new tag] v0.3.0 -> v0.3.0 * [new tag] v0.5.2 -> v0.5.2 * [new tag] v0.7.0 -> v0.7.0 * [new tag] v0.9.0 -> v0.9.0 * [new tag] v1.0.0 -> v1.0.0 * [new tag] v1.0.1 -> v1.0.1 * [new tag] v1.1.0 -> v1.1.0 * [new tag] v1.2.0 -> v1.2.0 * [new tag] v1.3.0 -> v1.3.0 * [new tag] v1.4.0 -> v1.4.0 * [new tag] v1.4.1 -> v1.4.1 * [new tag] v1.4.2 -> v1.4.2 * [new tag] v1.5.0 -> v1.5.0 * [new tag] v1.5.1 -> v1.5.1 Updating git repository `https://github.com/ralexstokes/ssz-rs` From https://github.com/ralexstokes/ssz-rs * [new ref] d09f55b4f8554491e3431e01af1c32347a8781cd -> refs/commit/d09f55b4f8554491e3431e01af1c32347a8781cd * [new tag] v0.1.0 -> v0.1.0 * [new tag] v0.2.0 -> v0.2.0 * [new tag] v0.3.0 -> v0.3.0 * [new tag] v0.4.0 -> v0.4.0 * [new tag] v0.5.0 -> v0.5.0 * [new tag] v0.6.0 -> v0.6.0 * [new tag] v0.7.0 -> v0.7.0 Locking 6 packages to latest compatible versions Updating alloy-chains v0.1.58 -> v0.1.59 Updating cc v1.2.12 -> v1.2.13 Adding const_format v0.2.34 Adding const_format_proc_macros v0.2.34 Updating parity-scale-codec v3.6.12 -> v3.7.4 Updating parity-scale-codec-derive v3.6.12 -> v3.7.4 note: pass `--verbose` to see 205 unchanged dependencies behind latest Co-authored-by: ogenev <[email protected]> * feat: remove LegacyHistory store version (ethereum#1674) * refactor: remove unused Distance type (ethereum#1677) * refactor: use util functions for reading from portal-spec-tests submodule (ethereum#1673) * Update `HeaderWithProof` with latest spec changes (ethereum#1672) * fix: update BlockHeaderProof type to match new specs * refactor: rename PreMergeAccumulatorProof -> HistoricalHashesAccumulatorProof * refactor: move updated hwp types to separate module * refactor: apply milos pr suggestions * fix: final pr comments * refactor: update names to be spec compliant for new hwp (ethereum#1678) * fix: remove debug logs from OverlayService::find_enr (ethereum#1679) * chore: bump alloy to 0.11.1 (ethereum#1681) * fix(ci): make dependencies update bot commit under github-actions account --------- Co-authored-by: Nick Gheorghita <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Milos Stankovic <[email protected]> Co-authored-by: Jason Carver <[email protected]> Co-authored-by: ogenev <[email protected]>
What was wrong?
Specs have been updated to the
HeaderWithProof
typeNone
type for the proofHow was it fixed?
HeaderWithProof
typePreMergeAccumulatorProof
->HistoricalHashesAccumulatorProof
to better match the specsportal-bridge
/ some test utils have a temporary invalid proof. The next step is to update the bridge to generate valid proofs, but I didn't want to combine these two prs otherwise it would get pretty large. Next, I'll work on updating the bridge and then update all the invalid proofs to be validTo-Do