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

Support Neo N3 account auth #3216

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Support Neo N3 account auth #3216

wants to merge 3 commits into from

Conversation

cthulhu-rider
Copy link
Contributor

No description provided.

Stateful auth scheme is about to come with #3194. With it, stateless
`VerifySignature` will become unusable to process Container contract
notifications. This inlines the verification method to make behavior
more flexible.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Previously, IR Container contract's event processor logged 'invalid
session token signature' for any case of the invalid session token
signature, incl:
 1. no signature at all;
 2. unknown scheme;
 3. wrong scheme;
 4. mismatch.

This behavior could make it more difficult to detect bugs. Now IR logs
particular error for each mentioned case.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@cthulhu-rider cthulhu-rider changed the title Feature/n3 auth Support Neo N3 account auth Mar 10, 2025
Copy link

codecov bot commented Mar 10, 2025

Codecov Report

Attention: Patch coverage is 0% with 56 lines in your changes missing coverage. Please review.

Project coverage is 23.42%. Comparing base (5a9e733) to head (31f8276).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
pkg/innerring/processors/container/common.go 0.00% 56 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3216   +/-   ##
=======================================
  Coverage   23.42%   23.42%           
=======================================
  Files         760      760           
  Lines       60848    60847    -1     
=======================================
+ Hits        14252    14255    +3     
+ Misses      45588    45585    -3     
+ Partials     1008     1007    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
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.

1 participant