-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,28 @@ | ||
# Solidity Truffle tests | ||
|
||
## Description | ||
This repo provides truffle based tests which carry out different attacks on the commonly used contracts and libraries in the Space | ||
This repo provides truffle based tests which carry out different attacks on the commonly used contracts and libraries in the Space | ||
|
||
## Dependencies | ||
[Testrpc](https://github.com/ethereumjs/testrpc) | ||
[Truffle](https://github.com/trufflesuite/truffle) | ||
|
||
## Run tests | ||
* Ensure you have Truffle installed | ||
* Run testrpc or any other ethereum node | ||
* Run `truffle test` from the repo directory | ||
|
||
## Discoveries | ||
[Open Zeppelin Safe Math] | ||
###### Open Zeppelin Safe Math | ||
- Addition:: -1 Added to 0 (overflow) : Should fail Addition - Minus: | ||
|
||
## Contributors | ||
(https://github.com/adibas03/Solidity-truffle-tests/graphs/contributors) | ||
[Github contributors](https://github.com/adibas03/Solidity-truffle-tests/graphs/contributors) | ||
|
||
To contribute, kindly create an issue to indicate what you would be working on, then create a PR once code is ready. | ||
|
||
|
||
## Links | ||
## Links/ Sources | ||
|
||
* [Open Zeppelin Safe Math](https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol) | ||
* [Open Zeppelin Ownable](https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/ownership/Ownable.sol) |