Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into update_artifacts_abi
Browse files Browse the repository at this point in the history
  • Loading branch information
iainnash committed Oct 11, 2023
2 parents f79a115 + 2dbf40e commit b2b7b08
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .changeset/tame-keys-mix.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @zoralabs/zora-1155-contracts

## 2.0.3

### Patch Changes

- d3ddfbb: fix version packages tests

## 2.0.2

### Patch Changes

- 9207e8f: Deployed determinstic proxies and latest versions to mainnet, goerli, base, base goerli, optimism, optimism goerli

## 2.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zoralabs/zora-1155-contracts",
"version": "2.0.1",
"version": "2.0.3",
"repository": "git@github.com:ourzora/creator-contracts.git",
"author": "Iain <iain@zora.co>",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/version/ContractVersionBase.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is automatically generated by code; do not manually update
// Last updated on 2023-10-05T15:58:32.256Z
// Last updated on 2023-10-05T22:37:20.442Z
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

Expand All @@ -10,6 +10,6 @@ import {IVersionedContract} from "../interfaces/IVersionedContract.sol";
contract ContractVersionBase is IVersionedContract {
/// @notice The version of the contract
function contractVersion() external pure override returns (string memory) {
return "2.0.1";
return "2.0.3";
}
}
4 changes: 3 additions & 1 deletion test/factory/ZoraCreator1155Factory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {MockContractMetadata} from "../mock/MockContractMetadata.sol";
import {ProxyShim} from "../../src/utils/ProxyShim.sol";

contract ZoraCreator1155FactoryTest is Test {
using stdJson for string;
address internal zora;
uint256 internal mintFeeAmount;

Expand Down Expand Up @@ -47,7 +48,8 @@ contract ZoraCreator1155FactoryTest is Test {
}

function test_contractVersion() external {
assertEq(factory.contractVersion(), "2.0.0");
string memory package = vm.readFile("./package.json");
assertEq(package.readString(".version"), factory.contractVersion());
}

function test_contractName() external {
Expand Down
3 changes: 2 additions & 1 deletion test/nft/ZoraCreator1155.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ contract ZoraCreator1155Test is Test {
function test_contractVersion() external {
init();

assertEq(target.contractVersion(), "2.0.0");
string memory package = vm.readFile("./package.json");
assertEq(package.readString(".version"), target.contractVersion());
}

function test_assumeLastTokenIdMatches() external {
Expand Down

0 comments on commit b2b7b08

Please sign in to comment.