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

tapcfg: fix defaults for testnet universe courier #580

Merged
merged 5 commits into from
Oct 13, 2023

Conversation

Roasbeef
Copy link
Member

When we made testnet the default, the default config logic wasn't updated to properly implement the fallback logic. As a result, on testnet, the mainnet courier was still being used.

When we made testnet the default, the default config logic wasn't
updated to properly implement the fallback logic. As a result, on
testnet, the mainnet courier was still being used.
Otherwise, we'll get a parsing error.
In this commit, we switch to `AllowSyncInsert=true` in the global
config. This ensures that when syncing from scratch with the default
config, the auto syncer will properly allow issuance proofs. Otherwise,
it'll fall through and deny everything.
In this commit, we fix a bug in `QueryFederationSyncConfigs`. The query
just returns nothing, not an error, so before we were using a blank
config and trying to use that as the default.
We need to set this as the default otherwise, `universe roots` will
return nothing for those with the default config. This'll return nothing
as when we respond to queries, we filter out based on the config.
@jharveyb
Copy link
Collaborator

jharveyb commented Oct 13, 2023

Fixes work on testnet but hitting this issue for mainnet:

[tapcli] could not load global options: unknown network: mainnet

Was running an incorrect version, looks good!

@Roasbeef Roasbeef merged commit a67a085 into main Oct 13, 2023
14 checks passed
@guggero guggero deleted the fix-testnet-universe-courier branch October 16, 2023 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants