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

Update revision when revising a FileContractElement that's found in the ephemeral cache #141

Closed
wants to merge 1 commit into from

Conversation

peterjan
Copy link
Member

When mining a block with transactions:

  • contract formation
  • contract revision (broadcast)
  • contract revision (broadcast)
  • contract revision (broadcast)

I noticed my subscriber receives only 3 file contract elements in the ApplyUpdate, more importantly though one of those did not have a revision. I think there's a bug in reviseFileContractElement that doesn't properly update the rev map when encountering an fce we find in ephemeral, which I assume is a sort of cache.

@peterjan peterjan self-assigned this Feb 27, 2024
@peterjan
Copy link
Member Author

expected behaviour after all - closing

@peterjan peterjan closed this Feb 27, 2024
@lukechampine lukechampine deleted the pj/fix-apply-block branch February 27, 2024 22:08
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.

None yet

1 participant