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

feat: store withdrawal statuses in local storage #2136

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

brtkx
Copy link
Contributor

@brtkx brtkx commented Dec 12, 2024

closes FS-1053

@cla-bot cla-bot bot added the cla-signed label Dec 12, 2024
Copy link

vercel bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
arbitrum-token-bridge ✅ Ready (Inspect) Visit Preview Jan 9, 2025 4:51pm

…inLabs/arbitrum-token-bridge into add-executed-withdrawals-to-cache
brtkx added 2 commits January 9, 2025 17:46
…inLabs/arbitrum-token-bridge into add-executed-withdrawals-to-cache
@brtkx brtkx changed the title feat: store withdrawals executed status in cache feat: store transfer statuses in local storage Jan 9, 2025
@brtkx brtkx changed the title feat: store transfer statuses in local storage feat: store withdrawal statuses in local storage Jan 9, 2025
@@ -1,3 +1,33 @@
let localStoragePromise = Promise.resolve()

export function addToLocalStorageObjectSequentially({
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We use it when we call multiple local storage setters in parallel, then it will work like a queue system instead of overwriting each others values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants