Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
env:
RUST_MIN_STACK: 8388608
CARGO_TARGET_DIR: ${{ github.workspace }}/target
run: cargo test --package room-contract
run: cargo test --package room-contract --features net

- name: Test delegate key
env:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ river = { path = "cli", package = "river" }
# Freenet dependencies
freenet-scaffold = "0.2.2"
freenet-scaffold-macro = "0.2.2"
freenet-stdlib = { version = "0.1.40", features = ["contract"] }
freenet-stdlib = { version = "0.3.2", features = ["contract"] }

[workspace.package]
version = "0.1.4"
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "riverctl"
version = "0.1.45"
version = "0.1.46"
edition = "2021"
authors = ["Freenet Project"]
description = "Command-line interface for River decentralized chat on Freenet"
Expand Down
Binary file modified cli/contracts/room_contract.wasm
Binary file not shown.
4 changes: 4 additions & 0 deletions contracts/room-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ freenet-main-contract = []
trace = ["freenet-stdlib/trace"]
# Use ed25519-compact for WASM builds to avoid getrandom contamination
wasm-crypto = ["ed25519-compact"]
# Enable networking support for integration tests (WebApi)
net = ["freenet-stdlib/net"]
# Full integration tests that spin up freenet nodes (requires compatible freenet version)
integration-test = ["net"]

[dev-dependencies]
anyhow = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion contracts/room-contract/tests/integration_tests.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg(not(target_arch = "wasm32"))]
#![cfg(all(not(target_arch = "wasm32"), feature = "integration-test"))]

mod common;

Expand Down
Loading
Loading