Skip to content

Commit

Permalink
fmt, signedext
Browse files Browse the repository at this point in the history
  • Loading branch information
pmikolajczyk41 committed Mar 6, 2024
1 parent a37d921 commit 0e76494
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ serde_json = { version = "1.0" }
syn = { version = "2" }
thiserror = { version = "1.0.40" }
wat = { version = "1.0.71" }
wasm-instrument = { version = "0.4.0", features = ["sign_ext"] }

# Substrate dependencies

Expand Down
3 changes: 2 additions & 1 deletion drink/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version.workspace = true
description = "Minimal sufficient architecture that allows for a fully functional ink! contract development"

[dependencies]
contract-metadata = { workspace = true, optional = true}
contract-metadata = { workspace = true, optional = true }
contract-transcode = { workspace = true, optional = true }
frame-metadata = { workspace = true }
frame-support = { workspace = true }
Expand All @@ -29,6 +29,7 @@ serde_json = { workspace = true, optional = true }
scale-info = { workspace = true }
thiserror = { workspace = true }
wat = { workspace = true }
wasm-instrument = { workspace = true }

drink-test-macro = { workspace = true }

Expand Down
8 changes: 4 additions & 4 deletions drink/test-macro/src/contract_building.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use std::{

use cargo_metadata::{Metadata, MetadataCommand, Package};
use contract_build::{
BuildArtifacts, BuildMode, ExecuteArgs, Features, ManifestPath, Network,
OptimizationPasses, OutputType, Target, UnstableFlags, Verbosity,
BuildArtifacts, BuildMode, ExecuteArgs, Features, ManifestPath, Network, OptimizationPasses,
OutputType, Target, UnstableFlags, Verbosity,
};

use crate::bundle_provision::BundleProviderGenerator;
Expand Down Expand Up @@ -60,11 +60,11 @@ fn get_contract_crates(metadata: &Metadata) -> (Option<&Package>, impl Iterator<
let contract_deps = dep_graph
.nodes
.iter()
.filter_map(|node| {
.filter(|node| {
node.features
.contains(&INK_AS_DEPENDENCY_FEATURE.to_string())
.then(|| node.id.clone())
})
.map(|node| node.id.clone())
.map(pkg_lookup);

let root = dep_graph
Expand Down
1 change: 1 addition & 0 deletions examples/chain-extension/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/contract-events/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/cross-contract-call-tracing/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/flipper/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/mocking/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/quick-start-with-drink/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/runtime-interaction/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e76494

Please sign in to comment.