Skip to content

chore(dot/rpc): NewStateRuntimeVersionResponse#2740

Merged
qdm12 merged 1 commit intodevelopmentfrom
qdm12/dot/rpc/runtimeversion-constructor
Aug 16, 2022
Merged

chore(dot/rpc): NewStateRuntimeVersionResponse#2740
qdm12 merged 1 commit intodevelopmentfrom
qdm12/dot/rpc/runtimeversion-constructor

Conversation

@qdm12
Copy link
Copy Markdown
Contributor

@qdm12 qdm12 commented Aug 9, 2022

Changes

  • Add new conversion function NewStateRuntimeVersionResponse
  • Inline modules.ConvertAPIs content in NewStateRuntimeVersionResponse
  • Replace all conversions with NewStateRuntimeVersionResponse
  • Update tests to have explicit expected API items to remove modules.ConvertAPIs

Tests

go test -tags integration github.com/ChainSafe/gossamer

Issues

Created from a comment in #2673

Primary Reviewer

@timwu20

@qdm12 qdm12 force-pushed the qdm12/runtime/version-structs-refactor branch from b187971 to ab9721f Compare August 9, 2022 22:26
@qdm12 qdm12 force-pushed the qdm12/dot/rpc/runtimeversion-constructor branch from 9606a29 to f6872a7 Compare August 9, 2022 22:28
@qdm12 qdm12 marked this pull request as ready for review August 10, 2022 12:10
@qdm12 qdm12 force-pushed the qdm12/runtime/version-structs-refactor branch 4 times, most recently from c4e418d to a2b9f95 Compare August 10, 2022 18:57
@qdm12 qdm12 force-pushed the qdm12/dot/rpc/runtimeversion-constructor branch from f6872a7 to a72684b Compare August 10, 2022 21:30
@qdm12 qdm12 added the PR Easy label Aug 11, 2022
@qdm12 qdm12 force-pushed the qdm12/runtime/version-structs-refactor branch from b5dd0cd to 11e5200 Compare August 12, 2022 15:08
@qdm12 qdm12 force-pushed the qdm12/dot/rpc/runtimeversion-constructor branch from a72684b to fcac1f3 Compare August 12, 2022 15:20
@qdm12 qdm12 force-pushed the qdm12/runtime/version-structs-refactor branch from 11e5200 to 6486321 Compare August 15, 2022 19:22
@qdm12 qdm12 force-pushed the qdm12/dot/rpc/runtimeversion-constructor branch from fcac1f3 to cb8bd82 Compare August 15, 2022 19:23
@qdm12 qdm12 force-pushed the qdm12/runtime/version-structs-refactor branch from 6486321 to 3386e46 Compare August 16, 2022 00:08
@qdm12 qdm12 force-pushed the qdm12/dot/rpc/runtimeversion-constructor branch from cb8bd82 to dbda743 Compare August 16, 2022 00:21
Base automatically changed from qdm12/runtime/version-structs-refactor to development August 16, 2022 12:09
- Inline `modules.ConvertAPIs` in constructor
- Replace conversions with new constructor
- Update tests to have explicit expected API items
@qdm12 qdm12 force-pushed the qdm12/dot/rpc/runtimeversion-constructor branch from dbda743 to 7cd481a Compare August 16, 2022 12:14
Comment thread dot/rpc/subscription/listeners_test.go
Copy link
Copy Markdown
Contributor

@jimjbrettj jimjbrettj left a comment

Choose a reason for hiding this comment

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

Looks good, just one comment

@qdm12 qdm12 merged commit 31383eb into development Aug 16, 2022
@qdm12 qdm12 deleted the qdm12/dot/rpc/runtimeversion-constructor branch August 16, 2022 22:54
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 0.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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