Skip to content

Commit

Permalink
Update export instructions + remove unused script
Browse files Browse the repository at this point in the history
  • Loading branch information
fridrik01 committed May 8, 2024
1 parent 8b53824 commit 2df08f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 66 deletions.
19 changes: 9 additions & 10 deletions fendermint/testing/materializer/scripts/standalone-export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,22 @@ rm -rf ~/.fendermint && cp -r out/fendermint ~/.fendermint
rm -rf ~/.cometbft && cp -r out/cometbft ~/.cometbft

echo "Data exported successfully"

echo
echo "start fendermint eth api"
echo source ~/workspace/ipc/fendermint/testing/materializer/scripts/fendermint.env
echo ~/workspace/ipc/target/release/fendermint eth run
echo
echo "start fendermint"
echo "start fendermint (remember to edit the fendermint.env appropriately)"
echo source ~/workspace/ipc/fendermint/testing/materializer/scripts/fendermint.env
echo ~/workspace/ipc/target/release/fendermint run
echo
echo "start cometbft"
echo "start cometbft (remember to edit the cometbft.env appropriately)"
echo cd ~/.cometbft
echo source ~/workspace/ipc/fendermint/testing/materializer/scripts/cometbft.env
echo cometbft start


# query cometbft
# curl http://localhost:26657/status
#
# query fendermint eth api
# curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":0,"method":"eth_chainId","params":[]}' http://localhost:8445
echo
echo "Once started, you can run the following commands"
echo "Query cometbft:"
echo " curl http://localhost:26657/status"
echo "Query fendermint eth api:"
echo " curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":0,"method":"eth_chainId","params":[]}' http://localhost:8445"
1 change: 0 additions & 1 deletion fendermint/testing/materializer/src/docker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,6 @@ impl Materializer<DockerMaterials> for DockerMaterializer {
where
's: 'a,
{
//todo!("use curl or something to trigger the faucet")
Ok(())
}

Expand Down
55 changes: 0 additions & 55 deletions scripts/deploy_subnet_under_calibration_net/deploy_single_node.sh

This file was deleted.

0 comments on commit 2df08f9

Please sign in to comment.