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

Comments

@limebell
Copy link
Contributor

commented Sep 10, 2019

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

@limebell limebell added the bug label Sep 10, 2019
@limebell

This comment has been minimized.

Copy link
Contributor Author

commented Sep 10, 2019

It seems like trustedPeer option is not related.

@limebell

This comment has been minimized.

Copy link
Contributor Author

commented Sep 11, 2019

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

@dahlia dahlia self-assigned this Sep 17, 2019
@dahlia

This comment has been minimized.

Copy link
Member

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 in e175c3d Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.