Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cgorenflo committed Dec 4, 2024
1 parent c60efb9 commit acdf17c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/axelar-soroban-std/src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ mod test {
struct Contract;

#[test]
fn test_format_last_emitted_event() {
fn format_last_emitted_event() {
let env = Env::default();
let expected = TestEvent {
topic1: Symbol::new(&env, "topic1"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Some(UpgradedEvent { version: String(0.1.0) })
contract: Contract(CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM)
topics: (Symbol(upgraded))
data: (String(0.1.0))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
contract: Contract(CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM)
topics: (Symbol(topic1), String(topic2), 10)
data: (String(data1), BytesN<32>(3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3))

0 comments on commit acdf17c

Please sign in to comment.