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

chore: updates to test for 0053-PERP-028 #11300

Merged
merged 3 commits into from
Jun 14, 2024

Conversation

cdummett
Copy link
Contributor

@cdummett cdummett commented May 20, 2024

Test previously used an asset with zero decimal places meaning internal and external TWAPs could only be expressed as integers. Result, internal and external TWAPs were rounded to 9 and 10 so misconfigured timings did not cause the test to fail and changes as a result of core ticket #10360 were not visible.

PR updates test allowing internal and external TWAPs to be expressed as 9.875 (9875) and 10.250 (10250) respectively. If ticket #10360 is implemented, will be trivial to update test and check behaviour is correct.

Final TWAP diff alliging with spec:

image

@cdummett cdummett added this to the 🏛️ Colosseo milestone May 20, 2024
@cdummett cdummett requested a review from a team May 20, 2024 15:46
@cdummett cdummett self-assigned this May 20, 2024
@cdummett cdummett requested a review from a team as a code owner May 20, 2024 15:46
@cdummett cdummett force-pushed the chore/correct-053-PERP-028 branch from d18f7bd to f21ef9a Compare May 20, 2024 15:51
@cdummett cdummett force-pushed the chore/correct-053-PERP-028 branch from f21ef9a to 58d398b Compare May 21, 2024 11:29
@cdummett cdummett force-pushed the chore/correct-053-PERP-028 branch from 58d398b to 5a3224a Compare May 21, 2024 13:41
@jeremyletang jeremyletang merged commit ece41a5 into develop Jun 14, 2024
11 of 13 checks passed
@jeremyletang jeremyletang deleted the chore/correct-053-PERP-028 branch June 14, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants