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

refactor: NetworkService as a dependency #92

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

meeh0w
Copy link
Member

@meeh0w meeh0w commented Nov 15, 2024

Originated from #74 (comment)

It prevents passing NetworkService as a dependency to services/classes which only need it for things related to address resolution (such as isMainnet(), getAvalancheProviderXP()).

Instead, it passes those things as options.

@meeh0w meeh0w mentioned this pull request Nov 15, 2024
6 tasks
Base automatically changed from feat/pchain-dynamic-fees to main November 21, 2024 20:36
@meeh0w meeh0w force-pushed the feat/secrets-dep-refactored branch from 38b041e to c787255 Compare December 2, 2024 09:14
@meeh0w meeh0w marked this pull request as ready for review December 2, 2024 09:15
@meeh0w meeh0w changed the title feat: secrets n refactored feat: dependency refactors Dec 2, 2024
@meeh0w meeh0w changed the title feat: dependency refactors refactor: NetworkService as a dependency Dec 2, 2024
bferenc
bferenc previously approved these changes Dec 5, 2024
describe('src/background/services/seedless/handlers/ge', () => {
describe('src/background/services/seedless/handlers/getRecoveryPhraseExportState', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

lol

Copy link
Member Author

Choose a reason for hiding this comment

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

oopsies.

vvava
vvava previously approved these changes Dec 5, 2024
Copy link
Contributor

@vvava vvava left a comment

Choose a reason for hiding this comment

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

🍪

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.

3 participants