Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove depricated rpc flag from geth. #6

Merged
merged 2 commits into from Oct 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dapp/default.nix
Expand Up @@ -4,7 +4,7 @@

stdenv.mkDerivation rec {
name = "dapp-${version}";
version = "0.29.0-v1.10.8-statediff-0.0.27";
version = "0.30.0-v1.10.9-statediff-0.0.27";
src = ./.;

nativeBuildInputs = [makeWrapper shellcheck coreutils nodejs];
Expand Down
4 changes: 2 additions & 2 deletions src/dapp/libexec/dapp/dapp---testnet-launch
Expand Up @@ -129,8 +129,8 @@ geth \
2> >(tee "$chaindir/geth.log" | grep --line-buffered Success | sed 's/^/geth: /' >&2) \
--datadir "$chaindir" --networkid "$CHAINID" --port="$port" \
--mine --miner.threads=1 --allow-insecure-unlock \
--rpc --rpcapi "web3,eth,net,debug,personal,statediff" --rpccorsdomain '*' --rpcvhosts '*' --nodiscover \
--rpcaddr="$RPC_ADDRESS" --rpcport="$RPC_PORT" --syncmode=full --gcmode=archive \
--http --http.api "web3,eth,net,debug,personal,statediff" --http.corsdomain '*' --http.vhosts '*' --nodiscover \
--http.addr="$RPC_ADDRESS" --http.port="$RPC_PORT" --syncmode=full --gcmode=archive \
--statediff --statediff.db="host=$DB_HOST port=$DB_PORT user=$DB_USER password=$DB_PASSWORD dbname=$DB_NAME sslmode=disable" \
--statediff.dbnodeid 1 --statediff.dbclientname test1 --statediff.writing=true \
--ws --ws.addr="0.0.0.0" --unlock="$(IFS=,; echo "${address[*]}")" --password=<(exit) &
Expand Down
2 changes: 1 addition & 1 deletion src/dapp/libexec/dapp/dapp---version
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
echo dapp 0.29.0-v1.10.8-statediff-0.0.27
echo dapp 0.30.0-v1.10.9-statediff-0.0.27
# use a custom path is DAPP_SOLC is set
SOLC=${DAPP_SOLC:-solc}
$SOLC --version
Expand Down
4 changes: 2 additions & 2 deletions src/go-ethereum-statediff/default.nix
Expand Up @@ -2,10 +2,10 @@

stdenv.mkDerivation rec {
name = "go-ethereum-statediff";
version = "v1.10.8-statediff-0.0.27";
version = "v1.10.9-statediff-0.0.27";
src = fetchurl {
url = "https://github.com/vulcanize/go-ethereum/releases/download/${version}/geth-linux-amd64";
sha256 = "12i3wrriza99ka42f6wr0kf1mpdapw92cz2kvb56ng6ci7s0dizs";
sha256 = "0sah9cmc7k1s7bf8m5slhp3dhiwf436pmjg8553n0kpkgig9n6cg";
};

phases = ["installPhase" "patchPhase"];
Expand Down