Skip to content

Commit 5c10cad

Browse files
committed
Added VoucherMigrationFacet
1 parent 32441f9 commit 5c10cad

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

scripts/upgrades/upgrade-1.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ async function main () {
2727

2828
const FacetCutAction = { Add: 0, Replace: 1, Remove: 2 }
2929

30-
3130
const cut = [
3231
{
3332
facetAddress: facet.address,
3433
action: FacetCutAction.Add,
3534
functionSelectors: getSelectors(facet)
3635
}
3736
]
37+
console.log(cut)
3838

3939
const diamondCut = await ethers.getContractAt('IDiamondCut', diamondAddress)
4040
const tx = await diamondCut.diamondCut(cut, ethers.constants.AddressZero, '0x', { gasLimit: 5000000 })
@@ -46,11 +46,6 @@ async function main () {
4646
console.log('Completed diamond cut: ', tx.hash)
4747
}
4848

49-
// Deployed stkGHSTUSDC: 0x04439eC4ba8b09acfae0E9b5D75A82cC63b19f09
50-
// Deployed new StakingFacet: 0xc87f3dC7c12F090617112D3892eC284483D8B633
51-
52-
// We recommend this pattern to be able to use async/await everywhere
53-
// and properly handle errors.
5449
main()
5550
.then(() => process.exit(0))
5651
.catch(error => {

0 commit comments

Comments
 (0)