From 0f924836ffb8c442770c1b602327c1ec45e56355 Mon Sep 17 00:00:00 2001 From: syntrust Date: Wed, 6 Mar 2024 14:05:41 -0800 Subject: [PATCH 1/4] replace zkey --- ethstorage/prover/snarkjs/blob_poseidon2.wasm | Bin 5823445 -> 5823453 bytes run.sh | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ethstorage/prover/snarkjs/blob_poseidon2.wasm b/ethstorage/prover/snarkjs/blob_poseidon2.wasm index 720db8b133a53e66ace7a10ab435f574c92085d1..22c2cfa08e8ea299c7e9de7be45b5c925605fbe8 100644 GIT binary patch delta 634 zcmZY3xi5op7{GDAx7xQ=w9Yz9>#F;{&${on&c^gE27^c%i&!Lvnn)R%_zR2{`At#- zix>eqz%D4?wiWjCgUW14^h0}^4BG0pUR ztX$+rg{C^BFGqD7&mPoI@i$4MSuGMG9*sCvkDRfnt%`2o+|GcmIUKs?HHmnb6EMSq zBpGp9Pfm54n|D^1{@U&1|5o!t`+Y0QTRZam)jIgMyu9m5_~yfkWTYS!HrSDdbYvhC zS;&S1ImksG@=<_7I8lURxZp+!N>PS#RKSBuRG}I*s6`#>(SSxYp&2b`MH|}DflhRx z8$IYnANnx>F9tD$VT@oDV;IK-CNYI+%wQHi_z}Py=COc9EXkXX<;z2HEhAgOW}Enu dS9`&Ilg*GIHicMIOzW$m&_+nE90a$ge*n&TBFg{( delta 626 zcmZY3xi5op7{GDAm-a=`I$KJsbyH{6eb!CuK03a!8Ejp|A~DoN%24qa7`w=Ck|x5| zp#zCXNF3>8GMIe_i`Vd3zImP}&$E129uQyFgyC#O+ZEz4p+yp!fPze9!5|Zw@#R7} zx5tF0TIG^WbsMf8)i3ckNkg{k6e1OiI@CrP%u#)cZs6L&fUa4sx;AbUsR$>KjU434 zsKay_*KLOHO)mYl)YJdwd8Pfn72~Y~`Tb_{|1GZ{x)MpIO~^w&3Sfo>g(yNXN>GY2 zSYbmsDqu$?s^EYV)o{U$8q}f=^=LpNn$V0Ec+iSAw4(!^=z Date: Wed, 6 Mar 2024 16:56:39 -0800 Subject: [PATCH 2/4] fixes on sepolia --- cmd/es-utils/utils/utils.go | 3 +++ integration_tests/kzg_prover_test.go | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cmd/es-utils/utils/utils.go b/cmd/es-utils/utils/utils.go index 59a67184..cad28909 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,8 @@ func SendBlobTx( if nok { log.Crit("Gas price is too high!", "value", val.String()) } + log.Info("SendBlobTx", "gasPriceSuggested", gasPrice256) + gasPrice256 = gasPrice256.Mul(gasPrice256, uint256.NewInt(2)) } else { gasPrice256, err = DecodeUint256String(gasPrice) if err != nil { 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), ) From 3317cc4c1c0312e0b8bfd5b6203e2b543962f4a5 Mon Sep 17 00:00:00 2001 From: syntrust Date: Wed, 6 Mar 2024 17:09:09 -0800 Subject: [PATCH 3/4] prompt version --- cmd/es-node/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From 1aa72479056157ccb3c8d427d44e67a32363ef33 Mon Sep 17 00:00:00 2001 From: syntrust Date: Wed, 6 Mar 2024 17:11:05 -0800 Subject: [PATCH 4/4] remove test logic --- cmd/es-utils/utils/utils.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/es-utils/utils/utils.go b/cmd/es-utils/utils/utils.go index cad28909..8859752f 100644 --- a/cmd/es-utils/utils/utils.go +++ b/cmd/es-utils/utils/utils.go @@ -111,7 +111,6 @@ func SendBlobTx( log.Crit("Gas price is too high!", "value", val.String()) } log.Info("SendBlobTx", "gasPriceSuggested", gasPrice256) - gasPrice256 = gasPrice256.Mul(gasPrice256, uint256.NewInt(2)) } else { gasPrice256, err = DecodeUint256String(gasPrice) if err != nil {