📕

BIP-37 Runbook

Proposal
August 23, 2023

Links

Safe transaction
app.safe.global link
Safe transaction hash
0x7ac542c48b5e020bc5c26667651861a4542d49150b4be3a2f8b4e011b7feb5db
Safe transaction nonce
38
GitHub PR
https://github.com/BeanstalkFarms/Beanstalk/pull/378
GitHub commit hash
https://github.com/BeanstalkFarms/Beanstalk/tree/7d2afffba5266891b7af551d0c30a840560281dc
Snapshot proposal
https://snapshot.org/#/beanstalkdao.eth/proposal/0x98fbf0e9a3fe3054679fefb544fd57cd4df1f85b03edeecd1a06ccefdd4d1def

diamondCut JSON:

bip-37.json15.1KB

Overview

Init Contract

InitBipBasinIntegration: 0xdCCcCeEEaD066C20075eE0EaF548685A3215204D

Facets Being Added

Facet
Address
SiloFacet
0xf4B3629D1aa74eF8ab53Cc22728896B960F3a74E
SeasonFacet
0x17b31771A04af17B131246C3C9d442e3c3908A27
ConvertFacet
0xC2f8F1412d10E4DC79D34a46ab1d3d862517f939
ConvertGettersFacet
0x912f505ecD6536733da22BB4349595aA36806918
WhitelistFacet
0x730bfC44C8c51c469aFc133B0e445d0CC9FFc63d
MetadataFacet
0x5e6991aFa1352822e769c873200954B4dE6c6E48
DepotFacet
0xeEe1D0238025BFcdE4e8516ceC5DB524ca4d5A55
BDVFacet
0x9Cb54A8eAcD4d295dd02833cd2bdD385173c7fF5
EnrootFacet
0x1C2a836184d2fa7e4d0750Af73423a076cd169CE

Facets Being Deprecated

Facet
Address
SiloFacet
0x7D98D7b3486b228b1B449AB7360b72869C2DEF4F
SeasonFacet
0x3981E1b15c6CBb48953522A0F0aaCfE14074FFd5
ConvertFacet
0x6334Da4a08b22E612b6A00321601Fd2f2E6a821C
WhitelistFacet
0xF286Bb8297DdB248Fbde33BD1E309778DA930795
MetadataFacet
0xd16B381CC6d5991F012C238f02F50aF3bd9f6A20
DepotFacet
0xd812fdfb45bc4d05884eb270f7ddfaac71d60f78
BDVFacet
0xc17ED2e41242063DB6b939f5601bA01374b9D44a

Verifying the Transaction

Setup

  1. Follow 🏗️How to Setup Environment, pulling and compiling the latest changes on the wells-integration branch.

The Diamond Cut Transaction

Add the following bip37enc task to hardhat.config.js per How to Verify Facet Changes.

You can verify that the following data value in the final line of code is correct by comparing it with the Raw data field on the Safe multisig transaction.

Verifying the Diamond Cut

  1. Follow How to Verify Facet Changes.
  2. Verify there are no remaining function selectors from the Facets Being Deprecated section above.
  3. Verify that all function selectors from the Facets Being Added section above are present.

Verifying the Deployed Code

  1. Follow 🧑‍💻[OLD] How to Verify Deployed Code.
  2. Verify that each facet has verified code on Etherscan.

Submitting Message Signature

Once Signers have verified the transaction, they shall submit and sign a verified message signature on Etherscan.

Template message: Confirming that I have reviewed BIP-37 with BCM transaction nonce 38, Safe transaction hash 0x7ac542c48b5e020bc5c26667651861a4542d49150b4be3a2f8b4e011b7feb5db, commit hash 7d2afffba5266891b7af551d0c30a840560281dc and Snapshot proposal https://snapshot.org/#/beanstalkdao.eth/proposal/0x98fbf0e9a3fe3054679fefb544fd57cd4df1f85b03edeecd1a06ccefdd4d1def.