Skip to content
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

Unknown Codec Version during State Sync #279

Open
aaronbuchwald opened this issue Jul 10, 2023 · 1 comment
Open

Unknown Codec Version during State Sync #279

aaronbuchwald opened this issue Jul 10, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@aaronbuchwald
Copy link
Collaborator

Receiving the following errors while the C-Chain is state syncing indicating that peers are sending an invalid response during state sync:

INFO [07-08|15:45:26.834] <C Chain> github.com/ava-labs/coreth/sync/client/client.go:354: could not validate response, retrying nodeID=NodeID-8fq1H8oStMi9BZrEk8qiE8QAV7AtqGnXt attempt=0 request="LeafsRequest(Root=0x2420ccaf1b045b032a9643a835ad02e94b528099c402c4a060ba18a2faad8a6f, Account=0x4bf87171a2265f14de1abdf79c9d5d9c4f1d758eb98fd2e380d4a24ea3001fe1, Start=, End=, Limit=1024, NodeType=StateTrie)" err="couldn't unpack codec version"

INFO [07-08|16:08:58.449] <C Chain> github.com/ava-labs/coreth/sync/client/client.go:354: could not validate response, retrying nodeID=NodeID-AyByRGSrfbDaeW4njEYwCzhsnMyZ2KMcw attempt=0 request="LeafsRequest(Root=0x29b9b5c98f6f7f932bf533a452afb7e4e30417d4c102def28160b3df59112cc2, Account=0x784448fe2d7fb2d02af9b739ac0cf8ba294f89cd1830165ca452abb306439aab, Start=, End=, Limit=1024, NodeType=StateTrie)" err="couldn't unpack codec version"

INFO [07-08|17:26:20.239] <C Chain> github.com/ava-labs/coreth/sync/client/client.go:354: could not validate response, retrying nodeID=NodeID-6yS1J9HFdHgdX2ruW6XMouQvECDF2Fta4 attempt=0 request="LeafsRequest(Root=0x07b2ee27d2f5878fd52e35a4650fb54718b8af4123109ec36e5b2989c1176209, Account=0xba7a9ebf2263882130fcaba3d2ed4830d2eac01a11edc8fdac30bad6e97b0db2, Start=70319f3298d7f3568fc2806799da6cc9e165375f493ea769fbc1d94669c248a5, End=, Limit=1024, NodeType=StateTrie)" err="couldn't unpack codec version"

INFO [07-08|18:49:44.415] <C Chain> github.com/ava-labs/coreth/sync/client/client.go:354: could not validate response, retrying nodeID=NodeID-2KSietvSEq4mX2C8p1DAT83RTJPykxUqN attempt=0 request="LeafsRequest(Root=0x561bebb501f5988587fb53173711c9c93342be01c555282f2e42d20f4259ad00, Account=0x5a28e9e44ad9190861adab00f7b8fd0b3163bc1f45cfb74bf479b3716c5d5f40, Start=5b26cd7be727cd1e8b3b3409f9bae0a8642c593e3ee834d9871922da0f1756e1, End=, Limit=1024, NodeType=StateTrie)" err="couldn't unpack codec version"

INFO [07-08|19:36:23.473] <C Chain> github.com/ava-labs/coreth/sync/client/client.go:354: could not validate response, retrying nodeID=NodeID-6yS1J9HFdHgdX2ruW6XMouQvECDF2Fta4 attempt=0 request="LeafsRequest(Root=0x7dceafacc84480384741e247e822710404db229e508cc9980e9ea6be85a03777, Account=0x46d33986f2530692b444d5ff3e1da9646b7b393f2aad7fa5f88cbf30f50ae0c2, Start=, End=, Limit=1024, NodeType=StateTrie)" err="couldn't unpack codec version"
@aaronbuchwald aaronbuchwald added the bug Something isn't working label Jul 10, 2023
@ceyonur
Copy link
Collaborator

ceyonur commented Jan 8, 2024

@aaronbuchwald Could this be already fixed with recent updates to the codec?

darioush pushed a commit that referenced this issue Apr 25, 2024
* bump avago + anr

* add cross compilation

* mod tidy

* CGO_CFLAGS instead of CGO_FLAGS

* strange "" stuff in goreleaser

* add comment for CGO_FLAGS setting. move seting to constants

* fix path var

* fix unit test script

* bump avago version in versions.sh

* add checksum check for SDK archive

* fix checksum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Status: Backlog 🗄
Development

No branches or pull requests

2 participants