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

Fix asset to hotspot conversion #373

Merged
merged 4 commits into from
Jun 13, 2024
Merged

Fix asset to hotspot conversion #373

merged 4 commits into from
Jun 13, 2024

Conversation

madninja
Copy link
Member

@madninja madninja commented Jun 12, 2024

Asset convertion to a Hotspot was relying on a metadata field that may take over 24 hours to get populated, and is only to be used for non critical purposes.

This PR introduces a KeyToAsset cache that is used to cache asset accounts based on the asset key. The cache is then used for Asset->Hotspot conversion to get the entity key (back)

Fixes #366

Both bugs reported in #366 are fixed by this PR. It fixes metadata issues and update transaction construction

Asset convertion to a Hotspot was relying on a metadata field that may take over 24 hours to get populated, and is only to be used for non critical purposes.

This PR introduces a KeyToAsset cache that is used to cache asset accounts based on the asset key. The cache is then used for Asset->Hotspot conversion to get the entity key (back)
The location passed into the onboarding server was not a quoted big number.. This fix removes serde_with as a dependency and fixes the issue in request parameter construction
asset_account renamed to kta, created separate module for kta functionality.

kta module supports get_many to fetch many kta_keys
@madninja madninja merged commit 55e926a into master Jun 13, 2024
4 checks passed
@madninja madninja deleted the madninja/asset_conversion branch June 13, 2024 16: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
1 participant