Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Exclude check of rent epoch (429-syscall-account-cache)
  • Loading branch information
vakond committed Dec 23, 2021
commit 727d513a2d005639208c9918be7e2d7dfacadd7b
7 changes: 3 additions & 4 deletions proxy/testing/test_query_account_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@
uint256 golden_len = 82;
uint256 golden_lamp = 1461600;
bool golden_exec = false;
uint256 golden_repoch = 0;

uint256 ownr;
(ok, ownr) = super.owner(solana_account);
Expand All @@ -193,9 +192,9 @@
return false;
}

uint256 repoch;
(ok, repoch) = super.rent_epoch(solana_account);
if (!ok || repoch != golden_repoch) {
uint256 _repoch; // epoch may change, so there is no golden value
(ok, _repoch) = super.rent_epoch(solana_account);
if (!ok) {
return false;
}

Expand Down