Skip to content

Update get_header call sites#584

Open
DeepCogNeural wants to merge 1 commit into
stratum-mining:mainfrom
DeepCogNeural:codex/stratum-get-header
Open

Update get_header call sites#584
DeepCogNeural wants to merge 1 commit into
stratum-mining:mainfrom
DeepCogNeural:codex/stratum-get-header

Conversation

@DeepCogNeural

Copy link
Copy Markdown

Summary

  • Update sv2-apps call sites for Sv2Frame::get_header() returning Header directly.
  • Remove impossible missing-header branches and obsolete unwrap/expect handling.
  • Drop imports that only supported the old missing-header path.

Companion for stratum-mining/stratum#2211.

Verification

  • cargo fmt --all --check in integration-tests, miner-apps, pool-apps, and stratum-apps
  • git diff --check
  • cargo check --manifest-path integration-tests/Cargo.toml --config 'patch.crates-io.stratum-core.path="/Users/linghao/Github/stratum/stratum-core"' --config 'patch."https://github.com/stratum-mining/stratum".stratum-core.path="/Users/linghao/Github/stratum/stratum-core"'

Note: local verification uses the Stratum PR checkout as the patched stratum-core, matching the integration-test workflow's companion-PR dependency override.

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