-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace drink sandbox by internal ink_sandbox (#2158)
* Replace drink sandbox by internal ink_sandbox * fix spellcheck * Make things less verbose * fix doc comment * Update crates/e2e/sandbox/Cargo.toml Co-authored-by: Michael Müller <[email protected]> * Fix todo * fix cargo.toml * Update crates/e2e/sandbox/src/macros.rs Co-authored-by: Michael Müller <[email protected]> * Update crates/e2e/sandbox/src/macros.rs Co-authored-by: Michael Müller <[email protected]> * Update crates/e2e/sandbox/src/macros.rs Co-authored-by: Michael Müller <[email protected]> * Update crates/e2e/sandbox/src/macros.rs Co-authored-by: Michael Müller <[email protected]> * Update crates/e2e/sandbox/src/macros.rs Co-authored-by: Michael Müller <[email protected]> * Update crates/e2e/sandbox/src/macros.rs Co-authored-by: Michael Müller <[email protected]> * Update crates/e2e/sandbox/src/macros.rs Co-authored-by: Michael Müller <[email protected]> * Apply suggestions from code review Co-authored-by: Michael Müller <[email protected]> * restore untouched cargo.toml * fix * more untouched to restore * Remove mininal prefix. use DefaultSandbox instead of MinimalSandbox * Refactor some shared type alias * Fix macros * Fixes * fix dep * Fix use import * Move sandbox version to package instead of workspace --------- Co-authored-by: Michael Müller <[email protected]>
- Loading branch information
Showing
22 changed files
with
1,304 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,3 +130,5 @@ KiB | |
GB | ||
DRink | ||
^ | ||
externalities | ||
sandbox_client |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[package] | ||
name = "ink_sandbox" | ||
version = "5.0.0" | ||
authors = ["Cardinal Cryptography", "Parity Technologies <[email protected]>"] | ||
edition.workspace = true | ||
license.workspace = true | ||
description = "Sandbox runtime environment for ink! e2e tests" | ||
|
||
[dependencies] | ||
frame-metadata = { workspace = true } | ||
frame-support = { workspace = true } | ||
frame-system = { workspace = true } | ||
pallet-balances = { workspace = true } | ||
pallet-contracts = { workspace = true } | ||
pallet-timestamp = { workspace = true } | ||
scale = { workspace = true } | ||
sp-core = { workspace = true } | ||
sp-externalities = { workspace = true } | ||
sp-io = { workspace = true } | ||
|
||
paste = { workspace = true } | ||
scale-info = { workspace = true } | ||
wat = { workspace = true } | ||
|
||
[features] | ||
default = [ | ||
# This is required for the runtime-interface to work properly in the std env. | ||
"std", | ||
] | ||
std = [ | ||
"frame-support/std", | ||
"frame-system/std", | ||
"pallet-balances/std", | ||
"pallet-contracts/std", | ||
"pallet-timestamp/std", | ||
"scale/std", | ||
"scale-info/std", | ||
"sp-core/std", | ||
"sp-externalities/std", | ||
"sp-io/std" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pub mod balance_api; | ||
pub mod contracts_api; | ||
pub mod system_api; | ||
pub mod timestamp_api; | ||
|
||
pub mod prelude { | ||
pub use super::{ | ||
balance_api::BalanceAPI, | ||
contracts_api::ContractAPI, | ||
system_api::SystemAPI, | ||
timestamp_api::TimestampAPI, | ||
}; | ||
} |
Oops, something went wrong.