Skip to content

Add Mock BAM Node + Block Production Local Cluster Tests#1212

Open
badgerrupt0 wants to merge 3 commits intomasterfrom
badg/mock-bam-node-tests-prefetchstage
Open

Add Mock BAM Node + Block Production Local Cluster Tests#1212
badgerrupt0 wants to merge 3 commits intomasterfrom
badg/mock-bam-node-tests-prefetchstage

Conversation

@badgerrupt0
Copy link
Contributor

Problem

This PR is the first half of splitting the changes in the original Mock BAM node PR, adding in a mock BAM node and some additional tests. The second half, which will focus on adding tests for disconnecting from a BAM node successfully, will be included in a follow-up PR once FetchStageManager fix are in.

Summary of Changes

  • defines a Mock BAM node for testing communication between BAM <-> Validator
  • refactors existing BAM connection tests to use the mock node
  • adds integration/E2E testing for the local cluster for both updating TPU in gossip when connected to BAM, and building a block with the node.

Fixes #

commit 2ffd065
Author: owen <owen@jito.wtf>
Date:   Tue Feb 10 08:54:14 2026 -0800

    update time in sbf package for security audit

commit a546e52
Author: owen <owen@jito.wtf>
Date:   Mon Feb 9 17:32:32 2026 -0800

    update time in `dev-bins` to patch vuln

commit 8c50804
Author: owen <owen@jito.wtf>
Date:   Mon Feb 9 16:53:55 2026 -0800

    missed sbf cargo lock for security upgrade

commit f01b4c6
Author: owen <owen@jito.wtf>
Date:   Mon Feb 9 16:35:12 2026 -0800

    fix security issue by upgrading `bytes`

commit c47427d
Author: owen <owen@jito.wtf>
Date:   Mon Feb 9 10:38:21 2026 -0800

    try update cargo toml for bytes security audit failure

commit 1d17f00
Author: owen <owen@jito.wtf>
Date:   Mon Feb 9 09:43:18 2026 -0800

    update security-audit failing packages

commit b89b097
Author: owen <owen@jito.wtf>
Date:   Fri Feb 6 17:39:54 2026 -0800

    update mock bam node tests, remove unused code, clean-up

commit 73ff1b6
Merge: ea54b94 4115e65
Author: badgerrupt0 <owen@jito.wtf>
Date:   Wed Jan 28 14:34:04 2026 -0800

    Merge branch 'master' into badg/mock-bam-node-integration-tests

commit ea54b94
Author: owen <owen@jito.wtf>
Date:   Tue Jan 27 16:52:43 2026 -0800

    address gh bot comments and build dev-bins cargo

commit 4f93036
Author: owen <owen@jito.wtf>
Date:   Tue Jan 27 16:34:11 2026 -0800

    try fix cargo lock

commit c780803
Author: owen <owen@jito.wtf>
Date:   Tue Jan 27 16:33:46 2026 -0800

    fix cargo lock

commit 3785bed
Author: owen <owen@jito.wtf>
Date:   Tue Jan 27 16:27:02 2026 -0800

    update txn send attempts

commit db5ffcf
Author: owen <owen@jito.wtf>
Date:   Tue Jan 27 16:09:02 2026 -0800

    clippy, fmt, sort pass

commit 32646a9
Author: owen <owen@jito.wtf>
Date:   Tue Jan 27 15:54:07 2026 -0800

    debug and fix transaction processing issues

commit 8f84863
Author: owen <owen@jito.wtf>
Date:   Mon Jan 26 15:29:01 2026 -0800

    update pre-existing integration tests to use new mock BAM node implementation

commit a8c3910
Author: owen <owen@jito.wtf>
Date:   Mon Jan 26 14:57:03 2026 -0800

    move bam local cluster tests to right folder

commit 55c7b3b
Author: owen <owen@jito.wtf>
Date:   Mon Jan 26 14:49:24 2026 -0800

    add extra block-building tests

commit 3a622a5
Author: owen <owen@jito.wtf>
Date:   Mon Jan 26 14:36:44 2026 -0800

    add first bam local cluster-side tests; fmt and sort

commit 25980de
Author: owen <owen@jito.wtf>
Date:   Mon Jan 26 13:57:11 2026 -0800

    fmt

commit 9da04ef
Author: owen <owen@jito.wtf>
Date:   Mon Jan 26 13:53:44 2026 -0800

    define mock BAM node
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.

1 participant