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

Implement fossil index update proof system #79

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JorikSchellekens
Copy link
Contributor

No description provided.

@JorikSchellekens
Copy link
Contributor Author

I'm not convinced by my own bit manipulations. That needs a second, third and fourth set of eyes.

# let last_update_timestamp_rs = Uint256(low=0x00000000000000000000000000000100, high=0x00000000000000000000000000000000)

# let (masked_emission_per_second) = uint256_and(asset_data, mask_emission_per_second)
let (masked_index) = uint256_and(asset_data, mask_index)
Copy link
Member

@hsouf hsouf May 13, 2022

Choose a reason for hiding this comment

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

so far the mask_index & masked_index are correct, not sure where does index_rs come from

@hsouf hsouf closed this Oct 7, 2022
@achab achab reopened this Oct 7, 2022
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.

3 participants