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

subscriptions: add container hash to notification event #2192

Merged
merged 2 commits into from
Sep 25, 2021

Conversation

AnnaShaleva
Copy link
Member

External users make use of it. Close #2190.

@codecov
Copy link

codecov bot commented Sep 24, 2021

Codecov Report

Merging #2192 (5c97e0d) into master (63c939b) will increase coverage by 0.04%.
The diff coverage is 73.80%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2192      +/-   ##
==========================================
+ Coverage   83.72%   83.77%   +0.04%     
==========================================
  Files         296      297       +1     
  Lines       28319    28347      +28     
==========================================
+ Hits        23711    23747      +36     
+ Misses       3259     3242      -17     
- Partials     1349     1358       +9     
Impacted Files Coverage Δ
pkg/rpc/response/events.go 86.36% <ø> (ø)
pkg/rpc/client/wsclient.go 79.37% <50.00%> (ø)
...esponse/result/subscriptions/notification_event.go 54.54% <54.54%> (ø)
pkg/core/blockchain.go 78.81% <100.00%> (+0.09%) ⬆️
pkg/rpc/server/server.go 77.76% <100.00%> (ø)
pkg/rpc/server/subscription.go 97.77% <100.00%> (ø)
pkg/consensus/consensus.go 72.60% <0.00%> (-0.55%) ⬇️
pkg/network/server.go 72.97% <0.00%> (+0.11%) ⬆️
pkg/services/oracle/request.go 63.04% <0.00%> (+3.80%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 63c939b...5c97e0d. Read the comment docs.

Comment on lines 19 to 20
// appExecResultAux is an auxiliary struct for JSON marshalling.
type notificationEventAux struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

Comment is not updated.

Comment on lines 11 to 12
// NotaryRequestEvent represents P2PNotaryRequest event either added or removed
// from notary payload pool.
Copy link
Contributor

Choose a reason for hiding this comment

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

Comment should also be moved.

It is used for subscriptions only, so move it to the subscriptions pkg.
@roman-khimov roman-khimov merged commit e34c47a into master Sep 25, 2021
@roman-khimov roman-khimov deleted the rpc/container_hash branch September 25, 2021 19:33
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.

Transaction hash in notification event
3 participants