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

Audit review #32

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Audit review #32

wants to merge 4 commits into from

Conversation

FedokDL
Copy link
Collaborator

@FedokDL FedokDL commented Nov 11, 2024

H-1. Fixed.
H-2. For the present moment this approach has been accepted. That is, when opening a session, the user can choose where the payment to the provider will come from, either from his stake (direct MOR payment) or from the compute pool. Correct me if something is wrong. Without changes.
M-1. Fixed.
L-1. Fixed.
L-2. That's a good idea. But then the provider would need to call this function every time. I don't know how much it will fit into the overall implementation. Both user and provider will get penalties in case of early closure with a dispute. In turn, if the closing is later, in case of a dispute, we do not record statistics, there are no penalties within the contract. Without changes.
I-1. Yes, we're aware of that. There are plans to pass this data using the backend, but it will not protect much against attackers. Perhaps a validation layer will be added in the future. Without changes.
I-2. Yes, it was in the code, I think this functionality will be extended later, that's why they left it in. Without changes.
I-3. Fixed.

@FedokDL FedokDL self-assigned this Nov 11, 2024
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.

2 participants