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(rust/cardano-blockchain-types): add more functionality to Slot #124

Open
wants to merge 4 commits into
base: fix/cardano-bc-types-base-change
Choose a base branch
from

Conversation

bkioshn
Copy link
Contributor

@bkioshn bkioshn commented Dec 26, 2024

Add more functionality to Slot

@bkioshn bkioshn changed the title fix(cardano-blockchain-types): add more functionality to Slot fix(rust/cardano-blockchain-types): add more functionality to Slot Dec 26, 2024
@bkioshn bkioshn self-assigned this Dec 26, 2024
Copy link
Contributor

github-actions bot commented Dec 26, 2024

Test Report | ${\color{lightgreen}Pass: 248/248}$ | ${\color{red}Fail: 0/248}$ |

@@ -33,3 +42,23 @@ impl From<Slot> for u64 {
val.0
}
}

impl MulAssign<u64> for Slot {
fn mul_assign(&mut self, rhs: u64) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we use saturating_mul here?

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