Skip to content

Commit

Permalink
Merge branch 'main' into issue237
Browse files Browse the repository at this point in the history
  • Loading branch information
ping-ke authored Mar 23, 2024
2 parents 43ea188 + 51976e7 commit 9c510d2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/es-node/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
var (
GitCommit = ""
GitDate = ""
Version = "v0.1.10"
Version = "v0.1.11"
Meta = "dev"
BuildTime = ""
systemVersion = fmt.Sprintf("%s/%s", runtime.GOARCH, runtime.GOOS)
Expand Down
8 changes: 6 additions & 2 deletions ethstorage/miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,17 @@ func (w *worker) resultLoop() {
log.Warn("Waiting for mining transaction confirm timed out", "txHash", txHash)
break
}

checked++
_, isPending, err := w.l1API.TransactionByHash(context.Background(), txHash)
if err == nil && !isPending {
if err != nil {
log.Error("Querying transaction by hash failed", "error", err, "txHash", txHash)
continue
} else if !isPending {
log.Info("Mining transaction confirmed", "txHash", txHash)
w.checkTxStatus(txHash, result.miner)
break
}
checked++
}
ticker.Stop()
}
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ echo "zk prover mode is $zkp_mode"
# download zkey if not yet
zkey_name="blob_poseidon2.zkey"
zkey_size=560301223
zkey_url="https://drive.usercontent.google.com/download?id=1G7LmOx7hNE5GHc-M6yOjVB3ZZ4J6xUYO&export=download&confirm=t&uuid=d605a067-612f-41d0-b004-21ee6f0ec858"
zkey_url="https://es-node-zkey.s3.us-west-1.amazonaws.com/blob_poseidon2_testnet1.zkey"
if [ "$zkp_mode" = 1 ]; then
zkey_name="blob_poseidon.zkey"
zkey_size=280151245
Expand Down

0 comments on commit 9c510d2

Please sign in to comment.