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

Test commit plugin Reports #292

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Test commit plugin Reports #292

wants to merge 3 commits into from

Conversation

dimkouv
Copy link
Contributor

@dimkouv dimkouv commented Nov 1, 2024

No description provided.

@@ -40,10 +40,13 @@ func (p *Plugin) Reports(
return nil, fmt.Errorf("failed to decode Outcome (%s): %w", hex.EncodeToString(outcomeBytes), err)
}

// Until we start adding tokens and gas to the report, we don't need to report anything
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This comment seemed wrong to me.

@@ -60,6 +63,11 @@ func (p *Plugin) Reports(
RMNSignatures: outcome.MerkleRootOutcome.RMNReportSignatures,
}

if rep.IsEmpty() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

If report is empty skip the steps below.

Copy link

github-actions bot commented Nov 1, 2024

Metric dk/commit-report-tests main
Coverage 72.5% 72.4%

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.

2 participants