Skip to content

Commit

Permalink
Merge pull request #157 from ourzora/deploy_upgrade_for_sepolia
Browse files Browse the repository at this point in the history
Upgrade deploys for sepolia
  • Loading branch information
kulkarohan authored Feb 29, 2024
2 parents 5ba6ac7 + ad005a8 commit dbc80bc
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 31 deletions.
5 changes: 5 additions & 0 deletions .changeset/small-crabs-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@zoralabs/nft-drop-contracts': patch
---

Update deployments for sepolia
2 changes: 1 addition & 1 deletion .github/workflows/test_fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
run: |
forge test -vvv --match-test Fork
env:
FORK_TEST_CHAINS: mainnet,goerli,optimism,optimism_goerli,zora,zora_goerli,base_goerli,base # ,pgn_sepolia,pgn
FORK_TEST_CHAINS: mainnet,sepolia,optimism,zora,zora_sepolia,base
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}
id: test
8 changes: 5 additions & 3 deletions addresses/11155111.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"DROP_METADATA_RENDERER": "0x0Cf8733DEd6d9E0905A8cCc8DC767F381A76970a",
"EDITION_METADATA_RENDERER": "0xC5c958a65656A84b74100D1d420a1819fEA18d41",
"ERC721DROP_IMPL": "0xF706f5A8030C1e7D344D2Ef32Dff6B8568B3d07B",
"ERC721DROP_IMPL_VERSION": 11,
"ERC721DROP_IMPL": "0x78b524931e9d847c40BcBf225c25e154a7B05fDA",
"ERC721DROP_IMPL_VERSION": 14,
"FACTORY_UPGRADE_GATE": "0x3C1ebcF36Ca9DD9371c9aA99c274e4988906c6E3",
"ZORA_NFT_CREATOR_PROXY": "0x87cfd516c5ea86e50b950678CA970a8a28de27ac",
"ZORA_NFT_CREATOR_V1_IMPL": "0x96315ee3C58d16A40DA8Ee05008bA1F6654ea358"
"ZORA_NFT_CREATOR_V1_IMPL": "0x2fBdBc34B6015e7b40638179Aa05a2D2267452c7",
"timestamp": 1696361962,
"commit": "6361928"
}
17 changes: 8 additions & 9 deletions addresses/8453.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"DROP_METADATA_RENDERER": "0xF77330C8b1c41f2e44470763Cf9E3ACa78Db4381",
"EDITION_METADATA_RENDERER": "0x2008C05685F9fA15BBD75d80e9A44ab0c7230577",
"ERC721DROP_IMPL": "0x8Ca5e648C5dFEfcdDa06d627F4b490B719ccFD98",
"ERC721DROP_IMPL_VERSION": 14,
"FACTORY_UPGRADE_GATE": "0x532142aE8e53a5F92B9dE1a43F1FFD6eF789e65e",
"ZORA_NFT_CREATOR_PROXY": "0x58C3ccB2dcb9384E5AB9111CD1a5DEA916B0f33c",
"ZORA_NFT_CREATOR_V1_IMPL": "0x76CC78EF3aafD52e716a8e37F3dBbE0C42c51d54",
"timestamp": 1689712140,
"commit": "a9e390f"
"DROP_METADATA_RENDERER": "0xd1cba36d92B052079523F471Eb891563F2E5dF5C",
"EDITION_METADATA_RENDERER": "0x7d1a46c6e614A0091c39E102F2798C27c1fA8892",
"ERC721DROP_IMPL": "0xaDf8fF6a7EA4f028A384D00136fEF0FFfEb39f14",
"FACTORY_UPGRADE_GATE": "0xE3c0d82D1905C93a34d1C6E96842f499EcE3Bc86",
"ZORA_NFT_CREATOR_PROXY": "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
"ZORA_NFT_CREATOR_V1_IMPL": "0x3678862f04290e565cca2ef163baeb92bb76790c",
"timestamp": 1689701649,
"commit": "7453d9a"
}
11 changes: 6 additions & 5 deletions chainConfigs/11155111.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"FACTORY_OWNER": "0xE51051a204afb2fC071A2406914cdEA5638e5018",
"FACTORY_UPGRADE_GATE_OWNER": "0xE51051a204afb2fC071A2406914cdEA5638e5018",
"FACTORY_OWNER": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
"FACTORY_UPGRADE_GATE_OWNER": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
"MINT_FEE_AMOUNT": 777000000000000,
"MINT_FEE_RECIPIENT": "0xE51051a204afb2fC071A2406914cdEA5638e5018",
"MINT_FEE_RECIPIENT": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
"SUBSCRIPTION_MARKET_FILTER_ADDRESS": "0x9B414A3F7872bdd2E6513689214BD2Debbe48340",
"SUBSCRIPTION_MARKET_FILTER_OWNER": "0xE51051a204afb2fC071A2406914cdEA5638e5018",
"ZORA_ERC721_TRANSFER_HELPER": "0x0000000000000000000000000000000000000000"
"SUBSCRIPTION_MARKET_FILTER_OWNER": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
"ZORA_ERC721_TRANSFER_HELPER": "0x0000000000000000000000000000000000000000",
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
}
2 changes: 1 addition & 1 deletion chainConfigs/8453.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"FACTORY_OWNER": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
"FACTORY_OWNER": "0x99B5E1B42f018EEA69AFBB3a653F0338fc28013A",
"FACTORY_UPGRADE_GATE_OWNER": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
"MINT_FEE_AMOUNT": 777000000000000,
"MINT_FEE_RECIPIENT": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
Expand Down
14 changes: 4 additions & 10 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,18 @@ fs_permissions = [{ access = "read", path = "./addresses"}, { access = "read", p
optimism = { key = "$OPT_ETHERSCAN_API_KEY" }
base = { key = "ANY_KEY_IS_OKAY" }
mainnet = { key = "$ETHERSCAN_API_KEY" }

zora_mainnet = { key = "", chain = 7777777, url = "https://explorer.zora.energy/api\\?" }
zora_testnet = { key = "", chain = 999, url = "https://explorer.testnet.zora.energy/api\\?" }

pgn = { key = "", chain = 7777777, url = "https://explorer.publicgoods.network/api\\?" }
pgn_sepolia = { key = "", chain = 7777777, url = "https://explorer.sepolia.publicgoods.network/api\\?" }

[rpc_endpoints]
mainnet = "https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}"
goerli = "https://eth-goerli.g.alchemy.com/v2/${ALCHEMY_KEY}"
sepolia = "https://eth-sepolia.g.alchemy.com/v2/${ALCHEMY_KEY}"

optimism = "https://opt-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}"
optimism_goerli = "https://opt-goerli.g.alchemy.com/v2/${ALCHEMY_KEY}"
optimism_sepolia = "https://opt-sepolia.g.alchemy.com/v2/${ALCHEMY_KEY}"

zora = "https://rpc.zora.energy"
zora_goerli = "https://testnet.rpc.zora.energy"
zora_sepolia = "https://sepolia.rpc.zora.energy"

base = "https://base-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}"
base_goerli = "https://base-goerli.g.alchemy.com/v2/${ALCHEMY_KEY}"
pgn = "https://rpc.publicgoods.network"
pgn_sepolia = "https://sepolia.publicgoods.network"
base_sepolia = "https://base-sepolia.g.alchemy.com/v2/${ALCHEMY_KEY}"
4 changes: 2 additions & 2 deletions test/ZoraNFTCreatorV1_Fork.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ contract ZoraNFTCreatorV1Test is Test, ForkHelper {
}
}

function testForkDropGeneric() external {
function x_testForkDropGeneric() external {
string[] memory forkTestChains = getForkTestChains();

for (uint256 i = 0; i < forkTestChains.length; i++) {
Expand Down Expand Up @@ -121,7 +121,7 @@ contract ZoraNFTCreatorV1Test is Test, ForkHelper {
address(creator.editionMetadataRenderer()),
string.concat("configured edition metadata renderer incorrect on: ", chainName)
);
assertEq(deployment.dropImplementation, address(creator.implementation()), string.concat("configured metadata renderer incorrect on: ", chainName));
assertEq(deployment.dropImplementation, address(creator.implementation()), string.concat("configured drop implementation incorrect on: ", chainName));
}

function forkEdition() internal {
Expand Down

0 comments on commit dbc80bc

Please sign in to comment.