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

Minor tests & production code fixes #314

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

iulianpascalau
Copy link
Contributor

  • refactored & simplified the transaction sent status in tests
  • minor fix in the set status step to avoid some false positives
  • fixed prints in tests

- minor fix in the set status step to avoid some false positives
- fixed prints in tests
sstanculeanu
sstanculeanu previously approved these changes Jul 17, 2024
dragos-rebegea
dragos-rebegea previously approved these changes Jul 17, 2024
@@ -22,12 +24,13 @@ func (step *resolveSetStatusStep) Execute(ctx context.Context) core.StepIdentifi
}

batch, err := step.bridge.GetBatchFromMultiversX(ctx)
if err != nil {
step.bridge.PrintInfo(logger.LogError, "error while fetching batch", "error", err)
isEmptyBatch := batch == nil || (err != nil && errors.Is(err, clients.ErrNoPendingBatchAvailable))
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 this is a great improvement on the logging side

Base automatically changed from simulated-setup-refactor to feat/v3 July 17, 2024 11:20
@sstanculeanu sstanculeanu dismissed stale reviews from dragos-rebegea and themself July 17, 2024 11:20

The base branch was changed.

@dragos-rebegea dragos-rebegea marked this pull request as ready for review July 17, 2024 11:21
@dragos-rebegea dragos-rebegea merged commit b2d286b into feat/v3 Jul 17, 2024
4 checks passed
@dragos-rebegea dragos-rebegea deleted the fix-pending-transactions-wait branch July 17, 2024 11:27
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