<oembed><type>rich</type><version>1.0</version><title>MoneroResearchLab wrote</title><author_name>MoneroResearchLab (npub1m0…gcfay)</author_name><author_url>https://yabu.me/npub1m0ner0mtjgs74aghus7qxrxl7mqv06d4v8rz9pmnux2dpr4cmhmsjgcfay</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>FCMP++ inflation safeguards are in the open integration PRs. AI review already flagged issues. Tree building stays off on master until the FCMP++ library is treated as final. It will be gated by a compiler flag (selsta’s preference) instead of a long-lived side branch. A Carrot output spent with the old signature type can get a second key image, which is an inflation risk. An earlier block on that path was not enough: a height check can overflow. The new fix is https://github.com/seraphis-migration/monero/pull/499. Dropping the 24-hour grace period at the fork would make leftover transactions fail on purpose. jberman would rather keep it and harden the interim code. Dropped payments must be recreated. Building FCMP transactions early looked riskier.On the #11425 AI review (https://github.com/xmrack/monero-review/issues/1011), the “critical” finding was a copy-pasted database snippet that tests should catch once the code is on. The unlock-time tree-growth note is moot: timelocks are already set for removal.&#xA;&#xA;thomasbuilds: I can’t be there for the meeting, sharing this for potential discussion:&#xA;thomasbuilds: xmrack&#39;s AI review for 11425 flags a “critical” issue. The description seems consistent with my own second review point of the PR.&#xA;thomasbuilds: What&#39;s new though, that I haven&#39;t raised is F2 (medium), &#34;shared custom unlock_time makes one unbounded tree growth&#34;&#xA;rucknium: Isn&#39;t that topic better for #no-wallet-left-behind meetings?&#xA;rucknium: AFAIK here&#39;s the link for that AI review: https://github.com/xmrack/monero-review/issues/1011&#xA;thomasbuilds: as you wish&#xA;jpk68: I saw that too, and it would be good to make sure people are aware of this, but that&#39;s just me&#xA;thomasbuilds: vuln is commented out right now. but plan is to uncomment it.&#xA;thomasbuilds: https://github.com/monero-project/monero/pull/11425#discussion_r4172805190&#xA;rucknium: Looks like the meeting is going to be short, so there is room for other topics. I would defer to jberman on whether it make sense to discuss it at this meeting.&#xA;jberman: Good with me to discuss, I planned to discuss this issue https://github.com/seraphis-migration/monero/pull/499 today as well&#xA;rucknium: 3. FCMP++ to-do list status. Programming tasks. Reviews and audits. FCMP++ Integration Audit Overview. Network upgrade schedule Gantt chart.&#xA;jberman: On upstream FCMP++ integration PR&#39;s: the outstanding PR&#39;s include all code that is meant to prevent inflation at consensus. I&#39;m working through AI reviews now, which have found some notable items&#xA;sgp_: jberman: some of the tree building code from phase 3 is commented out like we talked about, is there a reason why they shouldn&#39;t be uncommented prior to getting the quotes? Or is something blocking them or whatever&#xA;jberman: Uncommenting would have the tree built on any monerod running from the master branch. The upstream FCMP++ lib code has been modified a few times over the last months in ways that render the prior tree execution incompatible with those changes&#xA;jberman: So I was thinking it may make sense to wait until we want to declare the upstream FCMP++ lib code definitively finalized such that no future changes to the tree are expected&#xA;jberman: I could also have it be off by default with a compiler flag, and then we can remove that compiler flag later to enable&#xA;jberman: (and someone can compile with it turned on)&#xA;sgp_: would an fcmp++ branch help or would it make things even more annoying?&#xA;jberman: it would be nice to have this all on master branch sooner rather than later so it&#39;s kept at pace with the (fairly rapid) changes on master&#xA;jberman: and not expect every new PR to also be applied to an fcmp++ branch&#xA;jberman: maybe selsta will have an opinion on that too&#xA;selsta: compiler flag seems best for me&#xA;sgp_: so it&#39;s just commented only because of build related things, not because it&#39;s unfinished, that is the main thing I wanted to check on&#xA;jberman: right&#xA;sgp_: gotcha, then it&#39;s probably fine from the rfq perspective&#xA;jberman: I&#39;ll do the compiler flag as well&#xA;jberman: Re: https://github.com/seraphis-migration/monero/pull/499 . The context: Carrot outputs and legacy outputs use a distinct key image generator. If a Carrot output was to be used in a CLSAG, the code would use the legacy (biased) key image generator producing a distinct key image for that Carrot output. Thus if we allowed CLSAG with Carrot outputs, and FCMP++ with Carrot outputs, then someone could double spend a Carrot output&#xA;rucknium: What if this time there was no &#34;double fork&#34; 24-hour grace period? It would inconvenience users at the fork height, but maybe it would be worth it to make the process safer.&#xA;rucknium: IIRC, last hard fork, &#34;leftover&#34; txs were dropped anyway because of an insufficient fee bug.&#xA;rucknium: &#34;This time, it&#39;s deliberate&#34;&#xA;jberman: The solution in https://github.com/seraphis-migration/monero/pull/446 is to prevent CLSAG rings that contain Carrot outputs. However, it relied on the code that gets the &#34;max height&#34; of a ring member to be correct, and unfortunately it isn&#39;t since the ring member&#39;s id calculation can overflow and wrap around, which causes the &#34;max height&#34; to be set to the wrong value. The solution in 499 addresses this by preventing ring members from overflowing at the fork, and also double checking that ring member heights are increasing or the same&#xA;jberman: rucknium: I&#39;m not strongly opposed to this. It&#39;s a nice-to-have that we still need to validate is even working correctly (and txs aren&#39;t getting dropped)&#xA;jberman: We&#39;d essentially be saying some expected valid txs might get dropped around the time of the fork, which isn&#39;t ideal&#xA;jberman: We can do everything we can to make sure this interim fork code is airtight to make sure there isn&#39;t inflation. It does widen the surface for things to go wrong though&#xA;rucknium: What would be the risks if wallet software started constructing FCMP-compatible txs 10 blocks before the fork height?&#xA;jberman: Immediate answer is I think that would a riskier change. If we were to allow such txs into the pool early, we&#39;d have to modify a lot of consensus critical code for verification too that has to make sure not to allow those txs into the chain until later&#xA;ap4sh: (hi) if some pending txs get dropped at the fork, will wallets recover and resend them, or will users need to recreate those payments?&#xA;jberman: they would need to recreate those payments&#xA;rucknium: AFAIK, wallet software, at least the GUI and CLI, notify users if their txs fail to be confirmed after some time. Is that true?&#xA;rucknium: This will probably be 100 txs that are ejected from the txpool if no one spams during the fork.&#xA;jberman: They notify an error if the tx doesn&#39;t reach the node&#39;s pool (or is kicked from the pool)&#xA;rucknium: Last time, someone spammed right before the fork. (Someone claimed responsibility for this at a MoneroKon or Monerotopia conference years later IIRC.)&#xA;rucknium: Does someone want to discuss this ^ topic? &gt; thomasbuilds: I can’t be there for the meeting, sharing this for potential discussion:&#xA;rucknium: &gt; xmrack&#39;s AI review for 11425 flags a “critical” issue. The description seems consistent with my own second review point of the PR.&#xA;rucknium: &gt; What&#39;s new though, that I haven&#39;t raised is F2 (medium), &#34;shared custom unlock_time makes one unbounded tree growth&#34;&#xA;rucknium: The AI review is here: https://github.com/xmrack/monero-review/issues/1011&#xA;jberman: Personally I&#39;d prefer not to remove the grace period fork and get this code correct. But if the idea to remove it and allow some txs to get dropped at the fork gets more support, I&#39;m not opposed&#xA;jberman: Yea, I&#39;ll discuss that as well&#xA;jberman: That &#34;critical&#34; issue would&#39;ve been caught immediately once the code is enabled by (multiple I&#39;m pretty sure) tests. It&#39;s a result of a snippet of DB code that I copy pasted into a different spot from our development branch because I felt it would make the code cleaner. That was a poor mistake on my part&#xA;jberman: I made some other changes on that branch from our development branch in aims of making the code cleaner and stronger based on some comments I&#39;ve gotten in different places over the months&#xA;jberman: With the compiler flag for this FCMP++ integration code, we could turn it on for tests as well. I&#39;m also going to introduce significantly more testing that we have in our development branch already, into the upstream master branch in later PR&#39;s (because it uses prover code, and I wanted to isolate consensus changes for review to focus in on the major potential consensus issues)&#xA;jberman: If we had all this stuff in 1 PR FWIW, I&#39;d be working through 1000 LLM comments at this point&#xA;jberman: On &#34;shared custom unlock_time makes one unbounded tree growth&#34;: this is yet another reason to drop the timelock feature. We&#39;re settled on the retroactive deprecation date so that won&#39;t be an issue&#xA;jberman: I guess I can introduce that consensus rule into this PR as well&#xA;rucknium: jberman: That&#39;s what I thought as well. It&#39;s a moot point.&#xA;&#xA;https://libera.monerologs.net/monero-research-lab/20261007#c713258&#xA;nostr:nevent1qvzqqqqqqypzpkl8jxlkhy3pat630epuqvxdlakqcl5m2cwxy2rh8cv56z8t3h0hqy88wumn8ghj7mn0wvhxcmmv9uq32amnwvaz7tmwdaehgu3wdau8gu3wv3jhvtcqyzrcjfmpnkx7ve8dgfc7vt3hevjsl2w846hunrqaqzt5tfl3lyqxs777zwe </html></oembed>