Skip to content

Commit

Permalink
fix: fix compilation errors (#4648)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoyvens authored May 26, 2023
1 parent cb0471e commit 15941da
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions chain/arweave/src/trigger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,16 @@ impl TriggerData for ArweaveTrigger {
fn error_context(&self) -> String {
self.error_context()
}

fn address_match(&self) -> Option<&[u8]> {
None
}
}

impl MappingTriggerTrait for ArweaveTrigger {
fn error_context(&self) -> String {
self.error_context()
}

fn address_match(&self) -> Option<&[u8]> {
None
}
}

pub struct TransactionWithBlockPtr {
Expand Down
8 changes: 4 additions & 4 deletions chain/cosmos/src/trigger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,6 @@ impl CosmosTrigger {
}
}
}

fn address_match(&self) -> Option<&[u8]> {
None
}
}

impl Ord for CosmosTrigger {
Expand Down Expand Up @@ -267,6 +263,10 @@ impl TriggerData for CosmosTrigger {
fn error_context(&self) -> String {
self.error_context()
}

fn address_match(&self) -> Option<&[u8]> {
None
}
}

impl MappingTriggerTrait for CosmosTrigger {
Expand Down
8 changes: 4 additions & 4 deletions chain/near/src/trigger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,16 @@ impl TriggerData for NearTrigger {
fn error_context(&self) -> String {
self.error_context()
}

fn address_match(&self) -> Option<&[u8]> {
None
}
}

impl MappingTriggerTrait for NearTrigger {
fn error_context(&self) -> String {
self.error_context()
}

fn address_match(&self) -> Option<&[u8]> {
None
}
}

pub struct ReceiptWithOutcome {
Expand Down

0 comments on commit 15941da

Please sign in to comment.