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

[ScorerContract] feat: Batch update user score #21

Open
LeonardoVieira1630 opened this issue Nov 26, 2024 · 0 comments
Open

[ScorerContract] feat: Batch update user score #21

LeonardoVieira1630 opened this issue Nov 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@LeonardoVieira1630
Copy link
Member

LeonardoVieira1630 commented Nov 26, 2024

Implementar função para atualização em lote de scores de usuários no contrato Scorer:

  • Adicionar função batchUpdateScore:

    • Validar permissões (onlyManager)
    • Implementar atualização de múltiplos scores em uma única transação
    • Emitir eventos ScoreUpdated para cada atualização
  • Testes:

    • Testes unitários para atualizações em lote
    • Testes de limites e casos de borda
    • Testes de emissão de eventos em lote
    • Testes de consumo de gas

Referência:
Image

@LeonardoVieira1630 LeonardoVieira1630 self-assigned this Nov 26, 2024
@LeonardoVieira1630 LeonardoVieira1630 added the enhancement New feature or request label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant