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

chore renames: L2ToL1MessageNitro to ChildToParentChain #351

Merged
merged 24 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
042f6a2
chore: renames L1/2 to parentChain/chain in inbox
douglance Sep 22, 2023
a64ccb2
chore: update l1/2 name for dataEntities
douglance Sep 25, 2023
63f6b6b
chore: renames L1ToL2Message to parentChain/Chain
douglance Sep 27, 2023
b338516
chore: renames L2ToL1Message to chain/parentChain
douglance Sep 27, 2023
42ee74d
chore: renames L1ToL2Message to parentChain/Chain
douglance Sep 27, 2023
34be52b
fix integration test
douglance Sep 27, 2023
e5874ce
Merge branch 'dl/348' into dl/349
douglance Sep 27, 2023
87b9283
fix unit tests
douglance Sep 27, 2023
2441e45
fix test
douglance Sep 27, 2023
eb48d98
chore renames: L2ToL1MessageNitro to ChainToParentChain
douglance Sep 29, 2023
c7fd2c5
chore: renames to ChildToParentChain
douglance Oct 2, 2023
8406e09
Merge branch 'dl/349' into dl/347
douglance Oct 2, 2023
e3c638f
chore: renames to ChildToParentChild for Nitro
douglance Oct 2, 2023
9c4d896
chore: rename to ParentToChildMessage
douglance Oct 2, 2023
b2d8824
Merge branch 'dl/348' into dl/349
douglance Oct 2, 2023
1b00e27
chore: rename to ParentToChild
douglance Oct 2, 2023
d3e3e59
Merge branch 'main' into dl/#336
douglance Oct 4, 2023
47b1e2e
Merge branch 'dl/#336' into dl/338
douglance Oct 4, 2023
99b3d45
Merge branch 'dl/338' into dl/348
douglance Oct 4, 2023
6261803
Merge branch 'dl/348' into dl/349
douglance Oct 4, 2023
dae6f37
Merge branch 'dl/349' into dl/347
douglance Oct 4, 2023
939ba12
Merge branch 'v4' into dl/347
douglance Dec 13, 2023
8922123
Merge branch 'v4' into dl/347
douglance Dec 13, 2023
37a84cb
rename more function internals
douglance Dec 13, 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
10 changes: 5 additions & 5 deletions src/lib/message/L2ToL1Message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class ChildToParentMessage {
}
if (nitroFilter.fromBlock !== nitroFilter.toBlock) {
logQueries.push(
nitro.L2ToL1MessageNitro.getL2ToL1Events(
nitro.ChildToParentChainMessageNitro.getChildToParentChainEvents(
childChainProvider,
nitroFilter,
position,
Expand All @@ -196,7 +196,7 @@ export class ChildToParentMessage {
*/
export class ChildToParentMessageReader extends ChildToParentMessage {
private readonly classicReader?: classic.L2ToL1MessageReaderClassic
private readonly nitroReader?: nitro.L2ToL1MessageReaderNitro
private readonly nitroReader?: nitro.ChildToParentChainMessageReaderNitro

constructor(
protected readonly parentChainProvider: Provider,
Expand All @@ -210,7 +210,7 @@ export class ChildToParentMessageReader extends ChildToParentMessage {
event.indexInBatch
)
} else {
this.nitroReader = new nitro.L2ToL1MessageReaderNitro(
this.nitroReader = new nitro.ChildToParentChainMessageReaderNitro(
parentChainProvider,
event
)
Expand Down Expand Up @@ -282,7 +282,7 @@ export class ChildToParentMessageReader extends ChildToParentMessage {
*/
export class ChildToParentMessageWriter extends ChildToParentMessageReader {
private readonly classicWriter?: classic.L2ToL1MessageWriterClassic
private readonly nitroWriter?: nitro.L2ToL1MessageWriterNitro
private readonly nitroWriter?: nitro.ChildToParentChainMessageWriterNitro

/**
* Instantiates a new `ChildToParentMessageWriter` object.
Expand All @@ -306,7 +306,7 @@ export class ChildToParentMessageWriter extends ChildToParentMessageReader {
parentChainProvider
)
} else {
this.nitroWriter = new nitro.L2ToL1MessageWriterNitro(
this.nitroWriter = new nitro.ChildToParentChainMessageWriterNitro(
parentChainSigner,
event,
parentChainProvider
Expand Down
Loading