Skip to content

Commit

Permalink
fix(staking-pool): fix build.sh and update wasm
Browse files Browse the repository at this point in the history
It should be built with Docker container from near-sdk-rs
cargo test still does not work, it requires nightly
  • Loading branch information
telezhnaya committed Jul 12, 2021
1 parent e8612b8 commit 1720c0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staking-pool/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -e

RUSTFLAGS='-C link-arg=-s' cargo +stable build --target wasm32-unknown-unknown --release
RUSTFLAGS='-C link-arg=-s' cargo build --target wasm32-unknown-unknown --release
cp target/wasm32-unknown-unknown/release/staking_pool.wasm ./res/
Binary file modified staking-pool/res/staking_pool.wasm
Binary file not shown.

0 comments on commit 1720c0c

Please sign in to comment.