Skip to content

Conversation

masqrauder
Copy link
Contributor

Follow-up to the original GH-552 with a new branch of the same name.

  • With these changes the block number is no longer double-incremented.
  • These changes also include additional tests to verify the block number handles the max_block_count size chunks and doesn't skip any blocks by incrementing one too many times.

@masqrauder masqrauder requested a review from bertllll January 19, 2025 22:06
@masqrauder masqrauder self-assigned this Jan 19, 2025
let to = "0x3f69f9efd4f2592fd70be8c32ecd9dce71c472fc";
let port = find_free_port();
#[rustfmt::skip]
let _test_server = TestServer::start (port, vec![
Copy link
Contributor

Choose a reason for hiding this comment

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

This, the use of this TestServer isn't an issue immediately. However, when Syther and Utkarsh completes their work on GH-744, there might not be this thing anymore in the codebase. I've acquired an impression that they go with its alternative only, the MockBlockchainClientServer.

This might surprise you unpleasantly, therefore I'm preparing you for that eventuality. At least after this you could possibly recall I've mentioned it once and it'll bring you there to what you need.

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.

2 participants