Skip to content

Commit

Permalink
remove sputnikdao2_gasfix and fix binaryen version in github workflows (
Browse files Browse the repository at this point in the history
#2)

Co-authored-by: Marco <[email protected]>
  • Loading branch information
marco-sundsk and Marco authored Sep 22, 2024
1 parent 00807fa commit 65f6e8a
Show file tree
Hide file tree
Showing 22 changed files with 16 additions and 2,512 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ jobs:
- name: Install binaryen
run: |
set -e
curl -L https://github.com/WebAssembly/binaryen/releases/download/version_105/binaryen-version_105-x86_64-linux.tar.gz | tar xzf -
echo "`pwd`/binaryen-version_105/bin" >> $GITHUB_PATH
curl -L https://github.com/WebAssembly/binaryen/releases/download/version_119/binaryen-version_119-x86_64-linux.tar.gz | tar xzf -
echo "`pwd`/binaryen-version_119/bin" >> $GITHUB_PATH
# triggers all build.rs steps
- name: Trigger build.rs steps
run: |
Expand Down
105 changes: 13 additions & 92 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
members = [
"sputnik-staking",
"sputnikdao2",
"sputnikdao2-gasfix",
"sputnikdao-factory2",
"test-token"
]
Expand Down
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ set -e
cargo +stable build --target wasm32-unknown-unknown --release
cp target/wasm32-unknown-unknown/release/sputnik_staking.wasm ./sputnik-staking/res/
cp target/wasm32-unknown-unknown/release/sputnikdao2.wasm ./sputnikdao2/res/
cp target/wasm32-unknown-unknown/release/sputnikdao2_gasfix.wasm ./sputnikdao2-gasfix/res/
cp target/wasm32-unknown-unknown/release/sputnikdao_factory2.wasm ./sputnikdao-factory2/res/
cp target/wasm32-unknown-unknown/release/test_token.wasm ./test-token/res/
2 changes: 1 addition & 1 deletion sputnikdao-factory2/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ docker create \
--mount type=bind,source=$DIR/..,target=/host \
--cap-add=SYS_PTRACE --security-opt seccomp=unconfined \
--name=$NAME \
-w /host/sputnikdao_factory2 \
-w /host/sputnikdao-factory2 \
-e RUSTFLAGS='-C link-arg=-s' \
-it \
nearprotocol/contract-builder \
Expand Down
Binary file modified sputnikdao-factory2/res/sputnikdao_factory2.wasm
Binary file not shown.
28 changes: 0 additions & 28 deletions sputnikdao2-gasfix/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion sputnikdao2-gasfix/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions sputnikdao2-gasfix/build.sh

This file was deleted.

29 changes: 0 additions & 29 deletions sputnikdao2-gasfix/build_docker.sh

This file was deleted.

Binary file removed sputnikdao2-gasfix/res/sputnikdao2_gasfix.wasm
Binary file not shown.
Loading

0 comments on commit 65f6e8a

Please sign in to comment.