-
Notifications
You must be signed in to change notification settings - Fork 10
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
example: More powerful non fungible ids query #777
Draft
dhedey
wants to merge
2
commits into
develop
Choose a base branch
from
example/more-powerful-non-fungible-ids-query
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dhedey
force-pushed
the
example/more-powerful-non-fungible-ids-query
branch
from
August 2, 2024 17:45
6eeee82
to
c80bbe3
Compare
dhedey
force-pushed
the
tweak/fix-docs-and-formatting
branch
from
August 9, 2024 13:32
01b5ace
to
efe6f02
Compare
krzlabrdx
reviewed
Aug 13, 2024
@@ -76,6 +76,9 @@ private EntityAddress(string address) | |||
_address = address; | |||
} | |||
|
|||
// See https://radixdlt.atlassian.net/wiki/spaces/S/pages/3045556302/REP-71+-+Address+Formats+and+Vanity+Addresses | |||
public bool IsNonFungibleResource => _address.Contains("1ng") || _address.Contains("1nf") || _address.Contains("1n2") || _address.Contains("1nt"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Guess we shouldn't link to non-public resources?
- Are you sure this is safe? Is it guaranteed that say
1ng
substring won't be observed inpackage_1loc2dsadaxxxx1ngdasdasdas
or something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I'm okay with it, but can change it to
REP-71
if we'd rather - Yes it is; but we can do it as an entity byte check if you'd rather change
EntityAddress
to work over a toolkit address
dhedey
force-pushed
the
example/more-powerful-non-fungible-ids-query
branch
from
August 13, 2024 17:33
c80bbe3
to
4582fb4
Compare
Fix include value and include deleted flags
Quality Gate failedFailed conditions |
PawelPawelec-RDX
force-pushed
the
develop
branch
from
January 9, 2025 19:20
9ce1552
to
6d0ea94
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
(Untested, we can test when rebasing onto develop)
Details
Demonstrates a pretty generic and highly performant wrapper around the
definitions / entries
queries.Testing
Needs testing