Skip to content

Commit

Permalink
lint and gen CR test contract
Browse files Browse the repository at this point in the history
  • Loading branch information
ilija42 committed Feb 20, 2025
1 parent f4f91a4 commit 0be9fb0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions contracts/generated/contract_reader_interface/instructions.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion contracts/programs/contract-reader-interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub mod contract_reader_interface {
}

pub fn createevent(_ctx: Context<Events>, data: TestStructData) -> Result<()> {
emit!(TestEvent { data: data });
emit!(TestEvent { data });

Ok(())
}
Expand Down

0 comments on commit 0be9fb0

Please sign in to comment.