Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rahxephon89 committed Dec 16, 2024
1 parent 900ccb9 commit 94b157a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions aptos-move/framework/aptos-framework/sources/dkg.move
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ module aptos_framework::dkg {
target_validator_set: vector<ValidatorConsensusInfo>,
}

enum TestEnum has drop {
A,
B
}

fun test_a(): TestEnum {
TestEnum::A
}

#[event]
struct DKGStartEvent has drop, store {
session_metadata: DKGSessionMetadata,
Expand Down Expand Up @@ -118,4 +127,10 @@ module aptos_framework::dkg {
public fun session_dealer_epoch(session: &DKGSessionState): u64 {
session.metadata.dealer_epoch
}

#[test]
public entry fun test() {
test_a() == TestEnum::A;
}

}

0 comments on commit 94b157a

Please sign in to comment.