Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

makerdao/spells-goerli

Repository files navigation

⚠️ THIS REPO IS NOW CONSIDERED DEPRECATED! ⚠️

Read more about it in this post.

spells-goerli

Build Status

Staging repo for MakerDAO's Goerli executive spells.

Instructions

Getting Started

$ git clone git@github.com:makerdao/spells-goerli.git
$ dapp update

Build

$ make

Test (DappTools without 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_LIMIT is set to a high enough number to deploy the contract.

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

Cast to tenderly

  1. Create Tenderly account (no trial period needed atm) https://dashboard.tenderly.co/register
    • Note down TENDERLY_USER and TENDERLY_PROJECT values
  2. Create Tenderly access token https://dashboard.tenderly.co/account/authorization
    • Note down TENDERLY_ACCESS_KEY values
  3. Export env vars specified above or create scripts/cast-on-tenderly/.env file with them
  4. Execute make cast-on-tenderly spell=0x..., with the address of the spell that hasn't been casted yet
    • The execution should finish with successfully casted
  5. Open the publicly sharable transaction url printed into the console (it should require no credentials)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages