-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Banana
changes on sequence sender
#15
feat: Banana
changes on sequence sender
#15
Conversation
Banana
changes on sequence sender
Banana
changes on sequence sender
86bc8e4
to
9bb2676
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but would love to see some e2e test passing before merging
@@ -995,7 +1004,7 @@ func (s *SequenceSender) addInfoSequenceBatchEnd(batch *datastream.BatchEnd) { | |||
if data != nil { | |||
wipBatch := data.batch | |||
if wipBatch.BatchNumber == batch.Number { | |||
wipBatch.StateRoot = common.BytesToHash(batch.StateRoot) | |||
// wipBatch.StateRoot = common.BytesToHash(batch) TODO: check if this is needed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we know what is the outcome of this TODO?
cc @arnaubennassar do we need to set the StateRoot
for the WIP batch?
Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Goran Rojovic <[email protected]>
8b22abb
to
1b33233
Compare
|
* banana changes * fix: old acc input hash fix * fix: update DAC dependency * fix: move seqence struct to etherman package * fix: move CalculateAccInputHash to common package * fix: datacommittee contract to point to banana * fix: ut * wip * remove IsValidium from seqSender code * remove unused file * renamed * wip * add errors * revert multi-fork for etherman and remove wrappers for contracts * add elderberry validium * wip-elderberry validium * add translator to override DAC members URLs * add auto-config kurtosis environment * fix bugs, fix kurtosis config * maxbatchesforL1=0 -> disabled * wip * fix script * add e2e test * comments on PR * wip * wip * wip * wip * add verify batches check * test * wip * wip * placeholder for testing GHaction * wip * wip * wip * wip * wip * wip * wip * disabled datacommitte test because PUSH0 is not supported by geth simulated * wip * PR comments * Update dataavailability/datacommittee/datacommittee.go Co-authored-by: Stefan Negovanović <[email protected]> * PR comments * Update dataavailability/datacommittee/datacommittee_test.go Co-authored-by: Stefan Negovanović <[email protected]> * Update test/scripts/config_kurtosis_for_local_run.sh Co-authored-by: Stefan Negovanović <[email protected]> * PR comments * Update test/config/test.kurtosis_template.toml Co-authored-by: Stefan Negovanović <[email protected]> * PR comments * PR comments * PR comments * PR comments * PR comments * Update cmd/run.go Co-authored-by: Goran Rojovic <[email protected]> * PR comments * fix Dockerfile * fix: race conditions in reorg detector --------- Co-authored-by: joanestebanr <[email protected]> Co-authored-by: Stefan Negovanović <[email protected]>
Description
This PR implements
Banana
fork changes to thesequence sender
. Mainly:DAC
endpoint calledSignSequenceBanana
to sign a new sequence.L1InfoRootIndex
for the sequence and sending it to the contract.accumulated input hash
for the new sequence.