From c5053eac40ac2fd3c34cdcfbe8877f6400e0d5d7 Mon Sep 17 00:00:00 2001 From: Warren He Date: Tue, 16 Jan 2024 10:09:48 -0800 Subject: [PATCH] storage: correct nft id type --- storage/client/queries/queries.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/client/queries/queries.go b/storage/client/queries/queries.go index bc54f4059..9113eabbe 100644 --- a/storage/client/queries/queries.go +++ b/storage/client/queries/queries.go @@ -557,7 +557,7 @@ const ( WHERE chain.evm_nfts.runtime = $1::runtime AND ($2::oasis_addr IS NULL OR chain.evm_nfts.token_address = $2::oasis_addr) AND - ($3::bigint IS NULL OR chain.evm_nfts.nft_id = $3::bigint) AND + ($3::bigint IS NULL OR chain.evm_nfts.nft_id = $3::uint_numeric) AND ($4::oasis_addr IS NULL OR chain.evm_nfts.owner = $4::oasis_addr) ORDER BY token_address, nft_id LIMIT $5::bigint