Skip to content

Conversation

@Stevengre
Copy link

No description provided.

Copy link
Collaborator

@dkcumming dkcumming left a comment

Choose a reason for hiding this comment

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

Makes sense to me, I assume you are still going or it wouldn't be a draft and it is missing cheatcode_is_*. But looks good so far

Comment on lines +234 to +239
// Compare Rent from Sysvar::get vs account; fallback if not a real rent sysvar
let sysrent = solana_rent::Rent::get().unwrap();
let min_a = sysrent.minimum_balance(10);
let prent = solana_rent::Rent::from_account_info(rent).unwrap_or(sysrent);
let min_b = prent.minimum_balance(10);
assert_eq!(min_a, min_b);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I assume this makes sense but I actually don't know for sure tbh. Maybe this would be a good thing to ask Febo actually

Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually I checked and recall that it checks that the public key matches so this is fair

Copy link
Author

Choose a reason for hiding this comment

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

Thank you!

Stevengre and others added 2 commits October 30, 2025 08:03
Co-authored-by: Jost Berthold <jost.berthold@gmail.com>
Co-authored-by: Jost Berthold <jost.berthold@gmail.com>
@Stevengre Stevengre marked this pull request as ready for review October 30, 2025 00:04
Copy link
Member

@jberthold jberthold left a comment

Choose a reason for hiding this comment

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

LGTM

@Stevengre Stevengre merged commit dbcc7ee into proofs Oct 30, 2025
@Stevengre Stevengre deleted the jh/domain-test branch October 30, 2025 01:22
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.

4 participants