Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Add sequencer data to stream server #2517

Merged
merged 35 commits into from
Sep 19, 2023
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
4a89b44
add data stream server to sequencer
ToniRamirezM Sep 6, 2023
6a73402
update docker-compose
ToniRamirezM Sep 6, 2023
ece27bc
add sequencer data to stream server
ToniRamirezM Sep 6, 2023
ded9cfa
update doc
ToniRamirezM Sep 6, 2023
fa7a79a
add rollback and entries definition
ToniRamirezM Sep 7, 2023
f41cbc2
update to alpha3
ToniRamirezM Sep 7, 2023
89a3847
fix missing dbTx
ToniRamirezM Sep 8, 2023
79d02a0
update to alpha4
ToniRamirezM Sep 8, 2023
e449f10
update to alpha4
ToniRamirezM Sep 8, 2023
13e0301
Fix rom ooc error detection (#2527) (#2528)
ARR552 Sep 8, 2023
0b021af
readme change
ARR552 Sep 8, 2023
d66fba1
cherry-pick #2524 from develop into v0.3.1 (#2531)
agnusmor Sep 9, 2023
e3063d5
improve: adding handling of odd-length hex strings in .
Psykepro Aug 31, 2023
fe421a1
Merge pull request #2533 from 0xPolygonHermez/cherry-pick/decode-hex-…
Psykepro Sep 11, 2023
a6cd85f
Merge branch 'release/v0.3.1' into feature/sequencerDataStream
ToniRamirezM Sep 12, 2023
c499058
refactor
ToniRamirezM Sep 12, 2023
9db47c1
update doc
ToniRamirezM Sep 12, 2023
d74aee4
fix test
ToniRamirezM Sep 12, 2023
adbe5c4
fix test
ToniRamirezM Sep 12, 2023
c62e9dc
fix config test
ToniRamirezM Sep 12, 2023
5f6e28f
fix config test
ToniRamirezM Sep 12, 2023
315a2cc
fix config test
ToniRamirezM Sep 12, 2023
20beebd
fix config test
ToniRamirezM Sep 12, 2023
e617ef0
fix synch test
ToniRamirezM Sep 12, 2023
1de3137
fix synch test
ToniRamirezM Sep 12, 2023
3c9f38e
fix synch test
ToniRamirezM Sep 12, 2023
0bace42
fix synch test
ToniRamirezM Sep 12, 2023
0c05d3a
fix synch test
ToniRamirezM Sep 12, 2023
1b3f9cf
fix synch test
ToniRamirezM Sep 12, 2023
7a9d134
comments
ToniRamirezM Sep 14, 2023
cab4cec
udpate data stream version
ToniRamirezM Sep 14, 2023
413e9e5
revert geth version
ToniRamirezM Sep 14, 2023
856f97f
udpate geth version
ToniRamirezM Sep 14, 2023
ae5fa60
fix trace test
dependabot[bot] Sep 15, 2023
1926eaf
update data streamer module version
ToniRamirezM Sep 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix synch test
  • Loading branch information
ToniRamirezM committed Sep 12, 2023
commit 1b3f9cf81c8ec2e302b891d54ffadd212936b700
15 changes: 10 additions & 5 deletions synchronizer/synchronizer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -679,11 +679,13 @@ func expectedCallsForsyncTrustedState(t *testing.T, m *mocks, sync *ClientSynchr
if needToRetrieveBatchFromDatabase {
m.State.
On("GetBatchByNumber", mock.Anything, uint64(batchInPermissionLess.Number-1), mock.Anything).
Return(&stateBatchInPermissionLess, nil)
Return(&stateBatchInPermissionLess, nil).
Once()

m.State.
On("GetBatchByNumber", mock.Anything, uint64(batchInPermissionLess.Number), mock.Anything).
Return(&stateBatchInPermissionLess, nil)
Return(&stateBatchInPermissionLess, nil).
Once()
}

m.State.
Expand Down Expand Up @@ -721,13 +723,16 @@ func expectedCallsForsyncTrustedState(t *testing.T, m *mocks, sync *ClientSynchr

m.State.
On("StoreTransaction", sync.ctx, uint64(stateBatchInTrustedNode.BatchNumber), mock.Anything, stateBatchInTrustedNode.Coinbase, uint64(batchInTrustedNode.Timestamp), m.DbTx).
Return(&ethTypes.Header{}, nil)
Return(&ethTypes.Header{}, nil).
Once()

m.State.
On("GetStoredFlushID", sync.ctx).
Return(uint64(1), cProverIDExecution, nil)
Return(uint64(1), cProverIDExecution, nil).
Once()

m.DbTx.
On("Commit", sync.ctx).
Return(nil)
Return(nil).
Once()
}