Skip to content

Fix MWC: fix global chain type race and use auth for mwc713.mwc.mw#1271

Open
sneurlax wants to merge 3 commits intostagingfrom
fix/mwc
Open

Fix MWC: fix global chain type race and use auth for mwc713.mwc.mw#1271
sneurlax wants to merge 3 commits intostagingfrom
fix/mwc

Conversation

@sneurlax
Copy link
Member

@sneurlax sneurlax commented Mar 3, 2026

2 fixes in one, one which fixes syncing and another which fixes a crash bug

/// the Rust HTTPNodeClient can authenticate to the MWC node.
Future<void> _ensureApiSecret(String walletDir, String nodeUrl) async {
const defaultNodeHost = 'mwc713.mwc.mw';
const defaultNodeSecret = '11ne3EAUtOXVKwhxm84U';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably unify this secret so the MWC node test file doesn't have to reproduce it (or vice versa). A cleaner approach may be to add an optional auth field/param to the NodeModelAdapter, but I didn't want to get into all that right now.

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.

1 participant