Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
malik672 committed Dec 11, 2024
1 parent b789f9e commit 6cf9fca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion examples/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ pub mod event_tests {

/// Test log0
#[zink::external]
#[allow(path_statements)]
pub fn test_log0() {
MyEvent::Topic0;
}
Expand Down Expand Up @@ -77,6 +76,7 @@ mod tests {
{
// Test log0
let info = contract.execute(&[b"test_log0()".to_vec()]).unwrap();
assert!(!info.logs.is_empty());
assert_eq!(
info.logs[0].data.data.to_vec(),
name.to_vec().to_bytes32().to_vec()
Expand Down
1 change: 0 additions & 1 deletion zink/codegen/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use syn::{
Result, Type, Variant,
};


/// Custom error type for better error handling
#[derive(Debug)]
enum EventError {
Expand Down

0 comments on commit 6cf9fca

Please sign in to comment.