Skip to content

Commit

Permalink
Merge pull request #159 from kommitters/v0.13
Browse files Browse the repository at this point in the history
Release v0.13.0
  • Loading branch information
juanmagiraldor authored Dec 7, 2023
2 parents 8f444b8 + e694142 commit 7c7252f
Show file tree
Hide file tree
Showing 30 changed files with 978 additions and 327 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,21 @@ jobs:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: rustup target add wasm32-unknown-unknown
- name: Build required wasm
run: |
cargo build --target wasm32-unknown-unknown --release --package vault_contract
- name: Contract Build
- run: cargo install --locked --version 20.0.0-rc2 soroban-cli
- name: Build contracts
run: |
cargo build --target wasm32-unknown-unknown --release
soroban contract build
- name: Code Tests
run: |
cargo test
- run: cargo install --locked --version 20.0.0-rc2 soroban-cli
- name: Contract Deployment VC issuance contract to testnet
- name: Deploy VC issuance contract to testnet
run: |
soroban contract deploy \
--wasm target/wasm32-unknown-unknown/release/vc_issuance_contract.wasm \
--source ${{ secrets.DEPLOYER_SECRET }} \
--rpc-url https://soroban-testnet.stellar.org:443/ \
--network-passphrase 'Test SDF Network ; September 2015'
- name: Contract Deployment Vault contract to testnet
- name: Deploy Vault contract to testnet
run: |
soroban contract deploy \
--wasm target/wasm32-unknown-unknown/release/vault_contract.wasm \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- run: rustup target add wasm32-unknown-unknown
- name: Build required wasm
run: |
cargo build --target wasm32-unknown-unknown --release --package vault_contract
cargo build --target wasm32-unknown-unknown --release --package vault-contract
- name: Contract Build
run: |
cargo build --target wasm32-unknown-unknown --release
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
/Cargo.lock
tarpaulin-report.html
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelog

## 0.12.0 (11.28.2023)
## 0.13.0 (07.12.2023)

- [Contracts improvements](https://github.com/kommitters/chaincerts-smart-contracts/pull/155)
- [Implement improvements in Vault and VC Issuance contracts](https://github.com/kommitters/chaincerts-smart-contracts/pull/156)
- [Add contracts documentation and issuance limit validation](https://github.com/kommitters/chaincerts-smart-contracts/pull/154)

## 0.12.0 (28.11.2023)

- [Update docs](https://github.com/kommitters/chaincerts-smart-contracts/pull/148)
- [Reference new DID contract](https://github.com/kommitters/chaincerts-smart-contracts/pull/150)
Expand Down
19 changes: 11 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ resolver = "2"

members = ["deployer_contract", "vault_contract", "vc_issuance_contract"]

[profile.release-with-logs]
inherits = "release"
debug-assertions = true
[workspace.package]
version = "0.13.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/kommitters/chaincerts-smart-contracts"

[workspace.dependencies]
soroban-sdk = { version = "=20.0.0-rc2.2" }

[profile.release]
opt-level = "z"
Expand All @@ -17,8 +22,6 @@ panic = "abort"
codegen-units = 1
lto = true

[workspace.dependencies.soroban-sdk]
version = "20.0.0-rc2"

[workspace.dependencies.soroban-auth]
version = "0.8.3"
[profile.release-with-logs]
inherits = "release"
debug-assertions = true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![CHAINCERTS_LOGO](https://github.com/kommitters/chaincerts-smart-contracts/assets/1649973/a43a4a8b-932b-47e5-af63-470e35ab9330)][chaincerts.co]
[![CHAINCERTS_LOGO](https://github.com/kommitters/chaincerts-smart-contracts/assets/39246879/5c7c3c50-f435-43ad-87e5-dad223eaa12a)][chaincerts.co]

Issue, store, and verify your credentials backed by smart contracts on Soroban.

Expand Down Expand Up @@ -79,7 +79,7 @@ This software is licensed under the [Apache License 2.0][license] © kommit.
[w3c-did-core-spec]: https://www.w3.org/TR/did-core/
[w3c-vcs-spec]:https://www.w3.org/TR/vc-data-model
[did-repo]: https://github.com/kommitters/soroban-did-contract
[vcs-issuance-repo]: https://github.com/kommitters/chaincerts-smart-contracts/tree/main/issuance_contract
[vcs-issuance-repo]: https://github.com/kommitters/chaincerts-smart-contracts/tree/main/vc_issuance_contract
[vcs-storage-repo]: https://github.com/kommitters/chaincerts-smart-contracts/tree/main/vault_contract
[kommit-website]: https://kommit.co
[kommit-github]: https://github.com/kommitters
Expand Down
8 changes: 5 additions & 3 deletions deployer_contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "deployer_contract"
version = "0.11.1"
edition = "2021"
name = "deployer-contract"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
8 changes: 5 additions & 3 deletions vault_contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "vault_contract"
version = "0.1.0"
edition = "2021"
name = "vault-contract"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
Loading

0 comments on commit 7c7252f

Please sign in to comment.