Blockstream / Blockstream/simplicity-dex

Different Asset_id in tables utxos and asset_entropy

Open
#51 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
4
Forks
3
PR merge metrics
No merged PRs in 30d

Description

### Project version

0.1.0

### What happened?

An issue occurs within the `insert_transaction()` function. The `asset_id` for the `utxos` table is fetched from `TxOut`, while the `asset_id` for `asset_entropy` is derived from `TxIn`. This creates a situation where attempting to JOIN `asset_entropy` with the UTXO query results in 0 rows fetched

### Minimal reproduction steps

rework data insertion in DB

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.