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

test(Staking.t.sol): testing Staking contract #55

Closed

Conversation

Akshola00
Copy link

PR Description: Testing Staking Contract

Summary

This PR introduces a series of tests to validate the Staking contract's behavior, specifically focusing on key events and functions, such as stake, withdraw

Tests Covered

Event Emissions:

  • TokenStaked event
  • TokenWithdraw event

Functionality Tests:

  • Stake function
  • Attempt to transfer from the zero address
  • Attempt to transfer zero amount
  • Withdraw Function

Checklist

  • Test.

@Akshola00 Akshola00 closed this Nov 24, 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