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
HIP-646/657/765: Implement token metadata acceptance tests #8166
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jeff Schmidt <jeffrey.schmidt@swirldslabs.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8166 +/- ##
=========================================
Coverage 92.30% 92.30%
Complexity 7290 7290
=========================================
Files 899 899
Lines 29363 29364 +1
Branches 3583 3583
=========================================
+ Hits 27104 27105 +1
Misses 1439 1439
Partials 820 820 ☔ View full report in Codecov by Sentry. |
…eviewnet. Signed-off-by: Jeff Schmidt <jeffrey.schmidt@swirldslabs.com>
…given statement management added last commit. Signed-off-by: Jeff Schmidt <jeffrey.schmidt@swirldslabs.com>
Signed-off-by: Jeff Schmidt <jeffrey.schmidt@swirldslabs.com>
Signed-off-by: Jeff Schmidt <jeffrey.schmidt@swirldslabs.com>
hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/steps/TokenFeature.java
Show resolved
Hide resolved
hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/steps/TokenFeature.java
Show resolved
Hide resolved
private final TokenClient tokenClient; | ||
private final AccountClient accountClient; | ||
private final MirrorNodeClient mirrorClient; | ||
|
||
private final Map<TokenId, List<Long>> tokenSerialNumbers = new HashMap<>(); | ||
private final Map<TokenId, List<IndividualNftInfo>> tokenNftInfoMap = new HashMap<>(); |
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.
State per NFT is now serial number and metadata last set.
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.
should name the class just NftInfo
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.
Done.
Signed-off-by: Jeff Schmidt <jeffrey.schmidt@swirldslabs.com>
hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/client/TokenClient.java
Outdated
Show resolved
Hide resolved
hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/client/TokenClient.java
Outdated
Show resolved
Hide resolved
hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/client/TokenClient.java
Outdated
Show resolved
Hide resolved
hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/client/TokenClient.java
Outdated
Show resolved
Hide resolved
hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/client/TokenClient.java
Outdated
Show resolved
Hide resolved
hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/client/TokenClient.java
Outdated
Show resolved
Hide resolved
private final TokenClient tokenClient; | ||
private final AccountClient accountClient; | ||
private final MirrorNodeClient mirrorClient; | ||
|
||
private final Map<TokenId, List<Long>> tokenSerialNumbers = new HashMap<>(); | ||
private final Map<TokenId, List<IndividualNftInfo>> tokenNftInfoMap = new HashMap<>(); |
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.
should name the class just NftInfo
hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/steps/TokenFeature.java
Outdated
Show resolved
Hide resolved
hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/steps/TokenFeature.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Jeff Schmidt <jeffrey.schmidt@swirldslabs.com>
Signed-off-by: Jeff Schmidt <jeffrey.schmidt@swirldslabs.com>
…ater update using ED25519. Signed-off-by: Jeff Schmidt <jeffrey.schmidt@swirldslabs.com>
hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/client/TokenClient.java
Show resolved
Hide resolved
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.
LGTM
…cceptance-tests. Resolve NFT allowance conflicts. Signed-off-by: Jeff Schmidt <jeffrey.schmidt@swirldslabs.com>
@@ -2,14 +2,14 @@ name: "Gradle" | |||
on: | |||
pull_request: | |||
branches: | |||
- 'main' | |||
- 'release/**' | |||
- "main" |
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.
No changes made by me in workflows
. Spotless...
docs/database/README.md
Outdated
@@ -272,8 +272,8 @@ Following are the prerequisites and steps for migrating V1 data to V2. | |||
[migration.config](/hedera-mirror-importer/src/main/resources/db/scripts/v2/migration.config). | |||
4. Get the correct version of [flyway](https://flywaydb.org/documentation/usage/commandline/) based on your OS and | |||
update it in the `FLYWAY_URL` field in the `migration.config` file. The default is set to the linux version. | |||
5. Stop the [Importer](/docs/importer/README.md) process. | |||
6. Run the [migration.sh](/hedera-mirror-importer/src/main/resources/db/scripts/v2/migration.sh) script. Due to the time it will take to complete the migration, | |||
5. Stop the [Importer](/docs/importer/README.md) process. |
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.
No changes here. Spotless...
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.
LGTM
Will need another merge from main |
…cceptance-tests Signed-off-by: Jeff Schmidt <jeffrey.schmidt@swirldslabs.com>
Quality Gate passedIssues Measures |
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.
LGTM
Description:
Acceptance tests and token/mirror client updates to invoke the new HAPI and MAPI functionality recently implemented. Test fungible and non-fungible metadata capabilities as well as that "dynamic" NFTs.
Related issue(s):
Fixes #7765
Notes for reviewer:
This PR is still relying on a beta version of
com.hedera.hashgraph:sdk
(2.32.0-beta.1
). Keeping an eye out for a GA version of 2.32.x. Cannot really merge this PR until that becomes available and things a retested.Checklist