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

Unit Tests - Core #283

Open
3 of 30 tasks
odyslam opened this issue May 16, 2022 · 0 comments
Open
3 of 30 tasks

Unit Tests - Core #283

odyslam opened this issue May 16, 2022 · 0 comments
Labels

Comments

@odyslam
Copy link
Contributor

odyslam commented May 16, 2022

Motivation

  • Write tests in Solidity
  • Increase testing speed
  • Introduce new testing primitives (prop testing)

Solution

Migrate test suite to Foundry

PR Checklist

Unit testing

  • NomadBase.sol
  • Home.sol
  • Replica.sol
  • Merkle.sol
  • Queue.sol
  • UpdaterManager.sol
  • XAppConnectionManager.sol
  • Message.sol
  • Typecasts.sol
  • UpgradeBeacon.sol
  • UpgradeBeaconController.sol
  • UpgradeBeaconProxy.sol
  • GovernanceRouter.sol
  • GovernanceMessage.sol

Fuzzy testing

Disclaimer: It's possible that not all smart contracts require prop testing. The checklist shows that the contract was evaluated and if deemed necessary, the tests were implemented.

  • NomadBase.sol
  • Home.sol
  • Replica.sol
  • Merkle.sol
  • Queue.sol
  • UpdaterManager.sol
  • XAppConnectionManager.sol
  • Message.sol
  • Typecasts.sol
  • UpgradeBeacon.sol
  • UpgradeBeaconController.sol
  • UpgradeBeaconProxy.sol
  • GovernanceRouter.sol
  • GovernanceMessage.sol

Invariant

  • Invariants defined
  • Operating assumptions defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant