Repository navigation
Merge main into dev - #197
Merged
Merged
Conversation
Co-authored-by: Mykyta Sydorenko <102351233+lilbonekit@users.noreply.github.com>
Bring the docs, landing site and web fixes from main into dev, and move the dev-only hooks (partial repay, lender and protocol-fee vault withdrawals) from the LWK fork's TxBuilder to buildPset on upstream LWK.
Pass LIQUIDATION_HEIGHT to AssetAuthVault (loan expiration for the lender vault, 0 for the protocol-fee vault) and use the new witness path with the WithdrawOnLiquidation branch. Lower the untested vault weight placeholders to 4000 WU, and rebuild partial repay prevouts per covenant since finalizeTransaction consumes them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges
mainintodev: docs, landing site, web fixes and the move to upstream LWK (#196).usePartialRepayOffer,useLenderVaultWithdrawPart,useProtocolFeeVaultClaim,useProtocolFeeVaultWithdrawPart) moved from the fork'sTxBuildertobuildPset; covenant finalization usesfinalizeTransaction(tx, spendInfo.controlBlock(cmr), ...).imports(LWK !1570), needed by the module-based contracts.LIQUIDATION_HEIGHTargument and the new witness path.useRepayOfferstays deleted (replaced by partial repay); liquidate, chopper and demo pages keep dev's logic on main's builder.Tested on testnet: borrower account, create, accept, claim principal, partial repay (first and final with both vaults), lender vault claim. Not run: vault partial withdrawals, protocol-fee claim, liquidation after a partial repayment.