Skip to content

Commit

Permalink
Opensea: patch error - to avoid division_by_zero (#1335)
Browse files Browse the repository at this point in the history
* urgent patch : avoiding divide_by_zero

* modified more error affected queries
  • Loading branch information
sohwak authored Jul 29, 2022
1 parent 78ef9ca commit 2138e5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ethereum/seaport/insert_transactions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,7 @@ with p1_call as (
,a.*
from p4_call a
) a
where nft_transfer_count > 0 -- some of trades without NFT happens in match_order
) a
)
,p4_txn_level as (
Expand Down
1 change: 1 addition & 0 deletions ethereum/seaport/insert_transfers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ with p1_call as (
,a.*
from p4_call a
) a
where nft_transfer_count > 0 -- some of trades without NFT happens in match_order
) a
)
,p4_transfer_level as (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,7 @@ with p1_call as (
,a.*
from p4_call a
) a
where nft_transfer_count > 0 -- some of trades without NFT happens in match_order
) a
)

Expand Down

0 comments on commit 2138e5e

Please sign in to comment.