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 before/after cursors by decoding base58 keys. #67

Merged
merged 1 commit into from
May 9, 2023

Conversation

richardwu
Copy link
Collaborator

@richardwu richardwu commented May 7, 2023

Before/after strings for pagination are validated as base58 strings.

However, when we decode them into Vec we use as_bytes() which uses ascii values.

Instead we need to bs58::decode them.

@linuskendall linuskendall merged commit f25e468 into metaplex-foundation:main May 9, 2023
tahsintunan referenced this pull request in helius-labs/digital-asset-rpc-infrastructure Jun 22, 2023
* Add structured logging and reduce log noisiness (#48)

* Fix GetAssetsByCreator query (#8)

* Bump to 0.7.1

* Handle HTTP errors

Handle and log http errors separately.

* Make bgtask runner configurable

Partially addresses metaplex-foundation#50.

* Enable configurable retries

Enable configurable retries for the bgtask.

* Add purged task metric

* add new task metric

* Fixed nft ingester

* Fix the reading of task timeout

* Set slow statements to debug

* Remove task name

* Fix purge task

* acc forwarder (#11)

* acc forwarder

* version to .0.1

* Fixing unused imports

Cleaning out unused imports.

* Hopefully final fix for interval handling

* Fix interval

* fix(das-api): fix getAssetProof

* Fix before/after cursors. (#67)

* Fix edition nonce (#78)

* fix(ingester): fix compressed nft burn indexing (#24) (#80)

* fix(ingester): fix compressed nft burn indexing

* Small fix for asssetId calculation

* feat(das-api): support searching assets by `jsonUri` parameter (#79)

* add dto parameter

* add dao condition

* upd asset_data fetching to ensure single presence of asset_data in query

* use asset.asset_data key for linking between asset/asset_data

* fix: breaking arg order for array queries

* chore: consistent arg order in `SearchAssets` destructuring

* fix: breaking arg count for array params in searchAssets

* fix: use IndexMap instead of BTreeMap

---------

Co-authored-by: Nicolas Pennie <[email protected]>
Co-authored-by: Linus Kendall <[email protected]>
Co-authored-by: ethyi <[email protected]>
Co-authored-by: Richard Wu <[email protected]>
Co-authored-by: Austin Adams <[email protected]>
Co-authored-by: Alex Tsymbal <[email protected]>
muhitrhn pushed a commit to muhitrhn/digital-asset-rpc-infrastructure that referenced this pull request Oct 6, 2023
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