📕

BIP-36 Runbook

Proposal
July 3, 2023

Links

Safe transaction
app.safe.global link
Safe transaction hash
0x1610ee472fcd880e700392995548f6a3d00196312ba90ea1d723ae0c286e2375
Safe transaction nonce
35
GitHub PR
https://github.com/BeanstalkFarms/Beanstalk/pull/410
GitHub commit hash
9f286e1f1b1e67bc40d35aaf4b16e5c6d83ebdd9
Snapshot proposal
https://snapshot.org/#/beanstalkdao.eth/proposal/0x177569d988e10303d1018f597b0b30f6888b20530f7b2fb699bda9838fdca70c

diamondCut JSON:

bip-36.json18.4KB

Overview

Init Contract

InitBipNewSilo: 0xf6c77e64473b913101f0ec1bfb75a386aba15b9e

Facets Being Added

Facet
Address
SiloFacet
0x7d98d7b3486b228b1b449ab7360b72869c2def4f
LegacyClaimWithdrawalFacet
0x93703adc951b76451e3006960cfb3f927d7e7ef6
SeasonFacet
0x3981e1b15c6cbb48953522a0f0aacfe14074ffd5
MigrationFacet
0x141209527f95540e0b018e56edf5a59e1339437f
ApprovalFacet
0xbdec07f18e7e5a27d104fb8e83cb71c3fb68e12f
ConvertFacet
0x6334da4a08b22e612b6a00321601fd2f2e6a821c
WhitelistFacet
0xf286bb8297ddb248fbde33bd1e309778da930795
MetadataFacet
0xd16B381CC6d5991F012C238f02F50aF3bd9f6A20
TokenFacet
0x49540129b19409181c3b4111e078c8ef53b2f577

Facets Being Deprecated

Facet
Address
Silo Facet
0xe56607c4396c546cb6a137659e42a5fd16e17cfe
SeasonFacet
0x9c9360C85cd020D4eF38775F6ADEdD38931f1731
ConvertFacet
0xd24959190e29b13e1accb578d02b15d73a2231f3
WhitelistFacet
0xaea0e6e011106968adc7943579c829e49efddad0
TokenFacet (1)
0x8d00ef08775872374a327355fe0fdbdece1106cf
TokenFacet (2)
0x50eb0085c31dfa8cf86ca16def77520e762ead4a

Verifying the Transaction

Setup

  1. Follow 🏗️How to Setup Environment, pulling and compiling the latest changes on the the grown-stalk-per-bdv branch.

The Diamond Cut Transaction

Add the following bip36enc 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-36 with BCM transaction nonce 35, Safe transaction hash 0x1610ee472fcd880e700392995548f6a3d00196312ba90ea1d723ae0c286e2375, commit hash 9f286e1f1b1e67bc40d35aaf4b16e5c6d83ebdd9 and Snapshot proposal https://snapshot.org/#/beanstalkdao.eth/proposal/0x177569d988e10303d1018f597b0b30f6888b20530f7b2fb699bda9838fdca70c.