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

Feat/outport refactor #5142

Merged
merged 68 commits into from
May 19, 2023
Merged

Feat/outport refactor #5142

merged 68 commits into from
May 19, 2023

Conversation

ssd04
Copy link
Contributor

@ssd04 ssd04 commented Mar 31, 2023

Reasoning behind the pull request

  • Refactored the WebSocket driver. The new drivers now support sending messages marshaled with json marshaller or the gogo proto marshalled.
  • The new WebSocketHost implementation can run in mode server or client.

Proposed changes

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

mariusmihaic and others added 30 commits March 14, 2023 14:12
…nterface

# Conflicts:
#	factory/processing/processComponents.go
#	go.mod
#	go.sum
#	outport/factory/outportFactory_test.go
#	outport/process/alteredaccounts/alteredAccountsProvider.go
#	outport/process/alteredaccounts/alteredAccountsProvider_test.go
Co-authored-by: Sorin Stanculeanu <34831323+sstanculeanu@users.noreply.github.com>
@codecov
Copy link

codecov bot commented May 18, 2023

Codecov Report

Patch coverage: 80.65% and project coverage change: +8.80 🎉

Comparison is base (135441f) 70.87% compared to head (f313116) 79.67%.

❗ Current head f313116 differs from pull request most recent head 5aa0ab3. Consider uploading reports for the commit 5aa0ab3 to get more accurate results

Additional details and impacted files
@@              Coverage Diff              @@
##           rc/v1.6.0    #5142      +/-   ##
=============================================
+ Coverage      70.87%   79.67%   +8.80%     
=============================================
  Files            664      685      +21     
  Lines          86187    88635    +2448     
=============================================
+ Hits           61081    70616    +9535     
+ Misses         20516    12852    -7664     
- Partials        4590     5167     +577     
Impacted Files Coverage Δ
api/middleware/responseLogger.go 66.66% <0.00%> (ø)
...termui/view/termuic/termuiRenders/widgetsRender.go 2.94% <0.00%> (ø)
common/channels.go 100.00% <ø> (ø)
common/configParser.go 21.59% <0.00%> (-1.03%) ⬇️
dataRetriever/storageRequesters/headerRequester.go 93.50% <ø> (ø)
epochStart/bootstrap/fromLocalStorage.go 50.28% <0.00%> (-0.30%) ⬇️
facade/initial/initialNodeFacade.go 98.68% <ø> (+24.35%) ⬆️
facade/nodeFacade.go 97.25% <ø> (+18.42%) ⬆️
factory/api/apiResolverFactory.go 94.45% <ø> (+94.45%) ⬆️
factory/bootstrap/bootstrapComponents.go 91.89% <ø> (+91.89%) ⬆️
... and 83 more

... and 144 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@miiu96 miiu96 marked this pull request as ready for review May 19, 2023 11:48
@@ -13,10 +13,10 @@ require (
github.com/google/gops v0.3.18
github.com/gorilla/websocket v1.5.0
github.com/mitchellh/mapstructure v1.5.0
github.com/multiversx/mx-chain-communication-go v0.0.0-20230512095548-5bc637293104
github.com/multiversx/mx-chain-core-go v1.2.4-0.20230517135533-2e54a17cd912
github.com/multiversx/mx-chain-communication-go v1.0.0
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

github.com/multiversx/mx-chain-communication-go v0.0.0-20230512095548-5bc637293104
github.com/multiversx/mx-chain-core-go v1.2.4-0.20230517135533-2e54a17cd912
github.com/multiversx/mx-chain-communication-go v1.0.0
github.com/multiversx/mx-chain-core-go v1.2.4
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

github.com/multiversx/mx-chain-crypto-go v1.2.6
github.com/multiversx/mx-chain-es-indexer-go v1.4.2-0.20230518130444-97e3775aa0ff
github.com/multiversx/mx-chain-es-indexer-go v1.4.3
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@miiu96 miiu96 merged commit e921b57 into rc/v1.6.0 May 19, 2023
@miiu96 miiu96 deleted the feat/outport-refactor branch May 19, 2023 12:37
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.

6 participants