Skip to content

Commit

Permalink
Remove comnet configuration (#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez authored Mar 28, 2022
1 parent 3b51fab commit a6628e9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 260 deletions.
129 changes: 0 additions & 129 deletions bee-node/config.chrysalis-comnet.json

This file was deleted.

118 changes: 0 additions & 118 deletions bee-node/config.chrysalis-comnet.toml

This file was deleted.

2 changes: 0 additions & 2 deletions bee-node/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ EXPOSE 14626/udp
COPY --chown=nonroot:nonroot --from=build /bee/target/production/bee /app/bee

# Copy the profiles
COPY --from=build /bee/bee-node/config.chrysalis-comnet.toml /app/.
COPY --from=build /bee/bee-node/config.chrysalis-devnet.toml /app/.
COPY --from=build /bee/bee-node/config.chrysalis-mainnet.toml /app/.

COPY --from=build /bee/bee-node/config.chrysalis-comnet.json /app/.
COPY --from=build /bee/bee-node/config.chrysalis-devnet.json /app/.
COPY --from=build /bee/bee-node/config.chrysalis-mainnet.json /app/.

Expand Down
11 changes: 0 additions & 11 deletions bee-node/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,17 +284,6 @@ mod test {

#[test]
fn config_files_conformity() -> Result<(), NodeConfigError> {
let json = NodeConfigBuilder::<Storage>::from_file(concat!(
env!("CARGO_MANIFEST_DIR"),
"/config.chrysalis-comnet.json"
))?;
let toml = NodeConfigBuilder::<Storage>::from_file(concat!(
env!("CARGO_MANIFEST_DIR"),
"/config.chrysalis-comnet.toml"
))?;

assert!(json == toml);

let json = NodeConfigBuilder::<Storage>::from_file(concat!(
env!("CARGO_MANIFEST_DIR"),
"/config.chrysalis-devnet.json"
Expand Down

0 comments on commit a6628e9

Please sign in to comment.