Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions examples/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import fs from "fs";
import assert from "assert";

// ---- CONFIG ----
export const WS_ENDPOINT = 'ws://127.0.0.1:10000'; // Bulletin node
export const IPFS_API = 'http://127.0.0.1:5001'; // Local IPFS daemon
Comment on lines -8 to -9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not used anywhere :)

export const HTTP_IPFS_API = 'http://127.0.0.1:8080'; // Local IPFS HTTP gateway
export const CHUNK_SIZE = 1 * 1024 * 1024; // 1 MiB
// -----------------
Expand Down
7 changes: 6 additions & 1 deletion examples/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,12 @@ ipfs-start test_dir: _check-docker
echo " Container: ipfs-node"
echo " Waiting for container to start..."
sleep 5


# Bitswap logging
docker logs -f ipfs-node >> {{ test_dir }}/ipfs-node.log 2>&1 &
docker exec ipfs-node ipfs log level bitswap debug
docker exec ipfs-node ipfs log level bitswap/client debug

# Store container name in PID directory for cleanup
echo "ipfs-node" > {{ test_dir }}/ipfs-docker.container

Expand Down
4 changes: 2 additions & 2 deletions zombienet/bulletin-polkadot-local.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ name = "alice"
p2p_port = 10001
rpc_port = 10000
validator = true
args = ["--ipfs-server", "-lruntime=trace,sub-libp2p::bitswap=trace,runtime::transaction-storage=trace"]
args = ["--ipfs-server", "-lruntime=debug,sub-libp2p::bitswap=trace,runtime::transaction-storage=trace,litep2p::ipfs::bitswap=debug"]

[[relaychain.nodes]]
name = "bob"
p2p_port = 12347
rpc_port = 12346
validator = true
args = ["-lruntime=trace,bitswap=trace,sub-libp2p::bitswap=trace,runtime::transaction-storage=trace"]
args = ["-lruntime=debug,bitswap=trace,sub-libp2p::bitswap=trace,runtime::transaction-storage=trace,litep2p::ipfs::bitswap=debug"]