- 
                Notifications
    
You must be signed in to change notification settings  - Fork 41
 
Update OCaml references in transaction_partially_applied.rs #1584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dw/coinbase-tx-doc
Are you sure you want to change the base?
Update OCaml references in transaction_partially_applied.rs #1584
Conversation
Updates OCaml references from URL format to the new structured format with commit hash and verification date for: - FailureCollection impl - apply_coinbase function (with expanded documentation) - sub_account_creation_fee function Changes ported from mina-rust PR #1553.
7235c53    to
    bc5b5d8      
    Compare
  
    
          
OCaml Reference Validation ResultsRepository: https://github.com/MinaProtocol/mina.git Click to see full validation output | 
    
44b5998    to
    bc5b5d8      
    Compare
  
    
          
 | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the permalinks
| } | ||
| 
               | 
          ||
| /// <https://github.com/MinaProtocol/mina/blob/bfd1009abdbee78979ff0343cc73a3480e862f58/src/lib/transaction_logic/mina_transaction_logic.ml#L2197C1-L2210C53> | ||
| /// OCaml reference: src/lib/transaction_logic/mina_transaction_logic.ml L:2197-2210 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This used to be a permalink; I think it should remain a permalink.
| /// Commit: bfd1009abdbee78979ff0343cc73a3480e862f58 | ||
| /// Last verified: 2025-10-16 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why go through the trouble of adding this information. Do you plan on updating this comment every time you check the link? It's better to just have a timestamp on the commit and to use git-blame. One of the major benefits of the permalinks is that it's usually relatively easy to observe any changes from the last time this was the most relevant commit.
| /// `[[];[failure-of-coinbase]]` | ||
| /// Fee transfer fails and coinbase succeeds: | ||
| /// `[[failure-of-fee-transfer];[]]` | ||
| /// Applies a coinbase transaction to the ledger. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I'll admit pedantry here, but this is a grammatically incorrect sentence; there's no subject. If you want to write an incomplete sentence, all you have to do is remove the period.
| /// Applies a coinbase transaction to the ledger. | |
| /// Applies a coinbase transaction to the ledger | 
Haha... I won't be mad if you just dismiss this review comment.
Summary
Updates OCaml references from URL format to the new structured format with
commit hash and verification date. Ported from mina-rust PR #1553.
Changes
documentation with comprehensive parameter descriptions, return values,
error conditions, tests, and protocol documentation link