How to build a client app against the correct version of the network?

Since I built for the 12th June network the protocol checking has changed and I can no longer build my client in a way that matches the protocol version of the public network (or @Josh’s latest comnet).

I’ve tried building against stable-2024-07-08 both from crates.io and a local clone of stable-2024-07-08 and both give the following error when trying to connect to either he public beta or @Josh’s latest comnet:

Failed to connect to Autonomi Network: Could not connect due to incompatible network protocols. Our protocol: safe/0.17/8f73b9_9934c2_b4243e_a58583 Network protocol: safe/0.17/844186_8829ca_8c0271_8c2f40

I need to know how to get the correct keys to build against a given version (tag) of safe_network. I see here the set of environment variables which need to be set, but I don’t know how to get the values when building my client app.

The instructions there are unclear, and seem to be a mixture of instructions for the Autonomi developers doing a release and instructions for other developers doing local testing so I think that section could be clearer, and divided into things for people working on safe_network crates and third party apps using those crates.

Thanks

cc @Chriso @Traktion @loziniak

EDIT: now on github in issue #1978

8 Likes

This topic was automatically closed after 60 days. New replies are no longer allowed.