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

ChainIdNotFoundException occurs during LiteDBStore.ForkStateReferences<T> #509

Closed
limebell opened this issue Sep 10, 2019 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@limebell
Copy link
Member

When trustedPeer option is set to be empty during Swarm<T>.PreloadAsync, this seems to be occurred.

@limebell limebell added the bug Something isn't working label Sep 10, 2019
@limebell
Copy link
Member Author

It seems like trustedPeer option is not related.

@limebell
Copy link
Member Author

This seems to be occurred when execute Fork where StateReferences are empty.

@dahlia dahlia self-assigned this Sep 17, 2019
@dahlia
Copy link
Contributor

dahlia commented Sep 19, 2019

This seems due to the patch #467 which removed the addressesToStrip parameter from IStore.ForkStateReferences() method.

dahlia added a commit to dahlia/libplanet that referenced this issue Sep 19, 2019
Fixed a bug that LiteDBStore.ForkStateReferences<T>() had thrown
ChainIdNotFoundException where a sourceChainId exists but
it has no state references.
dahlia added a commit to dahlia/libplanet that referenced this issue Sep 19, 2019
Fixed a bug that LiteDBStore.ForkStateReferences<T>() had thrown
ChainIdNotFoundException where a sourceChainId exists but
it has no state references.
@dahlia dahlia closed this as completed in e175c3d Sep 19, 2019
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
None yet
Development

No branches or pull requests

2 participants