| 15 | |
| 16 | #[derive(Accounts)] |
| 17 | pub struct Initialize<'info>{ |
| 18 | #[account(mut)] |
| 19 | pub payer: Signer<'info>, |
| 20 | pub system_program: Program<'info, System>, |
| 21 | |
| 22 | #[account( |
| 23 | init, |
| 24 | payer=payer, |
| 25 | seeds=[b"registry_signer"], |
| 26 | bump, |
| 27 | space=8+RegistryConfig::get_max_size() as usize |
| 28 | )] |
| 29 | pub registry_config: Account<'info, RegistryConfig>, |
| 30 | } |
| 31 | |
| 32 | #[derive(Accounts)] |
| 33 | pub struct InstanceRegistry<'info>{ |
nothing calls this directly
no outgoing calls
no test coverage detected