Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract panic #1078

Merged
merged 4 commits into from
Oct 6, 2023
Merged
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
3 changes: 1 addition & 2 deletions contracts/license/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ wasm: ## Generate the optimized WASM for the contract given
cargo build \
--release \
--color=always \
-Z build-std=core,alloc,panic_abort \
-Z build-std-features=panic_immediate_abort \
-Z build-std=core,alloc \
--target wasm32-unknown-unknown

clippy: ## Run clippy
Expand Down
3 changes: 1 addition & 2 deletions contracts/stake/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ wasm: ## Generate the optimized WASM for the contract given
cargo build \
--release \
--color=always \
-Z build-std=core,alloc,panic_abort \
-Z build-std-features=panic_immediate_abort \
-Z build-std=core,alloc \
--target wasm32-unknown-unknown

clippy: ## Run clippy
Expand Down
3 changes: 1 addition & 2 deletions contracts/transfer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ wasm: ## Build the WASM files
cargo build \
--release \
--color=always \
-Z build-std=core,alloc,panic_abort \
-Z build-std-features=panic_immediate_abort \
-Z build-std=core,alloc \
--target wasm32-unknown-unknown

clippy: ## Run clippy
Expand Down
4 changes: 2 additions & 2 deletions rusk-abi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ dusk-bytes = "0.1"
bytecheck = { version = "0.6", default-features = false }
dusk-plonk = { version = "0.14", default-features = false, features = ["rkyv-impl", "alloc"] }

piecrust-uplink = "0.7"
piecrust = { version = "0.10", optional = true }
piecrust-uplink = "0.8.0-rc"
piecrust = { version = "0.10.1-rc", optional = true }

# These are patches since these crates don't seem to like semver.
rkyv = { version = "=0.7.39", default-features = false }
Expand Down