Skip to content

Add hardcoded and manual crosschain mappings#116

Merged
peachbits merged 6 commits intomasterfrom
sync-doc
Sep 20, 2025
Merged

Add hardcoded and manual crosschain mappings#116
peachbits merged 6 commits intomasterfrom
sync-doc

Conversation

@peachbits
Copy link
Copy Markdown
Collaborator

@peachbits peachbits commented Sep 19, 2025


…ain mapping

Combing the function means avoiding repeating a couple things, like inverting platforms and grabbing the platforms. There's a bug fixed as well where we were associating the first platform in an asset's platform list to the unique ID. It should be using the best platform as determined by the sorted platforms
One rate missing could spoil an entire payload. A missing rate when the asset has an ID but no tracked volume
src/v3/utils.ts Outdated
export const create24HourSyncInterval = (
syncedDocument: SyncedDocument<unknown>,
db: nano.DocumentScope<any>,
label: string = ''
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Unused. Add it to the error log

@peachbits peachbits merged commit 56d9855 into master Sep 20, 2025
1 check passed
@peachbits peachbits deleted the sync-doc branch September 20, 2025 00:54
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.

2 participants