mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-10 10:05:17 +00:00
update default config (#105)
This commit is contained in:
parent
9e0d4deb47
commit
16d9beae15
@ -22,9 +22,10 @@ sed -in-place='' "s/miner_key = \"\"/miner_key = \"$MINER_KEY\"/g" $FILE
|
||||
# set miner contract address
|
||||
sed -in-place='' "s/mine_contract_address = \"0x8B9221eE2287aFBb34A7a1Ef72eB00fdD853FFC2\"/mine_contract_address = \"$MINE_CONTRACT\"/g" $FILE
|
||||
# set blockchain rpc endpoint
|
||||
sed -in-place='' "s/blockchain_rpc_endpoint = \"https:\/\/rpc-testnet.0g.ai\"/blockchain_rpc_endpoint = \"$BLOCKCHAIN_RPC\"/g" $FILE
|
||||
sed -in-place='' "s|blockchain_rpc_endpoint = \"https:\/\/rpc-testnet.0g.ai\"|blockchain_rpc_endpoint = \"$BLOCKCHAIN_RPC\"|g" $FILE
|
||||
# set flow contract address
|
||||
sed -in-place='' "s/log_contract_address = \"0x22C1CaF8cbb671F220789184fda68BfD7eaA2eE1\"/log_contract_address = \"$FLOW_CONTRACT\"/g" $FILE
|
||||
# set contract deployed block number
|
||||
sed -in-place='' "s/log_sync_start_block_number = 512567/log_sync_start_block_number = $BLOCK_NUMBER/g" $FILE
|
||||
|
||||
# update the boot node ids
|
||||
sed -in-place='' 's|network_boot_nodes = .*|network_boot_nodes = ["/ip4/54.219.26.22/udp/1234/p2p/16Uiu2HAmTVDGNhkHD98zDnJxQWu3i1FL1aFYeh9wiQTNu4pDCgps","/ip4/52.52.127.117/udp/1234/p2p/16Uiu2HAkzRjxK2gorngB1Xq84qDrT4hSVznYDHj6BkbaE4SGx9oS"]|g' $FILE
|
||||
|
Loading…
Reference in New Issue
Block a user