Skip to content
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

m2-mainnet Contracts Update #158

Merged
merged 41 commits into from
Feb 2, 2024
Merged

m2-mainnet Contracts Update #158

merged 41 commits into from
Feb 2, 2024

Conversation

0x0aa0
Copy link
Contributor

@0x0aa0 0x0aa0 commented Jan 5, 2024

Why are these changes needed?

Brings DA contracts up to date with middleware m2-mainnet
Implements IServiceManager interface for DASM

Checks

  • I've made sure the lint is passing in this PR.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, in that case, please comment that they are not relevant.
  • Testing Strategy
    • Unit tests
    • Integration tests
    • This PR is not tested :(

@0x0aa0 0x0aa0 requested a review from mooselumph January 9, 2024 20:05
bytes32 batchHeaderHash = batchHeader.hashBatchHeader();
batchIdToBatchMetadataHashOptimistic[batchIdMemory] = EigenDAHasher.hashBatchHashedMetadata(batchHeaderHash, fee, uint32(block.number));

emit BatchConfirmed(reducedBatchHeaderHash, batchIdMemory, fee, true);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this might mess up our indexing to add another param, so another event might be preferrable.

@mooselumph wdyt

@0x0aa0 0x0aa0 requested a review from teddyknox January 11, 2024 02:52
@0x0aa0 0x0aa0 requested a review from gpsanant January 12, 2024 00:42
@0x0aa0 0x0aa0 requested a review from wadealexc January 12, 2024 21:54
@jianoaix jianoaix self-requested a review January 24, 2024 19:26

emit BatchConfirmed(reducedBatchHeaderHash, batchIdMemory, fee);
emit BatchConfirmed(reducedBatchHeaderHash, batchIdMemory);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems a breaking change, what's the plan to handle this at indexer? I saw G commented this out as well but not yet addressed.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be covered here: #192

Copy link
Contributor

@jianoaix jianoaix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

mooselumph and others added 22 commits January 25, 2024 13:49
Co-authored-by: siddimore <[email protected]>
Co-authored-by: Ian Shim <[email protected]>
Co-authored-by: bolatfurkan <[email protected]>
Co-authored-by: Peter Straus <[email protected]>
Co-authored-by: WELLINGTON MIRANDA BARBOSA <[email protected]>
Co-authored-by: Wellington Barbosa <[email protected]>
Co-authored-by: Jian Xiao <[email protected]>
Co-authored-by: buldazer <[email protected]>
Co-authored-by: Madhur Shrimal <[email protected]>
Co-authored-by: Daniel Mancia <[email protected]>
Co-authored-by: Jian Xiao <[email protected]>
Co-authored-by: quaq <[email protected]>
Co-authored-by: QUAQ <[email protected]>
Copy link
Contributor

@ian-shim ian-shim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 🚀

@ian-shim ian-shim marked this pull request as ready for review February 2, 2024 05:08
@ian-shim ian-shim merged commit 02433a9 into master Feb 2, 2024
5 checks passed
bxue-l2 pushed a commit to bxue-l2/eigenda that referenced this pull request Feb 2, 2024
Co-authored-by: Robert Raynor <[email protected]>
Co-authored-by: Jian Xiao <[email protected]>
Co-authored-by: steven <[email protected]>
Co-authored-by: steven <[email protected]>
Co-authored-by: siddimore <[email protected]>
Co-authored-by: Ian Shim <[email protected]>
Co-authored-by: bolatfurkan <[email protected]>
Co-authored-by: Peter Straus <[email protected]>
Co-authored-by: WELLINGTON MIRANDA BARBOSA <[email protected]>
Co-authored-by: Wellington Barbosa <[email protected]>
Co-authored-by: Jian Xiao <[email protected]>
Co-authored-by: buldazer <[email protected]>
Co-authored-by: Madhur Shrimal <[email protected]>
Co-authored-by: Daniel Mancia <[email protected]>
bxue-l2 pushed a commit to bxue-l2/eigenda that referenced this pull request Feb 3, 2024
Co-authored-by: Robert Raynor <[email protected]>
Co-authored-by: Jian Xiao <[email protected]>
Co-authored-by: steven <[email protected]>
Co-authored-by: steven <[email protected]>
Co-authored-by: siddimore <[email protected]>
Co-authored-by: Ian Shim <[email protected]>
Co-authored-by: bolatfurkan <[email protected]>
Co-authored-by: Peter Straus <[email protected]>
Co-authored-by: WELLINGTON MIRANDA BARBOSA <[email protected]>
Co-authored-by: Wellington Barbosa <[email protected]>
Co-authored-by: Jian Xiao <[email protected]>
Co-authored-by: buldazer <[email protected]>
Co-authored-by: Madhur Shrimal <[email protected]>
Co-authored-by: Daniel Mancia <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants