Skip to content

Conversation

@Szooot
Copy link
Collaborator

@Szooot Szooot commented Dec 15, 2025

Added:

  • external requestDataCap function based on manual attestation
  • internal _registerSLAAndGrant - will be useful in other requestDataCap's
  • mapping usedManualAttestations
  • tests

@Szooot Szooot self-assigned this Dec 15, 2025
/**
* @notice Error thrown when amount in attestation doesn't match expected amount
*/
error AmountMismatch();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

should we leave all those custom errors here or move it to seperate file ?

* @param registry SLARegistry contract
* @param amount Amount of datacap to grant
*/
function _registerSLAAndGrant(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It will be more useful and modular with this internal function while we add others requestDataCap functions with different logic.

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