Skip to content
11 changes: 11 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Cargo audit configuration
# This file configures which security advisories to ignore during cargo audit

[advisories]
# Ignore security advisories from transitive dependencies in ink!/Substrate framework
# These vulnerabilities are in upstream dependencies and do not affect smart contract security
ignore = [
"RUSTSEC-2024-0370", # proc-macro-error is unmaintained (from ink! macros)
"RUSTSEC-2024-0344", # curve25519-dalek timing variability (from sp-core/Substrate)
"RUSTSEC-2024-0388" # derivative is unmaintained (from staging-xcm/Substrate)
]
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
done

- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: contracts
path: |
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
run: cargo install cargo-contract --locked

- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: contracts
path: artifacts/
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ jobs:

- name: Build Security Audit Tool
run: |
cd security-audit
cargo build --release
cp target/release/security-audit ../security-audit-tool
cargo build --release -p security-audit
cp target/release/security-audit ./security-audit-tool

- name: Run Security Audit Pipeline
run: |
Expand All @@ -41,7 +40,7 @@ jobs:
cat security-report.json

- name: Upload Security Report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: security-report
path: security-report.json
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ members = [
"contracts/traits",
"contracts/proxy",
"contracts/escrow",
"contracts/ipfs-metadata",
"security-audit",
"contracts/oracle",
]
Expand Down
27 changes: 27 additions & 0 deletions contracts/ipfs-metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[package]
name = "ipfs-metadata"
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
ink = { workspace = true }
scale = { workspace = true, features = ["derive"] }
scale-info = { workspace = true, features = ["derive"], optional = true }
propchain-traits = { path = "../traits", default-features = false }

[lib]
path = "src/lib.rs"

[features]
default = ["std"]
std = [
"ink/std",
"scale/std",
"scale-info/std",
"propchain-traits/std",
]
ink-as-dependency = []
Loading
Loading