Skip to content

Commit

Permalink
clean up test
Browse files Browse the repository at this point in the history
  • Loading branch information
oveddan committed Nov 21, 2023
1 parent a3e2782 commit 155002a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/twelve-swans-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zoralabs/protocol-deployments": patch
---

Deployed 2.5.1 to zora sepolia
2 changes: 0 additions & 2 deletions packages/protocol-deployments/src/DeploymentTestingUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ contract DeploymentTestingUtils is Script {
mintArguments
);

console2.log(premintResult.tokenId);
console2.log(ZoraCreator1155Impl(premintResult.contractAddress).delegatedTokenId(premintConfig.uid));
require(ZoraCreator1155Impl(premintResult.contractAddress).delegatedTokenId(premintConfig.uid) == premintResult.tokenId, "token id mismatch");
}

Expand Down
3 changes: 0 additions & 3 deletions packages/protocol-deployments/test/UpgradesTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ contract UpgradesTest is ForkDeploymentConfig, DeploymentTestingUtils, Test {
console2.log("preminter upgrade target:", targetPreminterProxy);
vm.prank(chainConfig.factoryOwner);
bytes memory preminterUpgradeCalldata = ZoraDeployerUtils.simulateUpgrade(deployment.preminterProxy, deployment.preminterImpl);
console2.log("upgraded");

address collector = makeAddr("collector");
address mintReferral = makeAddr("referral");
Expand All @@ -95,9 +94,7 @@ contract UpgradesTest is ForkDeploymentConfig, DeploymentTestingUtils, Test {
});

vm.startPrank(collector);
console2.log("sign and execute premint v1");
signAndExecutePremintV1(targetPreminterProxy, makeAddr("payoutRecipientA"), mintArguments);
console2.log("sign and execute premint v2");
signAndExecutePremintV2(targetPreminterProxy, makeAddr("payoutRecipientB"), mintArguments);

console2.log("upgrade calldata:");
Expand Down

0 comments on commit 155002a

Please sign in to comment.