diff --git a/aptos-move/framework/aptos-framework/doc/stake.md b/aptos-move/framework/aptos-framework/doc/stake.md index 27b9ef365c3dc..5a199ef91f69d 100644 --- a/aptos-move/framework/aptos-framework/doc/stake.md +++ b/aptos-move/framework/aptos-framework/doc/stake.md @@ -4911,7 +4911,8 @@ Returns validator's next epoch voting power, including pending_active, active, a -
include ResourceRequirement;
+pragma verify_duration_estimate = 120;
+include ResourceRequirement;
let addr = signer::address_of(owner);
ensures global<ValidatorConfig>(addr) == ValidatorConfig {
consensus_pubkey: vector::empty(),
diff --git a/aptos-move/framework/aptos-framework/sources/stake.spec.move b/aptos-move/framework/aptos-framework/sources/stake.spec.move
index 5d023400860bb..44101fbcb134c 100644
--- a/aptos-move/framework/aptos-framework/sources/stake.spec.move
+++ b/aptos-move/framework/aptos-framework/sources/stake.spec.move
@@ -705,6 +705,9 @@ spec aptos_framework::stake {
operator: address,
voter: address,
) {
+ // TODO: These function failed in github CI
+ pragma verify_duration_estimate = 120;
+
include ResourceRequirement;
let addr = signer::address_of(owner);
ensures global(addr) == ValidatorConfig {