Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

dewiz-xyz/ces-spells-goerli

Repository files navigation

ces-spells-goerli

Build Status

Staging repo for MakerDAO's Collateral Engineering Services Goerli executive spells.

Instructions

Getting Started

$ git clone git@github.com:clio-finance/ces-spells-goerli.git
$ dapp update

Adding Collaterals to the System

If the weekly executive needs to onboard a new collateral:

  1. Update the onboardNewCollaterals() function in DssSpellCollateralOnboarding.sol.
  2. Update the values in src/tests/collaterals.sol
  3. uncomment the onboardNewCollaterals(); in the actions() function in DssSpellAction

Build

$ make

Test (DappTools with Optimizations)

Set ETH_RPC_URL to a Goerli node.

$ export ETH_RPC_URL=<Goerli URL>
$ make test

Test (Forge without Optimizations)

Prerequisites

  1. Install Rust.
  2. Install Forge.

Operation

Set ETH_RPC_URL to a Goerli node.

$ export ETH_RPC_URL=<Goerli URL>
$ make test-forge

Deploy

Set ETH_RPC_URL to a Goerli node and ensure ETH_GAS is set to a high enough number to deploy the contract.

$ export ETH_RPC_URL=<Goerli URL>
$ export ETH_GAS=8000000
$ export ETH_GAS_PRICE=$(seth --to-wei 3 "gwei")
$ make deploy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages