forked from paradigmxyz/reth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start using alloy_primitives serde features isntead of custom deseral…
…ization, tweak and add scritps
- Loading branch information
Showing
6 changed files
with
70 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
INSTALL_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" | ||
OG_DIR="$(pwd)" | ||
cd $INSTALL_ROOT | ||
cargo build --features telos | ||
cd $OG_DIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
INSTALL_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" | ||
OG_DIR="$(pwd)" | ||
cd $INSTALL_ROOT | ||
|
||
LOG_NAME="$(basename $INSTALL_ROOT)" | ||
LOG_PATH="$INSTALL_ROOT/$LOG_NAME.log" | ||
|
||
CLIENT_BIN="$INSTALL_ROOT/target/debug/reth" | ||
|
||
export RUST_BACKTRACE=full | ||
|
||
$CLIENT_BIN node --log.stdout.filter info \ | ||
--dev \ | ||
--datadir $INSTALL_ROOT/data \ | ||
--chain tevmmainnet-base \ | ||
--config $INSTALL_ROOT/config.toml \ | ||
--http --http.api all \ | ||
--ws --ws.api all \ | ||
--telos.telos_endpoint https://mainnet.telos.net \ | ||
--telos.signer_account rpc.evm \ | ||
--telos.signer_permission rpc \ | ||
--telos.signer_key 5Hq1FmDPfxxxxxxxxxxxxxxynBtJ6oS5C7LfZE5MMyZeRJ \ | ||
--telos.gas_cache_seconds 30 \ | ||
"$@" | ||
|
||
cd $OG_DIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
|
||
INSTALL_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" | ||
OG_DIR="$(pwd)" | ||
cd $INSTALL_ROOT | ||
|
||
LOG_NAME="$(basename $INSTALL_ROOT)" | ||
LOG_PATH="$INSTALL_ROOT/$LOG_NAME.log" | ||
|
||
CLIENT_BIN="$INSTALL_ROOT/target/debug/reth" | ||
|
||
export RUST_BACKTRACE=full | ||
|
||
nohup $CLIENT_BIN node --log.stdout.filter info \ | ||
--dev \ | ||
--datadir $INSTALL_ROOT/data \ | ||
--chain tevmmainnet-base \ | ||
--config $INSTALL_ROOT/config.toml \ | ||
--http --http.api all \ | ||
--ws --ws.api all \ | ||
--telos.telos_endpoint https://mainnet.telos.net \ | ||
--telos.signer_account rpc.evm \ | ||
--telos.signer_permission rpc \ | ||
--telos.signer_key 5Hq1FmDPfxxxxxxxxxxxxxxynBtJ6oS5C7LfZE5MMyZeRJ \ | ||
--telos.gas_cache_seconds 30 \ | ||
"$@" >> "$LOG_PATH" 2>&1 & | ||
|
||
PID="$!" | ||
echo "telos-reth started with pid $PID logging to $LOG_PATH" | ||
echo $PID > $INSTALL_ROOT/telos-reth.pid | ||
cd $OG_DIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters