diff --git a/cmd/es-node/main.go b/cmd/es-node/main.go index 42e8cef5..1f84fe47 100644 --- a/cmd/es-node/main.go +++ b/cmd/es-node/main.go @@ -30,7 +30,7 @@ import ( var ( GitCommit = "" GitDate = "" - Version = "v0.1.7" + Version = "v0.1.8" Meta = "dev" BuildTime = "" systemVersion = fmt.Sprintf("%s/%s", runtime.GOARCH, runtime.GOOS) diff --git a/cmd/es-utils/utils/utils.go b/cmd/es-utils/utils/utils.go index 59a67184..8859752f 100644 --- a/cmd/es-utils/utils/utils.go +++ b/cmd/es-utils/utils/utils.go @@ -97,6 +97,7 @@ func SendBlobTx( } nonce = int64(pendingNonce) } + log.Info("SendBlobTx", "nonce", nonce) var gasPrice256 *uint256.Int if gasPrice == "" { @@ -109,6 +110,7 @@ func SendBlobTx( if nok { log.Crit("Gas price is too high!", "value", val.String()) } + log.Info("SendBlobTx", "gasPriceSuggested", gasPrice256) } else { gasPrice256, err = DecodeUint256String(gasPrice) if err != nil { diff --git a/ethstorage/prover/snarkjs/blob_poseidon2.wasm b/ethstorage/prover/snarkjs/blob_poseidon2.wasm index 720db8b1..22c2cfa0 100644 Binary files a/ethstorage/prover/snarkjs/blob_poseidon2.wasm and b/ethstorage/prover/snarkjs/blob_poseidon2.wasm differ diff --git a/integration_tests/kzg_prover_test.go b/integration_tests/kzg_prover_test.go index dc88b8c8..8e2fcfbe 100644 --- a/integration_tests/kzg_prover_test.go +++ b/integration_tests/kzg_prover_test.go @@ -124,7 +124,8 @@ func uploadBlob(t *testing.T, data []byte) common.Hash { Data: calldata, }) if err != nil { - lg.Crit("Estimate gas failed", "error", err.Error()) + // estimate gas of blobhash does not work correctly but exec works + lg.Warn("Estimate gas failed", "error", err.Error()) } lg.Info("Estimated gas done", "gas", estimatedGas) @@ -139,7 +140,7 @@ func uploadBlob(t *testing.T, data []byte) common.Hash { 510000, "", "", - "100000000", + "40000000000", chainID.String(), "0x"+common.Bytes2Hex(calldata), ) diff --git a/run.sh b/run.sh index ecf09f5a..4a9f48df 100755 --- a/run.sh +++ b/run.sh @@ -57,8 +57,8 @@ echo "zk prover mode is $zkp_mode" # download zkey if not yet zkey_name="blob_poseidon2.zkey" -zkey_size=560300809 -zkey_url="https://drive.usercontent.google.com/download?id=1olfJvXPJ25Rbcjj9udFlIVr08cUCgE4l&export=download&confirm=t&uuid=724a4ed0-c344-4cc1-9078-f50751028725" +zkey_size=560301223 +zkey_url="https://drive.usercontent.google.com/download?id=1G7LmOx7hNE5GHc-M6yOjVB3ZZ4J6xUYO&export=download&confirm=t&uuid=d605a067-612f-41d0-b004-21ee6f0ec858" if [ "$zkp_mode" = 1 ]; then zkey_name="blob_poseidon.zkey" zkey_size=280151245