Skip to content

Commit

Permalink
event filter for ibc core class
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Dec 10, 2024
1 parent 2ffb84c commit acbce86
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub struct StarknetEventEncoding {
pub erc20_hashes: HashSet<Felt>,
pub ics20_hashes: HashSet<Felt>,
pub ibc_client_hashes: HashSet<Felt>,
pub ibc_core_hashes: HashSet<Felt>,
}

pub struct StarknetEventEncodingContextComponents;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ fn test_erc20_transfer() -> Result<(), Error> {
erc20_hashes: [erc20_class_hash].into(),
ics20_hashes: Default::default(),
ibc_client_hashes: Default::default(),
ibc_core_hashes: Default::default(),
};

{
Expand Down
3 changes: 2 additions & 1 deletion relayer/crates/starknet-integration-tests/src/tests/ics20.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ fn test_starknet_ics20_contract() -> Result<(), Error> {
let event_encoding = StarknetEventEncoding {
erc20_hashes: [erc20_class_hash].into(),
ics20_hashes: [ics20_class_hash].into(),
ibc_client_hashes: Default::default(),
ibc_client_hashes: [comet_client_class_hash].into(),
ibc_core_hashes: [ibc_core_class_hash].into(),
};

{
Expand Down

0 comments on commit acbce86

Please sign in to comment.