I've been a fan of @UniswapExchange for sometime now and last weekend I decided to re-write the contracts in Solidity instead of Vyper. All tests are now passing and next step will be to do some fuzz testing to ensure both implementations are equivalent.https://github.com/PhABC/uniswap-solidity …
-
Show this thread
-
Why is this useful at all? Vyper is a newer language than Solidity and hasn't been used as often in production. While the language has been audited thoroughly, I wanted to make my own little testing on a community project that deserves as many pairs of eyes it can find.
2 replies 0 retweets 12 likesShow this thread -
Fuzz testing both implementations will give us more confidence that Vyper is as secure as Solidity, at least when it comes to Uniswap. I'm fairly certain nothing strang will be found, but this was for fun and it gives me a reason to learn more about fuzzing frameworks :)
2 replies 0 retweets 9 likesShow this thread -
After talking with
@fubuloubu, he recommended to use Echnida by@trailofbits which indeed seems like a great fit. Will soon write some simple invariants and then let it do its things. Anyone interested in helping is more than welcomed to reach out! https://github.com/trailofbits/echidna …2 replies 0 retweets 11 likesShow this thread
Thanks Philippe! Let us know if we can help -- we have an open Slack to support Echidna and a training course on it next week at EthCC: https://www.eventbrite.com/e/blockchain-security-ethcc-tickets-55985965530 … (use "echidna" for 30% off the list price
)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.