Commit Graph

14580 Commits

Author SHA1 Message Date
Vito
0496a80094 Merge tapanito/sav-fixed-precision-loanpay into tapanito/sav-fixed-precision-loanmanage 2026-10-01 17:01:45 +02:00
Vito
db8f6cf189 style: Fix clang-tidy findings in FixedPrecision headers 2026-10-01 17:01:44 +02:00
Vito
1b562f2c9f Merge tapanito/sav-fixed-precision-loanset into tapanito/sav-fixed-precision-loanpay 2026-10-01 17:01:42 +02:00
Vito
db79ce5d45 style: Fix clang-tidy findings in FixedPrecision headers 2026-10-01 17:01:40 +02:00
Vito
7a0229c9f5 Merge tapanito/sav-fixed-precision-loanbroker into tapanito/sav-fixed-precision-loanset 2026-10-01 17:01:38 +02:00
Vito
c29cbaec9d style: Fix clang-tidy findings in FixedPrecision headers 2026-10-01 17:01:37 +02:00
Vito
acdb754728 Merge tapanito/sav-fixed-precision-vault-transactors into tapanito/sav-fixed-precision-loanbroker 2026-10-01 17:01:35 +02:00
Vito
ade43a4b9e style: Fix clang-tidy findings in FixedPrecision headers 2026-10-01 17:01:33 +02:00
Vito
47294b5ae8 style: Fix clang-tidy findings in FixedPrecision headers 2026-10-01 17:01:30 +02:00
Vito
6775bacabe Merge tapanito/sav-fixed-precision-loanpay into tapanito/sav-fixed-precision-loanmanage
Brings in develop. Switch this PR's code to the SLE::ConstRef / SLE::Ref aliases and gtest naming introduced on develop.
2026-10-01 16:59:59 +02:00
Vito
9b79472c53 Merge tapanito/sav-fixed-precision-loanset into tapanito/sav-fixed-precision-loanpay
Brings in develop. Switch this PR's code to the SLE::ConstRef / SLE::Ref aliases and gtest naming introduced on develop.
2026-10-01 16:59:57 +02:00
Vito
1ebe5078fa Merge tapanito/sav-fixed-precision-loanbroker into tapanito/sav-fixed-precision-loanset
Brings in develop. Switch this PR's code to the SLE::ConstRef / SLE::Ref aliases and gtest naming introduced on develop.
2026-10-01 16:59:54 +02:00
Vito
f0eacbad31 Merge tapanito/sav-fixed-precision-vault-transactors into tapanito/sav-fixed-precision-loanbroker
Brings in develop. Switch this PR's code to the SLE::ConstRef / SLE::Ref aliases and gtest naming introduced on develop.
2026-10-01 16:59:52 +02:00
Vito
7450b3d299 Merge tapanito/sav-fixed-precision-vault-rounding into tapanito/sav-fixed-precision-vault-transactors
Brings in develop. Switch this PR's code to the SLE::ConstRef / SLE::Ref aliases and gtest naming introduced on develop.
2026-10-01 16:59:15 +02:00
Vito
4a5257443c Merge develop into tapanito/sav-fixed-precision-vault-rounding
Resolve the VaultHelpers.cpp conflict and switch the FixedPrecision code to the SLE::ConstRef / SLE::Ref aliases and gtest naming introduced on develop.
2026-10-01 16:58:37 +02:00
Vito
bba00533c9 Merge tapanito/sav-fixed-precision-loanpay into tapanito/sav-fixed-precision-loanmanage (stack history only, tree unchanged) 2026-10-01 16:56:11 +02:00
Vito
5416782cc9 Merge tapanito/sav-fixed-precision-loanset into tapanito/sav-fixed-precision-loanpay (stack history only, tree unchanged) 2026-10-01 16:56:11 +02:00
Vito
6d54abf904 Merge tapanito/sav-fixed-precision-loanbroker into tapanito/sav-fixed-precision-loanset (stack history only, tree unchanged) 2026-10-01 16:56:11 +02:00
Vito
c32202999a Merge tapanito/sav-fixed-precision-vault-transactors into tapanito/sav-fixed-precision-loanbroker (stack history only, tree unchanged) 2026-10-01 16:56:10 +02:00
Vito
7a38dd8869 Merge tapanito/sav-fixed-precision-vault-rounding into tapanito/sav-fixed-precision-vault-transactors (stack history only, tree unchanged) 2026-10-01 16:56:10 +02:00
Vito
9161ddbc6d refactor: Reuse fix340Enabled in VaultClawback::assetsToClawback 2026-10-01 16:50:52 +02:00
Vito
56d1d59586 refactor: Reuse fix340Enabled in VaultClawback::assetsToClawback 2026-10-01 16:50:52 +02:00
Vito
6a5b12bc2d refactor: Reuse fix340Enabled in VaultClawback::assetsToClawback 2026-10-01 16:50:52 +02:00
Vito
92726e1b10 refactor: Reuse fix340Enabled in VaultClawback::assetsToClawback 2026-10-01 16:50:52 +02:00
Vito
5ec8f37bb7 refactor: Reuse fix340Enabled in VaultClawback::assetsToClawback 2026-10-01 16:50:50 +02:00
Vito
1da9ca310a docs: Clarify the FixedPrecision live exponent in getVaultScale 2026-10-01 16:49:59 +02:00
Vito
3be766c2b6 docs: Clarify the FixedPrecision live exponent in getVaultScale 2026-10-01 16:49:59 +02:00
Vito
a60b5596fe docs: Clarify the FixedPrecision live exponent in getVaultScale 2026-10-01 16:49:58 +02:00
Vito
a58a692383 docs: Clarify the FixedPrecision live exponent in getVaultScale 2026-10-01 16:49:58 +02:00
Vito
533dfdddbd docs: Clarify the FixedPrecision live exponent in getVaultScale 2026-10-01 16:49:58 +02:00
Vito
a5bf7c08fd docs: Clarify the FixedPrecision live exponent in getVaultScale 2026-10-01 16:49:56 +02:00
Vito
57562b4768 feat: Book FixedPrecision LoanManage default and impairment
Default, impair and unimpair on a FixedPrecision Vault go through
adjustVaultBalances. Removes the temporary LoanManage guard and the
temporary featureLendingProtocolV1_2 exclusion from testableAmendments().
2026-10-01 16:43:32 +02:00
Vito
3d1d9d707a feat: Book FixedPrecision LoanPay through AssetsDeployed
LoanPay on a FixedPrecision Vault floors the Vault credit on the posterior
AssetsAvailable grid and reduces AssetsDeployed by the principal paid. A
terminal payment with no representable credit closes the Loan. Removes
the temporary LoanPay guard.
2026-10-01 16:43:22 +02:00
Vito
25cb86143a feat: Use FixedPrecision accounting in Vault transactors
VaultCreate creates FixedPrecision Vaults under featureLendingProtocolV1_2.
Vault deposit, withdraw, clawback, set and delete use adjustVaultBalances
and the AssetsAvailable grid, and ValidVault checks the FixedPrecision
balance identities.

Until the lending PRs land, LoanSet, LoanPay and LoanManage return
tecNO_PERMISSION for FixedPrecision Vaults, and jtx::testableAmendments()
excludes featureLendingProtocolV1_2.
2026-10-01 16:43:13 +02:00
Vito
b32aca2e59 feat: Book FixedPrecision LoanSet through AssetsDeployed
LoanSet on a FixedPrecision Vault moves principal from AssetsAvailable to
AssetsDeployed and books scheduled interest in YieldUnrealized. Origination
is refused on a coarsened Vault or outside the Open zone. Removes the
temporary LoanSet guard.
2026-10-01 16:41:54 +02:00
Vito
01ab57caee feat: Round LoanBroker cover on the FixedPrecision grid
LoanBroker cover deposit, withdraw and clawback round on the posterior
CoverAvailable grid for brokers on FixedPrecision Vaults, and LoanBrokerSet
rejects a DebtMaximum that is not on the Vault grid.
2026-10-01 16:41:48 +02:00
Vito
bd31dbcc48 feat: Add FixedPrecision Vault grid and balance helpers
Add VaultVersion::FixedPrecision, the YieldUnrealized and AssetsDeployed
Vault fields, and the VaultHelpers grid and balance helpers used by
FixedPrecision Vaults. VaultCreate does not create FixedPrecision Vaults
yet, so no transaction behaviour changes.
2026-10-01 16:41:23 +02:00
Ayaz Salikhov
a5c76fde2d ci: Add guardrails for release backporting (#8449) 2026-10-01 13:35:58 +00:00
Ayaz Salikhov
eed6527946 style: Update pre-commit hooks (#8456) 2026-10-01 13:35:37 +00:00
Alex Kremer
ddbc5f1a24 fix: Resolve IntrusivePointer leak (#8328)
Co-authored-by: Valentin Balaschenko <13349202+vlntb@users.noreply.github.com>
2026-09-30 15:51:25 +00:00
Alex Kremer
97a1824537 chore: CamelCase for typedef/using in clang-tidy (#8177) 2026-09-30 15:17:18 +00:00
Ayaz Salikhov
b44c87613c release: Merge release/3.4.x into develop
Content was already merged via #8239 (rebased); this records the merge so future release/3.4.x merges don't replay it.
2026-09-30 14:08:23 +01:00
Bart
b3bbf50d40 refactor: Make the config name constants constexpr string views (#8332)
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com>
2026-09-30 10:50:18 +00:00
Bart
53246e5b15 fix: Count cluster traffic only from cluster members (#8319)
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com>
2026-09-30 10:32:25 +00:00
Bart
7e82b0660f fix: Queue a transaction hash only for peers that asked for it (#8309) 2026-09-30 10:31:21 +00:00
rachelflynn
8ef1bdd346 docs: Add notes about common acronyms (#8298) 2026-09-29 19:04:55 +00:00
Ayaz Salikhov
3a2d19f980 build: Support custom release channel (#8326) 2026-09-29 18:16:15 +00:00
Gregory Tsipenyuk
04eca6d6c3 fix: Round up MPT owner cost in book_offers running balance (#8213) 2026-09-29 13:59:37 +00:00
Bart
768aef30dc fix: Count cluster messages as cluster traffic (#8308) 2026-09-29 12:30:58 +00:00
Ayaz Salikhov
97cddd6721 build: Publish a Docker image from GitHub (#8322) 2026-09-28 20:14:48 +00:00