fedimint / fedimint

Federated E-Cash Mint
https://fedimint.org/
MIT License
536 stars 210 forks source link

fix: use update-gateway-cache for v0.3.0 #5171

Closed bradleystachurski closed 2 weeks ago

bradleystachurski commented 2 weeks ago

Fixes https://github.com/fedimint/fedimint/issues/5156 Fixes https://github.com/fedimint/fedimint/issues/4999

We removed update-gateway-cache from fedimint-cli in https://github.com/fedimint/fedimint/pull/4919. v0.3.0 includes update-gateway-cache (see: https://github.com/fedimint/fedimint/blob/v0.3.0/fedimint-cli/src/client.rs#L126) and doesn't update the cache using list-gateways, so we need to handle this case explicitly in back-compat and upgrade tests.

Reviewers can verify locally using

just test-compatibility v0.3.0

and

just test-upgrades "v0.3.0 current"