Skip to content

add a non-sequencing node to localnet and test it#507

Merged
ClaytonNorthey92 merged 10 commits intomainfrom
clayton/non-sequencing-localnet
Jul 2, 2025
Merged

add a non-sequencing node to localnet and test it#507
ClaytonNorthey92 merged 10 commits intomainfrom
clayton/non-sequencing-localnet

Conversation

@ClaytonNorthey92
Copy link
Copy Markdown
Contributor

@ClaytonNorthey92 ClaytonNorthey92 commented May 19, 2025

Summary
added test cases for the following:

  • assert that non-sequencing tip is close to the sequencer
  • assert that non-sequencing hvm btc tip is the same as the sequencer
  • walk the l2 chain and assert that the output root is the same all of
    the way down, ignore sync status
  • assert that safe and final blocks are progressing
  • repeat tests for both sequencer and non-sequencer (deploying
    contracts, sending txs, bridging, etc)

fixes #508

Changes
See summary.

@ClaytonNorthey92 ClaytonNorthey92 force-pushed the clayton/non-sequencing-localnet branch from 24bc0f8 to 79597fe Compare May 22, 2025 19:15
@ClaytonNorthey92 ClaytonNorthey92 force-pushed the clayton/non-sequencing-localnet branch from 92a9ac3 to d9043b1 Compare June 6, 2025 17:33
@ClaytonNorthey92 ClaytonNorthey92 marked this pull request as ready for review June 9, 2025 13:38
@ClaytonNorthey92 ClaytonNorthey92 requested a review from a team as a code owner June 9, 2025 13:38
res.Body.Close()
res2.Body.Close()

t.Logf("will parse reponses\n%s\n%s", string(resBody), string(resBody2))
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this is a bit noisy, probably not necessary

Copy link
Copy Markdown
Contributor

@jcvernaleo jcvernaleo left a comment

Choose a reason for hiding this comment

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

OK

@ClaytonNorthey92 ClaytonNorthey92 force-pushed the clayton/non-sequencing-localnet branch from eb20024 to 9ca86ea Compare June 27, 2025 20:25
added test cases for the following:
* assert that non-sequencing tip is close to the sequencer
* assert that non-sequencing hvm btc tip is the same as the sequencer
* walk the l2 chain and assert that the output root is the same all of
  the way down, ignore sync status
* assert that safe and final blocks are progressing
* repeat tests for both sequencer and non-sequencer (deploying
  contracts, sending txs, bridging, etc)

fixes #508
@ClaytonNorthey92 ClaytonNorthey92 force-pushed the clayton/non-sequencing-localnet branch from b15f4cb to 49b6e11 Compare July 2, 2025 13:48
@ClaytonNorthey92 ClaytonNorthey92 merged commit a22a2eb into main Jul 2, 2025
11 of 14 checks passed
@ClaytonNorthey92 ClaytonNorthey92 deleted the clayton/non-sequencing-localnet branch July 2, 2025 19:18
marcopeereboom pushed a commit that referenced this pull request Jul 9, 2025
* add a non-sequencing node to localnet and test it

added test cases for the following:
* assert that non-sequencing tip is close to the sequencer
* assert that non-sequencing hvm btc tip is the same as the sequencer
* walk the l2 chain and assert that the output root is the same all of
  the way down, ignore sync status
* assert that safe and final blocks are progressing
* repeat tests for both sequencer and non-sequencer (deploying
  contracts, sending txs, bridging, etc)

fixes #508

* removed commented out code

* linting fixes

* linting fixes

* linting fixes

* remove retries

* added retries where optimism creates its own ctx timeout

* removed versbose log line

* better printing

* ran linter
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.

Add non-sequencing test cases to localnet tests

3 participants