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

POC/WIP: feat/1098 - Fetch and store MASP params in background #1113

Conversation

jurevans
Copy link
Collaborator

Relates to #1098 & #1099

Namadillo will need to fetch and store MASP params once. This PR is to experiment with fetching these within a service worker and storing these in IndexedDB.

To move this PR out of POC status, we need a smoother development & build integration. Currently, packages cannot be imported into this context (specifically, @namada/storage which is the IndexedDB interface we use). For this branch, I am just using a copied version for now. We will potentially be able to improve the Vite pipeline & dev process for working with SW.

Also, to avoid CORS issues, I've had to proxy while working locally. This is not ideal, but is an issue regardless of whether we request in the App vs SW.

@jurevans jurevans self-assigned this Sep 14, 2024
@jurevans jurevans changed the base branch from feat/1098-add-remaining-transfer-types to main September 14, 2024 08:57
@jurevans jurevans changed the base branch from main to feat/1098-add-remaining-transfer-types September 14, 2024 08:57
@jurevans jurevans changed the base branch from feat/1098-add-remaining-transfer-types to main September 14, 2024 08:58
@jurevans jurevans changed the base branch from main to feat/1098-add-remaining-transfer-types September 14, 2024 08:59
@jurevans jurevans closed this Sep 14, 2024
@jurevans jurevans deleted the feat/1098-sw-masp-params branch September 14, 2024 09:01
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