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

network: forbid Notary contract to be a sender of main transaction #3065

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

AnnaShaleva
Copy link
Member

This prevents the possible attack on notary request sender when malicious partie is allowed to send notary request with main transaction being someone else's fallback.

This prevents the possible attack on notary request sender when
malicious partie is allowed to send notary request with main transaction
being someone else's fallback.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
@AnnaShaleva AnnaShaleva added the bug Something isn't working label Jul 20, 2023
@AnnaShaleva AnnaShaleva added this to the v0.102.0 milestone Jul 20, 2023
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #3065 (966111f) into master (e7a83cb) will decrease coverage by 0.09%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3065      +/-   ##
==========================================
- Coverage   84.71%   84.62%   -0.09%     
==========================================
  Files         329      329              
  Lines       43789    43792       +3     
==========================================
- Hits        37094    37060      -34     
- Misses       5190     5226      +36     
- Partials     1505     1506       +1     
Impacted Files Coverage Δ
pkg/network/server.go 75.65% <100.00%> (+0.06%) ⬆️

... and 9 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@roman-khimov roman-khimov merged commit 35ebdc1 into master Jul 20, 2023
13 of 18 checks passed
@roman-khimov roman-khimov deleted the forbid-notary-sender branch July 20, 2023 08:09
@AnnaShaleva AnnaShaleva modified the milestones: v0.102.0, v0.101.4 Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants