Skip to content

Commit

Permalink
Merge pull request #609 from oasisprotocol/pro-wh/bugfix/biggerint2
Browse files Browse the repository at this point in the history
storage: correct nft id type again
  • Loading branch information
pro-wh authored Jan 22, 2024
2 parents 88b2a05 + 2e6b0c7 commit 6c9715b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/client/queries/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,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::uint_numeric) AND
($3::uint_numeric 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
Expand Down

0 comments on commit 6c9715b

Please sign in to comment.