Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChorusOne/solido
/ new_keypair
Method
new_keypair
testlib/src/solido_context.rs:55–57 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
53
DeterministicKeypairGen { rng }
54
}
55
pub fn new_keypair(&mut self) -> Keypair {
56
Keypair::generate(&mut self.rng)
57
}
58
}
59
60
#[test]
Callers
15
test_deterministic_key
Function · 0.80
new_empty
Method · 0.80
create_mint
Method · 0.80
create_spl_token_account
Method · 0.80
create_stake_account
Method · 0.80
create_vote_account
Method · 0.80
create_account
Method · 0.80
add_maintainer
Method · 0.80
add_validator
Method · 0.80
try_deposit
Method · 0.80
try_withdraw
Method · 0.80
new_with_undefined_exchange_rate
Method · 0.80
Calls
no outgoing calls
Tested by
15
test_deterministic_key
Function · 0.64
test_stake_merge_is_symmetric
Function · 0.64
measure_staking_rewards
Function · 0.64
test_stake_accounts
Function · 0.64
test_only_withdrawer_can_change_commission
Function · 0.64
test_successful_add_remove_maintainer
Function · 0.64
test_collect_validator_fee_rejects_foreign_validators
Function · 0.64
test_add_validator_with_invalid_owner
Function · 0.64
test_deposit_fails_with_wrong_reserve
Function · 0.64
test_successful_change_reward_distribution
Function · 0.64
test_change_reward_distribution_wrong_minter
Function · 0.64
test_deposit_fails_with_wrong_reserve
Function · 0.64