Skip to content

Commit

Permalink
wip grpcurl debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
eureka-cpu committed Jul 17, 2024
1 parent 90632df commit d1440b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions deployments/lasr_node/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ in
batch_interval=180
ipfs_path="/app/tmp/kubo"
runsc_bin_path="${pkgs.gvisor}/bin/runsc"
grpcurl="${pkgs.grpcurl}/bin/grpcurl"
echo "set -o noclobber" > ~/.bashrc
echo "export SECRET_KEY=$secret_key" >> ~/.bashrc
echo "export BLOCKS_PROCESSED_PATH=$block_path" >> ~/.bashrc
Expand All @@ -335,6 +336,7 @@ in
echo "export BATCH_INTERVAL=$batch_interval" >> ~/.bashrc
echo "export IPFS_PATH=$ipfs_path" >> ~/.bashrc
echo "export RUNSC_BIN_PATH=$runsc_bin_path" >> ~/.bashrc
echo "alias grpcurl='$grpcurl'" >> ~/.bashrc
echo "[[ \$- == *i* && -f \"\$HOME/.bashrc\" ]] && source \"\$HOME/.bashrc\"" > ~/.bash_profile
echo "Successfully initialized lasr_node environment."
'';
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

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

0 comments on commit d1440b9

Please sign in to comment.