Skip to content

Commit

Permalink
Revert "add some test_functions (#216)"
Browse files Browse the repository at this point in the history
This reverts commit 87859a9.
  • Loading branch information
nkysg committed Mar 3, 2023
1 parent 35273e6 commit 99c2546
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 15 deletions.
Binary file modified build/StarcoinFramework/source_maps/Account.mvsm
Binary file not shown.
Binary file modified build/StarcoinFramework/source_maps/GenesisSignerCapability.mvsm
Binary file not shown.
5 changes: 0 additions & 5 deletions sources/Account.move
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,6 @@ module Account {
signer_cap
}

#[test_only]
public fun get_genesis_capability_for_test(): SignerCapability {
get_genesis_capability()
}

public fun create_signer_with_cap(cap: &SignerCapability): signer {
create_signer(cap.addr)
}
Expand Down
10 changes: 0 additions & 10 deletions sources/GenesisSignerCapability.move
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,4 @@ module StarcoinFramework::GenesisSignerCapability {
let cap = borrow_global<GenesisSignerCapability>(CoreAddresses::GENESIS_ADDRESS());
Account::create_signer_with_cap(&cap.cap)
}

#[test_only]
public fun initialize_for_test(signer: &signer, cap: Account::SignerCapability) {
initialize(signer, cap);
}

#[test_only]
public fun get_genesis_signer_for_test(): signer acquires GenesisSignerCapability {
get_genesis_signer()
}
}

0 comments on commit 99c2546

Please sign in to comment.