Skip to content
Open
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
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ call_hello_wasm = $(call_hello_contract)/$(target_subdir)/call_hello.wasm
$(call_hello_wasm):
cd $(call_hello_contract) && cargo build --release --lib --target wasm32-unknown-unknown

test_wasms = $(hello_world_wasm) $(call_hello_wasm)
erc20_contract = $(test_contracts_dir)/erc20
erc20_wasm = $(call_hello_contract)/$(target_subdir)/erc20.wasm

$(erc20_wasm):
cd $(erc20_contract) && cargo stylus build

test_wasms = $(hello_world_wasm) $(call_hello_wasm) $(erc20_wasm)

test-contracts: $(test_wasms)
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.42
0.1.43
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "skribe"
version = "0.1.42"
version = "0.1.43"
description = "Property testing for Stylus smart contracts"
readme = "README.md"
requires-python = "~=3.10"
Expand Down
17 changes: 17 additions & 0 deletions src/tests/integration/data/contracts/erc20/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "link-arg=-zstack-size=32768",
"-C", "target-feature=-reference-types",
]

[target.aarch64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]

[target.x86_64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]
2 changes: 2 additions & 0 deletions src/tests/integration/data/contracts/erc20/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
.env
Loading
Loading