Skip to content

Commit abfa8d3

Browse files
committed
Fix merge conflicts
1 parent 1337bc6 commit abfa8d3

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

node/full_node_integration_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,6 @@ func TestDataExchange(t *testing.T) {
278278
t.Run("SingleSequencerTwoFullNodes", func(t *testing.T) {
279279
testSingleSequencerTwoFullNodes(t, Data)
280280
})
281-
t.Run("SingleSequencerSingleFullNodeTrustedHash", func(t *testing.T) {
282-
testSingleSequencerSingleFullNodeTrustedHash(t, Data)
283-
})
284281
}
285282

286283
// TestHeaderExchange verifies header exchange and synchronization between nodes in various network topologies.

test/e2e/failover_e2e_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func verifyNoDoubleSigning(t *testing.T, clusterNodes *raftClusterNodes, genesis
268268
// verifyBlocks checks that DA block heights form a continuous sequence without gaps
269269
func verifyBlocks(t *testing.T, daStartHeight, lastDABlock uint64, jwtSecret string, daAddress string, genesisHeight, lastEVBlock uint64) {
270270
t.Helper()
271-
client, err := jsonrpc.NewClient(t.Context(), zerolog.Nop(), daAddress, jwtSecret, 0, 1, 0)
271+
client, err := jsonrpc.NewClient(t.Context(), zerolog.Nop(), daAddress, jwtSecret, defaultMaxBlobSize)
272272
require.NoError(t, err)
273273
defer client.Close()
274274

@@ -448,13 +448,15 @@ func submitTxToURL(t *testing.T, client *ethclient.Client) (common.Hash, uint64)
448448
return tx.Hash(), blk
449449
}
450450

451+
const defaultMaxBlobSize = 2 * 1024 * 1024 // 2MB
452+
451453
func queryLastDAHeight(t *testing.T, startHeight uint64, jwtSecret string, daAddress string) uint64 {
452454
t.Helper()
453455
logger := zerolog.Nop()
454456
if testing.Verbose() {
455457
logger = zerolog.New(zerolog.NewTestWriter(t)).Level(zerolog.DebugLevel)
456458
}
457-
client, err := jsonrpc.NewClient(t.Context(), logger, daAddress, jwtSecret, 0, 1, 0)
459+
client, err := jsonrpc.NewClient(t.Context(), logger, daAddress, jwtSecret, defaultMaxBlobSize)
458460
require.NoError(t, err)
459461
defer client.Close()
460462
var lastDABlock = startHeight

test/e2e/go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ require (
2020

2121
replace (
2222
github.com/evstack/ev-node => ../../
23+
github.com/evstack/ev-node/da => ../../da
2324
github.com/evstack/ev-node/execution/evm => ../../execution/evm
2425
github.com/evstack/ev-node/execution/evm/test => ../../execution/evm/test
2526
)
@@ -88,7 +89,7 @@ require (
8889
github.com/ethereum/go-verkle v0.2.2 // indirect
8990
github.com/felixge/httpsnoop v1.0.4 // indirect
9091
github.com/ferranbt/fastssz v0.1.4 // indirect
91-
github.com/filecoin-project/go-jsonrpc v0.8.0 // indirect
92+
github.com/filecoin-project/go-jsonrpc v0.9.0 // indirect
9293
github.com/fsnotify/fsnotify v1.9.0 // indirect
9394
github.com/getsentry/sentry-go v0.27.0 // indirect
9495
github.com/go-kit/kit v0.13.0 // indirect

test/e2e/go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,6 @@ github.com/ethereum/go-verkle v0.2.2 h1:I2W0WjnrFUIzzVPwm8ykY+7pL2d4VhlsePn4j7cn
200200
github.com/ethereum/go-verkle v0.2.2/go.mod h1:M3b90YRnzqKyyzBEWJGqj8Qff4IDeXnzFw0P9bFw3uk=
201201
github.com/evstack/ev-node/core v1.0.0-beta.5 h1:lgxE8XiF3U9pcFgh7xuKMgsOGvLBGRyd9kc9MR4WL0o=
202202
github.com/evstack/ev-node/core v1.0.0-beta.5/go.mod h1:n2w/LhYQTPsi48m6lMj16YiIqsaQw6gxwjyJvR+B3sY=
203-
github.com/evstack/ev-node/da v1.0.0-beta.4 h1:6W+UsQrsEdBbAnyy8j+lYNo2VQvJUaoSNkToMFThtVU=
204-
github.com/evstack/ev-node/da v1.0.0-beta.4/go.mod h1:O3Lbx4/WFN0DIUOHdTihmyRnGmQwVXdswH19RW/KyG4=
205203
github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
206204
github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE=
207205
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
@@ -210,8 +208,8 @@ github.com/ferranbt/fastssz v0.1.4 h1:OCDB+dYDEQDvAgtAGnTSidK1Pe2tW3nFV40XyMkTeD
210208
github.com/ferranbt/fastssz v0.1.4/go.mod h1:Ea3+oeoRGGLGm5shYAeDgu6PGUlcvQhE2fILyD9+tGg=
211209
github.com/filecoin-project/go-clock v0.1.0 h1:SFbYIM75M8NnFm1yMHhN9Ahy3W5bEZV9gd6MPfXbKVU=
212210
github.com/filecoin-project/go-clock v0.1.0/go.mod h1:4uB/O4PvOjlx1VCMdZ9MyDZXRm//gkj1ELEbxfI1AZs=
213-
github.com/filecoin-project/go-jsonrpc v0.8.0 h1:2yqlN3Vd8Gx5UtA3fib7tQu2aW1cSOJt253LEBWExo4=
214-
github.com/filecoin-project/go-jsonrpc v0.8.0/go.mod h1:p8WGOwQGYbFugSdK7qKIGhhb1VVcQ2rtBLdEiik1QWI=
211+
github.com/filecoin-project/go-jsonrpc v0.9.0 h1:G47qEF52w7GholpI21vPSTVBFvsrip6geIoqNiqyZtQ=
212+
github.com/filecoin-project/go-jsonrpc v0.9.0/go.mod h1:OG7kVBVh/AbDFHIwx7Kw0l9ARmKOS6gGOr0LbdBpbLc=
215213
github.com/flynn/noise v1.1.0 h1:KjPQoQCEFdZDiP03phOvGi11+SVVhBG2wOWAorLsstg=
216214
github.com/flynn/noise v1.1.0/go.mod h1:xbMo+0i6+IGbYdJhF31t2eR1BIU0CYc12+BNAKwUTag=
217215
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=

0 commit comments

Comments
 (0)