Skip to content

fix(sdk): comment out getMessagesByAddress#2330

Merged
smartcontracts merged 1 commit intodevelopfrom
sc/sdk-rm-messages-fn
Mar 16, 2022
Merged

fix(sdk): comment out getMessagesByAddress#2330
smartcontracts merged 1 commit intodevelopfrom
sc/sdk-rm-messages-fn

Conversation

@smartcontracts
Copy link
Copy Markdown
Contributor

Description
Removes getMessagesByAddress from the SDK until we can get the function
to work properly. Likely requires the indexer to be integrated into the
SDK or to figure out some new way to quickly get all of the data we
need. Better to comment this out to avoid confusion.

Removes getMessagesByAddress from the SDK until we can get the function
to work properly. Likely requires the indexer to be integrated into the
SDK or to figure out some new way to quickly get all of the data we
need. Better to comment this out to avoid confusion.
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 15, 2022

🦋 Changeset detected

Latest commit: d49feca

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@eth-optimism/sdk Patch
@eth-optimism/message-relayer Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the A-pkg-sdk Area: packages/sdk label Mar 15, 2022
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 15, 2022

Codecov Report

Merging #2330 (d49feca) into develop (dc53a3b) will increase coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2330      +/-   ##
===========================================
+ Coverage    80.08%   80.14%   +0.06%     
===========================================
  Files           77       77              
  Lines         2460     2458       -2     
  Branches       450      450              
===========================================
  Hits          1970     1970              
+ Misses         490      488       -2     
Flag Coverage Δ
contracts 99.29% <ø> (ø)
core-utils 86.77% <ø> (ø)
data-transport-layer 49.72% <ø> (ø)
sdk 55.90% <ø> (+0.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/sdk/src/cross-chain-messenger.ts 65.20% <ø> (+0.35%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 17b11be...d49feca. Read the comment docs.

@tynes
Copy link
Copy Markdown
Contributor

tynes commented Mar 15, 2022

I think you should delete it or make it private instead of commenting it out

@smartcontracts
Copy link
Copy Markdown
Contributor Author

I think you should delete it or make it private instead of commenting it out

Do you have a strong preference on this? I don't think it makes a huge difference and at least it shows that we intend to add the code later for anyone reading the source.

@tynes
Copy link
Copy Markdown
Contributor

tynes commented Mar 16, 2022

I think you should delete it or make it private instead of commenting it out

Do you have a strong preference on this? I don't think it makes a huge difference and at least it shows that we intend to add the code later for anyone reading the source.

No strong opinions here

@smartcontracts smartcontracts merged commit c4120a2 into develop Mar 16, 2022
@smartcontracts smartcontracts deleted the sc/sdk-rm-messages-fn branch March 16, 2022 16:53
theochap pushed a commit that referenced this pull request Dec 10, 2025
This PR refactors the managed node modules and fix consistency check
issues

Closes #2329
theochap pushed a commit that referenced this pull request Dec 10, 2025
…`derivationOriginUpdate` (#2331)

Closes #2086 

The PR:
- Introduces new table `BlockTraversal` to store all L1 blocks, even if
there are no L2 blocks derived from it.
- Add respective trait methods.
- Modified `latest_derived_block_pair` to send the latest derived block
from `DerivedBlocks` and latest source block from `BlockTraversal`.
- Exclusively dealing with `derivationUpdate` and
`derivationOriginUpdate` i.e. updating latest derived on
`derivationUpdate` and updating latest source on
`derivationOriginUpdate`.
- The e2e test `TestFinalizedHeadAdvancing` passes now. 

TODO: (in another PR)
- Remove `current_l1` and its usage. No longer required.
- ~~For now, `check_node_consistency()` is commented in this PR. #2330
takes care of that.~~

~~Currently in draft: Tests are missing.~~

---------

Co-authored-by: Arun Dhyani <dhyaniarun7@gmail.com>
theochap pushed a commit that referenced this pull request Jan 14, 2026
…`derivationOriginUpdate` (op-rs/kona#2331)

Closes #2086 

The PR:
- Introduces new table `BlockTraversal` to store all L1 blocks, even if
there are no L2 blocks derived from it.
- Add respective trait methods.
- Modified `latest_derived_block_pair` to send the latest derived block
from `DerivedBlocks` and latest source block from `BlockTraversal`.
- Exclusively dealing with `derivationUpdate` and
`derivationOriginUpdate` i.e. updating latest derived on
`derivationUpdate` and updating latest source on
`derivationOriginUpdate`.
- The e2e test `TestFinalizedHeadAdvancing` passes now. 

TODO: (in another PR)
- Remove `current_l1` and its usage. No longer required.
- ~~For now, `check_node_consistency()` is commented in this PR. #2330
takes care of that.~~

~~Currently in draft: Tests are missing.~~

---------

Co-authored-by: Arun Dhyani <dhyaniarun7@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-pkg-sdk Area: packages/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants