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

Bug: Association error: Missing identity update #1552

Open
mkysel opened this issue Jan 16, 2025 · 2 comments
Open

Bug: Association error: Missing identity update #1552

mkysel opened this issue Jan 16, 2025 · 2 comments
Labels
bug Something isn't working decentralization-client

Comments

@mkysel
Copy link
Contributor

mkysel commented Jan 16, 2025

Describe the bug

When running XDBG (or any other d16z capable client) we get the error:

$ cargo xdbg -b local -d generate --entity identity --amount 5
xdbg::app::generate::identity 50 errors during identity generation
xdbg::app::generate::identity 1 unique errors during identity generation
xdbg::app::generate::identity err "Association error: Missing identity update"
Error: 
   0: Error generation failed

Expected behavior

No error.

This might be caused by xmtp/xmtpd#418, or a combination of that and other causes.

@mkysel mkysel added the bug Something isn't working label Jan 16, 2025
@mkysel mkysel transferred this issue from xmtp/xmtpd Jan 24, 2025
@mkysel
Copy link
Contributor Author

mkysel commented Feb 25, 2025

This was mostly solved by xmtp/xmtpd#418, but its just a bandaid.

It somewhat works if you only ever have 1 node.

With multiple nodes, there is no guarantee that every node will have the payload that was routed via the blockchain.

@mkysel
Copy link
Contributor Author

mkysel commented Feb 25, 2025

$ cargo xdbg -b local -d generate --entity identity --amount 500
    Finished `release` profile [optimized] target(s) in 0.27s
     Running `target/release/xdbg -b local -d generate --entity identity --amount 500`
xdbg::app::generate::identity ensuring identities registered & latest association state loaded...
        total_states 500
xdbg::app::generate identitites generated

We can always repurpose this bug for a more complete solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working decentralization-client
Projects
Status: Todo
Development

No branches or pull requests

2 participants