Skip to content

Update develop with latest main#69

Merged
swethasukumarr merged 4 commits into
developfrom
main
Jun 3, 2026
Merged

Update develop with latest main#69
swethasukumarr merged 4 commits into
developfrom
main

Conversation

@swethasukumarr
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 3, 2026 15:46
@swethasukumarr swethasukumarr self-assigned this Jun 3, 2026
@swethasukumarr swethasukumarr changed the title Update develop to main Update develop with latest main Jun 3, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR syncs changes from develop into main by aligning a few test utilities/mocks and a small runtime behavior tweak in the Metrics implementation (specifically how “no params” are represented in JSON-RPC calls).

Changes:

  • Update event verification helpers to take a non-const bool& and standardize the timeout usage with EventWaitTime.
  • Enhance unit-test mockInvoke() to route invocations through JsonEngine::MockResponse() (instead of always returning success).
  • Change Metrics.ready/signIn/signOut to invoke with nlohmann::json() (null) rather than an explicit empty object initializer.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
test/utils.h Adjusts event verification helper signatures to use bool&.
test/utils.cpp Uses EventWaitTime consistently and matches updated helper signatures.
test/unit/mock_helper.h Makes mockInvoke() validate against OpenRPC-derived JsonEngine::MockResponse().
src/metrics_impl.cpp Represents “no params” calls using nlohmann::json() for Metrics invoke methods.

@swethasukumarr swethasukumarr merged commit 56a357a into develop Jun 3, 2026
20 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants