mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-16 04:55:41 +00:00
2135fa872b
see #2189 This PR does the following: - Bring the user api functions into a new pallet-contracts-uapi (They are currently defined in ink! [here])(https://github.com/paritytech/ink/blob/master/crates/env/src/engine/on_chain/ext.rs) - Add older api versions and unstable to the user api trait. - Remove pallet-contracts-primitives and bring the types it defined in uapi / pallet-contracts - Add the infrastructure to build fixtures from Rust files and test it works by replacing `dummy.wat` and `call.wat` - Move all the doc from wasm/runtime.rs to pallet-contracts-uapi. This will be done in a follow up: - convert the rest of the test from .wat to rust - bring risc-v uapi up to date with wasm - finalize the uapi host fns, making sure everything is codegen from the source host fns in pallet-contracts --------- Co-authored-by: Alexander Theißen <alex.theissen@me.com>
25 lines
520 B
TOML
25 lines
520 B
TOML
[package]
|
|
name = "pallet-contracts-fixtures"
|
|
publish = false
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Fixtures for testing contracts pallet."
|
|
|
|
[dependencies]
|
|
wat = "1"
|
|
frame-system = { path = "../../system" }
|
|
sp-runtime = { path = "../../../primitives/runtime" }
|
|
anyhow = "1.0.0"
|
|
|
|
[build-dependencies]
|
|
parity-wasm = "0.45.0"
|
|
tempfile = "3.8.1"
|
|
toml = "0.8.8"
|
|
twox-hash = "1.6.3"
|
|
anyhow = "1.0.0"
|
|
cfg-if = { version = "1.0", default-features = false }
|
|
|
|
|