-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add NftUpsertQueryGenerator logic and tests The importer is currently using old logic for handling NFTs and NFT transfers, as opposed to the new upsert logic added. This updates `NftTransfers` to use insert only logic and `Nft`s to use upsert - Update `nft.deleted` and `nft.metadata` columns and fields to be nullable to support upsert logic - Replace nft repositories with `onNft()` in `EntityRecordItemListener` - Replace nftTransfer repositories with `onNftTransfer()` in `EntityRecordItemListener` - Add custom update method support to `AbstractUpsertQueryGenerator` - Add `NftUpsertQueryGenerator` to support upsert logic - Update `SqlEntityListener` to use `PgCopy` with NftTransfers and `UpsertPgCopy` for Nft - Added tests for various nft upsert flows Signed-off-by: Nana-EC <nana.essilfie-conduah@hedera.com> Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
- Loading branch information
Showing
16 changed files
with
697 additions
and
79 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.