Skip to content
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

fix(svm): use cargo feature to set time in tests #657

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

Reinis-FRP
Copy link
Contributor

Simplifies the code by handling current time using cargo features. Only when built with test feature enabled, the implementation stores and gets time via state account. In production build actual current time is fetched.

@Reinis-FRP Reinis-FRP requested review from chrismaree and md0x October 14, 2024 14:52
Signed-off-by: Reinis Martinsons <[email protected]>
@Reinis-FRP Reinis-FRP merged commit d86f727 into master Oct 15, 2024
9 checks passed
@Reinis-FRP Reinis-FRP deleted the reinis-frp/svm-testable-time branch October 15, 2024 08:29
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.

2 participants