From 83cd698552a26f2da8f8904c9c1cceedf2ef4290 Mon Sep 17 00:00:00 2001 From: PatrickAlphac <54278053+PatrickAlphaC@users.noreply.github.com> Date: Sun, 23 Jun 2024 18:50:14 -0400 Subject: [PATCH] updated for 2024 --- README.md | 8 ++++---- .../continueOnRevert/ContinueOnRevertInvariants.t.sol | 5 +---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 15c5dbc..fc2229a 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,8 @@ This project is meant to be a stablecoin where users can deposit WETH and WBTC i ## Quickstart ``` -git clone https://github.com/Cyfrin/foundry-defi-stablecoin-f23 -cd foundry-defi-stablecoin-f23 +git clone https://github.com/Cyfrin/foundry-defi-stablecoin-cu +cd foundry-defi-stablecoin-cu forge build ``` @@ -50,7 +50,7 @@ forge build If you can't or don't want to run and install locally, you can work with this repo in Gitpod. If you do this, you can skip the `clone this repo` part. -[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#github.com/PatrickAlphaC/foundry-smart-contract-lottery-f23) +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#github.com/PatrickAlphaC/foundry-smart-contract-lottery-cu) # Updates @@ -177,7 +177,7 @@ slither :; slither . --config-file slither.config.json If you appreciated this, feel free to follow me or donate! -ETH/Arbitrum/Optimism/Polygon/etc Address: 0x9680201d9c93d65a3603d2088d125e955c73BD65 +ETH/zkSync/Arbitrum/Optimism Address(`cyfrin1.eth`): 0x3846c3A30E62075Fa916216b35EF04B8F53931f6 [![Patrick Collins Twitter](https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/PatrickAlphaC) [![Patrick Collins YouTube](https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/channel/UCn-3f8tw_E1jZvhuHatROwA) diff --git a/test/fuzz/continueOnRevert/ContinueOnRevertInvariants.t.sol b/test/fuzz/continueOnRevert/ContinueOnRevertInvariants.t.sol index 17fdc8f..fcc8afb 100644 --- a/test/fuzz/continueOnRevert/ContinueOnRevertInvariants.t.sol +++ b/test/fuzz/continueOnRevert/ContinueOnRevertInvariants.t.sol @@ -1,6 +1,4 @@ -// Commented out for now until revert on fail == false per function customization is implemented - -// // SPDX-License-Identifier: MIT +// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; @@ -15,7 +13,6 @@ import { DSCEngine } from "../../../src/DSCEngine.sol"; import { DecentralizedStableCoin } from "../../../src/DecentralizedStableCoin.sol"; import { HelperConfig } from "../../../script/HelperConfig.s.sol"; import { DeployDSC } from "../../../script/DeployDSC.s.sol"; -// import { ERC20Mock } from "@openzeppelin/contracts/mocks/ERC20Mock.sol"; Updated mock location import { ERC20Mock } from "../../mocks/ERC20Mock.sol"; import { ContinueOnRevertHandler } from "./ContinueOnRevertHandler.t.sol"; import { console } from "forge-std/console.sol";