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

No min timelock at initialisation #7

Merged
merged 25 commits into from
Aug 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6d4767f
feat: min timelock zero
MathisGD Aug 9, 2024
17d610b
fix: remove useless constant
MathisGD Aug 9, 2024
cdc85d0
docs: adapt docs
MathisGD Aug 9, 2024
0d8cdce
test: adapt verif
MathisGD Aug 9, 2024
ab36b5d
test: adapt tests
MathisGD Aug 9, 2024
b387028
refactor: minor refactor
MathisGD Aug 11, 2024
4f903ae
docs: minor change
MathisGD Aug 11, 2024
b06cbdc
test: fix noBadPendingCap verif
MathisGD Aug 12, 2024
5e71fa8
test: fix canForceRemoveMarket verif
MathisGD Aug 12, 2024
a740591
test: fix PendingValues verif
MathisGD Aug 12, 2024
54bac05
test: remove now useless assumptions
MathisGD Aug 12, 2024
ca1d81f
test: readd useful assumption in Liveness
MathisGD Aug 12, 2024
7632c38
test: readd useful assumptions
MathisGD Aug 12, 2024
aa338bb
Merge branch 'feat/no-share-price-decrease-2' into feat/other-features
MathisGD Aug 12, 2024
508ca77
test: readd assumption in smallerPendingTimelock
MathisGD Aug 12, 2024
bf250ca
test: last fixes PendingValues
MathisGD Aug 12, 2024
2b20e82
test: fix noBadPendingTimelock
MathisGD Aug 12, 2024
253a77f
test: minor improvement
MathisGD Aug 13, 2024
6e695b0
Merge remote-tracking branch 'private/feat/no-share-price-decrease-2'…
MathisGD Aug 13, 2024
e18ebc3
Merge branch 'feat/no-share-price-decrease-2' into feat/other-features
MathisGD Aug 15, 2024
697c5aa
feat: initial timelock can be 0
adhusson Aug 16, 2024
ca9e6d5
test: adapt verif to new timelock zero spec
MathisGD Aug 17, 2024
1be9c85
Merge pull request #24 from morpho-org/test/adapt-verif
MathisGD Aug 17, 2024
f07d3a4
Merge pull request #19 from morpho-org/feat/initial-timelock-can-be-zero
MathisGD Aug 17, 2024
d42180e
test: minor changes verif
MathisGD Aug 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion certora/specs/PendingValues.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "Range.spec";
function hasNoBadPendingTimelock() returns bool {
MetaMorphoHarness.PendingUint192 pendingTimelock = pendingTimelock_();

return pendingTimelock.validAt == 0 <=> pendingTimelock.value == 0;
return pendingTimelock.validAt == 0 => pendingTimelock.value == 0;
MathisGD marked this conversation as resolved.
Show resolved Hide resolved
}

// Check that having no pending timelock value is equivalent to having its valid timestamp at 0.
Expand Down
Loading