Skip to content

Conversation

@jamesdorfman
Copy link
Collaborator

@jamesdorfman jamesdorfman commented Nov 3, 2023

Fixes issue which was causing validation to fail on block 2a70e30a3b975b53a0598139f6f490ff0865a47d0028a55ddc04451270d228d0 in liquidtestnet.

This bug was introduced in the merge of bitcoin/bitcoin#22448 in 09333e2.

It is not yet clear why only a testnet block is affected by this issue, and why the production liquid chain syncs fully.

Subsequent commits in this PR contain fixes for various failing functional tests.

Copy link
Member

@delta1 delta1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 47dff66

The line immediately below the commented out code I removed explicitly
tests the exact behaviour which was being questioned in the comment.

This indicates that the comment was incorrect.
jamesdorfman and others added 3 commits November 13, 2023 03:17
The first transaction from create_taproot_utxo was failing with
bad-txns-inputs-missingorspent because the "input" selected with
fundrawtransaction was the anyonecanspend initialfreecoins.

Fixed by first spending the initialfreecoins to "real" outputs.
The first transaction was failing with bad-txns-inputs-missingorspent
because the "input" selected with fundrawtransaction was the
anyonecanspend initialfreecoins.

Fixed by first spending the initialfreecoins to "real" outputs.
jamesdorfman and others added 2 commits November 15, 2023 20:01
since the SRD coin selection was added, Elements sometimes picks a 1.0
input instead of 0.5 in this test
@jamesdorfman
Copy link
Collaborator Author

ACK 9368fba.

@delta1
Copy link
Member

delta1 commented Nov 22, 2023

ACK 9368fba - reviewed other commits

@psgreco psgreco merged commit 1b65d4d into ElementsProject:master Nov 22, 2023
jamesdorfman added a commit to jamesdorfman/elements that referenced this pull request May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants