Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix compilation errors #4648

Merged
merged 1 commit into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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