Skip to content

Commit

Permalink
Add docs for system_instruction and some of its functions (#28052)
Browse files Browse the repository at this point in the history
* Add docs for system_instruction and some of its functions

* Apply suggestions from code review

Co-authored-by: Tyera Eulberg <[email protected]>

* Apply review feedback

* Use PDAs in system_instruction examples

* Fix 'bump seed' terminology in system_instruction docs

Co-authored-by: Tyera Eulberg <[email protected]>
  • Loading branch information
brson and CriesofCarrots authored Nov 1, 2022
1 parent 7885fdc commit 6972afe
Show file tree
Hide file tree
Showing 3 changed files with 903 additions and 10 deletions.
2 changes: 1 addition & 1 deletion sdk/program/src/example_mocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ pub mod solana_sdk {
pub mod signature {
use crate::pubkey::Pubkey;

#[derive(Default)]
#[derive(Default, Debug)]
pub struct Signature;

pub struct Keypair;
Expand Down
Loading

0 comments on commit 6972afe

Please sign in to comment.