Skip to content

Commit

Permalink
rusk: change /static/drivers/wallet-core.wasm to embed version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Jan 20, 2025
1 parent 072b6db commit 670ee87
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions rusk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Change `check_rusk_version` to ignore pre-release by default
- Increase archive channel capacity from 1000 to 10000 [#3359]
- Change `/static/drivers/wallet-core.wasm` to embed version `1.0.0`

## [1.0.0] - 2025-01-05

Expand Down
Binary file added rusk/src/assets/wallet_core-1.0.0.wasm
Binary file not shown.
4 changes: 1 addition & 3 deletions rusk/src/lib/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -820,9 +820,7 @@ where

#[cfg(feature = "http-wasm")]
if path == "/static/drivers/wallet-core.wasm" {
let wallet_wasm = include_bytes!(
"../../../target/wasm32-unknown-unknown/release/dusk_wallet_core.wasm"
);
let wallet_wasm = include_bytes!("../assets/wallet_core-1.0.0.wasm");
let mut response =
Response::new(Full::from(wallet_wasm.to_vec()).into());
response.headers_mut().append(
Expand Down

0 comments on commit 670ee87

Please sign in to comment.