Skip to content

Commit

Permalink
Delete debug from Sol!
Browse files Browse the repository at this point in the history
  • Loading branch information
fabrobles92 committed May 26, 2024
1 parent fe95f29 commit dc482e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/katana/rpc/rpc/tests/messaging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ use tempfile::tempdir;
mod common;

sol!(
#[derive(Debug)]
#[allow(missing_docs)]
#[sol(rpc)]
StarknetContract,
Expand Down Expand Up @@ -169,7 +168,8 @@ async fn test_messaging() {
// Wait for the tx to be mined on L2 (Katana)
tokio::time::sleep(Duration::from_secs(1)).await;

// In an l1_handler transaction, the first element of the calldata is always the Ethereum address of the sender (msg.sender).
// In an l1_handler transaction, the first element of the calldata is always the Ethereum
// address of the sender (msg.sender).
let mut l1_tx_calldata = vec![FieldElement::from_byte_slice_be(sender.as_slice()).unwrap()];
l1_tx_calldata.extend(calldata.iter().map(|x| FieldElement::from(*x)));

Expand Down

0 comments on commit dc482e4

Please sign in to comment.