Skip to content

Commit

Permalink
update makefile & wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
vlopes11 committed Dec 7, 2023
1 parent baca3b2 commit e820c3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions external/sov-wasm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ WASM := "target/wasm32-wasi/release/sov_wasm.wasm"
WAT := "assets/$(PROJECT).wat"
WAT_THIN := "assets/$(PROJECT)-thin.wat"
PACKAGE := "assets/$(PROJECT).wasm"
PACKAGE_SHORT := "assets/$(PROJECT).wasm"
PACKAGE_OPTIMIZED := "assets/$(PROJECT)-initial-optimized.wasm"
PACKAGE_INITIAL_OPTIMIZED := "assets/$(PROJECT)-initial-optimized.wasm"
PACKAGE_INITIAL_THIN := "assets/$(PROJECT)-initial-thin.wasm"
Expand All @@ -26,9 +25,8 @@ wasm: ## Build the WASM files
$(WAT) \
$(PACKAGE_RESTORED) \
$(PACKAGE_RESTORED_OPTIMIZED)
@mv $(PACKAGE_THIN) $(PACKAGE_SHORT)
@rm $(PACKAGE)
@echo "Package created: $(PACKAGE_SHORT)"
@mv $(PACKAGE_THIN) $(PACKAGE)
@echo "Package created: $(PACKAGE)"

help: ## Display this help screen
@grep -h \
Expand Down
Binary file modified external/sov-wasm/assets/sov-wasm.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/snap/src/module.ts

Large diffs are not rendered by default.

0 comments on commit e820c3b

Please sign in to comment.