Skip to content

Commit

Permalink
Version bump 1.5.1 + tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Nov 15, 2023
1 parent 9f7aeac commit 135bdc0
Show file tree
Hide file tree
Showing 18 changed files with 303 additions and 21 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ All notable changes to this project will be documented in this file. The format

### Added

## Release 1.5.1

### Changed

- Add ACL in types of js_client (#256)
- Fix Wrong error on insertion of duplicated token identifier (#258)

### Added

- Optional custom string identifier in mint entrypoint (#255)

## Release 1.5.0

### Changed
Expand Down
13 changes: 8 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,16 @@ build-contract:
wasm-strip test-contracts/minting_contract/target/wasm32-unknown-unknown/release/minting_contract.wasm
wasm-strip test-contracts/transfer_filter_contract/target/wasm32-unknown-unknown/release/transfer_filter_contract.wasm

VERSIONS := 1_0_0 1_1_0 1_2_0 1_3_0 1_4_0 1_5_0

setup-test: build-contract
mkdir -p tests/wasm
mkdir -p tests/wasm/1_0_0; curl -L https://github.com/casper-ecosystem/cep-78-enhanced-nft/releases/download/v1.0.0/cep-78-wasm.tar.gz | tar zxv -C tests/wasm/1_0_0/
mkdir -p tests/wasm/1_1_0; curl -L https://github.com/casper-ecosystem/cep-78-enhanced-nft/releases/download/v1.1.0/cep-78-wasm.tar.gz | tar zxv -C tests/wasm/1_1_0/
mkdir -p tests/wasm/1_2_0; curl -L https://github.com/casper-ecosystem/cep-78-enhanced-nft/releases/download/v1.2.0/cep-78-wasm.tar.gz | tar zxv -C tests/wasm/1_2_0/
mkdir -p tests/wasm/1_3_0; curl -L https://github.com/casper-ecosystem/cep-78-enhanced-nft/releases/download/v1.3.0/cep-78-wasm.tar.gz | tar zxv -C tests/wasm/1_3_0/
mkdir -p tests/wasm/1_4_0; curl -L https://github.com/casper-ecosystem/cep-78-enhanced-nft/releases/download/v1.4.0/cep-78-wasm.tar.gz | tar zxv -C tests/wasm/1_4_0/
$(foreach version,$(VERSIONS), \
if [ ! -d "tests/wasm/$(version)" ]; then \
mkdir -p tests/wasm/$(version); \
curl -L https://github.com/casper-ecosystem/cep-78-enhanced-nft/releases/download/v$(subst _,.,$(version))/cep-78-wasm.tar.gz | tar zxv -C tests/wasm/$(version)/; \
fi; \
)

cp contract/target/wasm32-unknown-unknown/release/contract.wasm tests/wasm
cp client/mint_session/target/wasm32-unknown-unknown/release/mint_call.wasm tests/wasm
Expand Down
6 changes: 6 additions & 0 deletions client-js/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.5.1] - 2023-11-20

### Fixed

- Add ACL in types of js_client (#256)

## [1.5.0] - 2023-10-05

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion client-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "casper-cep78-js-client",
"version": "1.5.0",
"version": "1.5.1",
"description": "CEP78 Enhanced NFT JS Client",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion client/balance_of_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "balance_of_session"
version = "1.5.0"
version = "1.5.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion client/get_approved_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "get_approved_session"
version = "1.5.0"
version = "1.5.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion client/is_approved_for_all_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "is_approved_for_all_session"
version = "1.5.0"
version = "1.5.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion client/mint_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mint_session"
version = "1.5.0"
version = "1.5.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion client/owner_of_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "owner_of_session"
version = "1.5.0"
version = "1.5.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion client/transfer_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "transfer_session"
version = "1.5.0"
version = "1.5.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion client/updated_receipts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "updated_receipts"
version = "1.5.0"
version = "1.5.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract"
version = "1.5.0"
version = "1.5.1"
edition = "2018"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion test-contracts/mangle_named_keys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mangle_named_keys"
version = "1.5.0"
version = "1.5.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion test-contracts/minting_contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minting_contract"
version = "1.5.0"
version = "1.5.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion test-contracts/transfer_filter_contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "transfer_filter_contract"
version = "1.5.0"
version = "1.5.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tests"
version = "1.5.0"
version = "1.5.1"
edition = "2018"
[dependencies]
casper-engine-test-support = { version = "5.0.0", default-features = false, features = [
Expand Down
Loading

0 comments on commit 135bdc0

Please sign in to comment.