Read more about it in this post.
Staging repo for MakerDAO's Goerli executive spells.
$ git clone [email protected]:makerdao/spells-goerli.git
$ dapp update
$ make
Set ETH_RPC_URL
to a Goerli node.
$ export ETH_RPC_URL=<Goerli URL>
$ make test
Set ETH_RPC_URL
to a Goerli node.
$ export ETH_RPC_URL=<Goerli URL>
$ make test-forge
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
- Create Tenderly account (no trial period needed atm) https://dashboard.tenderly.co/register
- Note down
TENDERLY_USER
andTENDERLY_PROJECT
values
- Note down
- Create Tenderly access token https://dashboard.tenderly.co/account/authorization
- Note down
TENDERLY_ACCESS_KEY
values
- Note down
- Export env vars specified above or create
scripts/cast-on-tenderly/.env
file with them - 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
- The execution should finish with
- Open the
publicly sharable transaction url
printed into the console (it should require no credentials)