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

2118 improving state updates tests related to state history retention period #2129

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

Conversation

alysiahuggins
Copy link
Contributor

@alysiahuggins alysiahuggins commented Oct 8, 2024

Closes #2118

This PR:

  • warps timestamps so that we can more accurately test the results of escapeHatch related functions
  • tests in a more realistic way by updating state history after each new state is added instead of just setting all the states, this way we can properly see the performance of the circular array with its stateHistoryFirstIndex
  • it also brought in changes to the LightClient.sol from other branches that have not been merged yet - these branches are related to the CommonPrefix audit

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.

improving state updates tests related to state history retention period
1 participant