Skip to content

Commit

Permalink
ENG-578: Rename to fendermint_materializer
Browse files Browse the repository at this point in the history
  • Loading branch information
aakoshh committed Feb 27, 2024
1 parent 80216b9 commit 5a57215
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 54 deletions.
86 changes: 43 additions & 43 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions fendermint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ test: $(BUILTIN_ACTORS_BUNDLE) $(IPC_ACTORS_GEN)
FM_BUILTIN_ACTORS_BUNDLE=$(BUILTIN_ACTORS_BUNDLE) \
FM_CUSTOM_ACTORS_BUNDLE=$(CUSTOM_ACTORS_BUNDLE) \
FM_CONTRACTS_DIR=$(IPC_ACTORS_OUT) \
cargo test --release $(shell echo $(PACKAGE) | sed 's/--package fendermint_testing_materializer//g')
cargo test --release $(shell echo $(PACKAGE) | sed 's/--package fendermint_materializer//g')

# Not using --release beause the build has been done in docker and the wasm code runs inside the container.
e2e: docker-build | cargo-make
cd testing/smoke-test && cargo make --profile $(PROFILE)
cd testing/snapshot-test && cargo make --profile $(PROFILE)
cd testing/graph-test && cargo make --profile $(PROFILE)
PROFILE=$(PROFILE) cargo test --package fendermint_testing_materializer
PROFILE=$(PROFILE) cargo test --package fendermint_materializer

clean:
cargo clean
Expand Down
2 changes: 1 addition & 1 deletion fendermint/testing/graph-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "graph-test"
name = "fendermint_graph_test"
version = "0.1.0"
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions fendermint/testing/materializer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "fendermint_testing_materializer"
name = "fendermint_materializer"
description = "Toolkit to instantiate testnets"
version = "0.1.0"
authors.workspace = true
Expand Down Expand Up @@ -54,7 +54,7 @@ tokio = { workspace = true }
toml = { workspace = true }

# Enable arb on self for tests.
fendermint_testing_materializer = { path = ".", features = ["arb"] }
fendermint_materializer = { path = ".", features = ["arb"] }
fendermint_testing = { path = "..", features = ["golden"] }

[features]
Expand Down
4 changes: 2 additions & 2 deletions fendermint/testing/materializer/tests/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
//!
//! # Example
//!
//! `cargo test -p fendermint_testing_materializer --test docker -- --nocapture`
//! `cargo test -p fendermint_materializer --test docker -- --nocapture`

use std::{env::current_dir, path::PathBuf, pin::Pin, time::Duration};

use anyhow::Context;
use fendermint_testing_materializer::{
use fendermint_materializer::{
docker::{DockerMaterializer, DockerMaterials},
manifest::Manifest,
testnet::Testnet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0, MIT
use anyhow::{anyhow, bail};
use ethers::{providers::Middleware, types::U64};
use fendermint_testing_materializer::HasEthApi;
use fendermint_materializer::HasEthApi;
use futures::FutureExt;

use crate::with_testnet;
Expand Down
6 changes: 3 additions & 3 deletions fendermint/testing/materializer/tests/golden.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
// SPDX-License-Identifier: Apache-2.0, MIT

mod json {
use fendermint_materializer::manifest::Manifest;
use fendermint_testing::golden_json;
use fendermint_testing_materializer::manifest::Manifest;
use quickcheck::Arbitrary;
golden_json! { "manifest/json", manifest, Manifest::arbitrary }
}

mod yaml {
use fendermint_materializer::manifest::Manifest;
use fendermint_testing::golden_yaml;
use fendermint_testing_materializer::manifest::Manifest;
use quickcheck::Arbitrary;
golden_yaml! { "manifest/yaml", manifest, Manifest::arbitrary }
}

mod toml {
use fendermint_materializer::manifest::Manifest;
use fendermint_testing::golden_toml;
use fendermint_testing_materializer::manifest::Manifest;
use quickcheck::Arbitrary;
golden_toml! { "manifest/toml", manifest, Manifest::arbitrary }
}

0 comments on commit 5a57215

Please sign in to comment.