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

Using logs and events in Tx Response #381

Merged
merged 7 commits into from
May 13, 2024
Merged

Using logs and events in Tx Response #381

merged 7 commits into from
May 13, 2024

Conversation

Kayanski
Copy link
Contributor

This PR aims at fixing an update pushed by several changes to not include events on the TxResponse logs field.

When events fetched from logs are empty, the function will also look at events to find corresponding events

Copy link

cloudflare-workers-and-pages bot commented Apr 25, 2024

Deploying cw-orchestrator with  Cloudflare Pages  Cloudflare Pages

Latest commit: 414ef91
Status: ✅  Deploy successful!
Preview URL: https://995535dc.cw-orchestrator.pages.dev
Branch Preview URL: https://daemonv0-21-1.cw-orchestrator.pages.dev

View logs

Copy link

codecov bot commented Apr 25, 2024

Codecov Report

Attention: Patch coverage is 25.00000% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 63.8%. Comparing base (73dba66) to head (414ef91).

Additional details and impacted files
Files Coverage Δ
cw-orch-daemon/src/tx_resp.rs 87.7% <25.0%> (-9.8%) ⬇️

}
}

pub fn get_events_from_logs(&self, event_type: &str) -> Vec<TxResultBlockEvent> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these both need to be pub?

@Kayanski Kayanski merged commit 6839610 into main May 13, 2024
17 of 18 checks passed
@Kayanski Kayanski deleted the daemonv0.21.1 branch May 13, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants