Skip to content

fix(deps): upgrade sdk & push cargo.lock#105

Closed
Evalir wants to merge 1 commit into
graphite-base/105from
evalir/manual-tx-debug
Closed

fix(deps): upgrade sdk & push cargo.lock#105
Evalir wants to merge 1 commit into
graphite-base/105from
evalir/manual-tx-debug

Conversation

@Evalir
Copy link
Copy Markdown
Member

@Evalir Evalir commented Jun 13, 2025

This is a binary. The cargo lock should be pushed.

Copy link
Copy Markdown
Member Author

Evalir commented Jun 13, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@prestwich prestwich changed the base branch from dylan/block-env-refactor to graphite-base/105 June 13, 2025 12:33
@Evalir Evalir changed the title chore(deps): upgrade sdk fix(deps): upgrade sdk & push cargo.lock Jun 13, 2025
@prestwich prestwich changed the base branch from graphite-base/105 to main June 16, 2025 14:52
@prestwich prestwich changed the base branch from main to graphite-base/105 June 16, 2025 14:52
@Evalir
Copy link
Copy Markdown
Member Author

Evalir commented Jun 16, 2025

will reopen this on the existing stack to not cause any conflicts

@Evalir Evalir closed this Jun 16, 2025
rswanson added a commit that referenced this pull request May 21, 2026
* docs: add gouda deps bump + image cut design spec

Captures the approved design for bringing the builder into the gouda
rollup cohort alongside signet PR #105: dep pins switch to git-rev
against the 0.19-family cohort SHAs, inline API porting for the
0.16β†’0.19 jump, local arm64 image build pushed to ECR. K8s manifest
changes and CI workflow arch audit are explicitly out of scope.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs: add gouda deps bump implementation plan

7-phase plan (A through G): worktree verify, Cargo.toml dep bump,
iterative API porting against the 0.16->0.19 jump, lint/fmt/doc/test
gates, local arm64 buildx image, ECR push with dual arch verification,
draft PR + parmigiana progress doc update. Includes explicit stop-and-
surface triggers for transitive dep conflicts, structural API changes,
arm64 manifest poisoning, and unknown ECR repo.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore(deps): pin signet-sdk family to gouda cohort revs

- init4-bin-base @ b2f92e4 (bin-base#149)
- signet-{constants,sim,tx-cache,types,zenith} @ ecce6a4 (signet-sdk#236)
- signet-{block-processor,genesis} @ 752fa4a (node-components#144)
- signet-bundle (dev-dep) @ ecce6a4

Matches the lockstep pin set used by signet#105 cut 4. Build/test fixes
follow in subsequent commits.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(deps): port Cargo.toml to gouda cohort revs

Unify signet-sdk git revs to full hash (ecce6a48…) so they match
node-components and bin-base transitive deps; bump rust-version to 1.92;
add [patch.crates-io] to redirect crates.io 0.18 signet-sdk packages to
the git 0.19 versions (not effective yet β€” resolved via direct usage);
remove signet-block-processor dep (revm_spec removed upstream); bump
roaring 0.11.3β†’0.11.4 to fix Clone bound on Iter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(tasks): port cfg.rs and bundle.rs to gouda SDK API

cfg.rs: remove dependency on signet_block_processor::revm_spec (removed
upstream); inline equivalent spec-ID logic using EthereumHardforks trait
directly from reth_chainspec.

bundle.rs: replace init4_bin_base::perms::tx_cache::BuilderTxCache (wraps
crates.io signet-tx-cache 0.18) with local BundleClient using signet-tx-cache
0.19 git types; this eliminates the nominal type mismatch between 0.18
CachedBundle/TxRequirement and signet-sim 0.19 check_bundle_tx_list.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(clippy): satisfy lints after gouda API port

Restore `pub` visibility on `BundleCacheError` and
`BundlePoller::check_bundle_cache` β€” Phase C narrowed both to
`pub(crate)` which broke the integration test in `tests/`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore: address pre-review notes (patch comment, instrument skip, MSRV doc)

- Cargo.toml: add comment block above [patch.crates-io] explaining why
  it's active (init4-bin-base's transitive deps pull crates.io 0.18 copies
  of signet-evm/extract/journal; patch redirects our direct resolution to
  the 0.19 git rev). Patch does not bridge init4-bin-base's own internal
  0.18 sub-graph, which is why BundleClient is needed.
- src/tasks/cache/bundle.rs: switch BundleClient::get_bundles from
  #[instrument(skip_all)] to #[instrument(skip(self))] to match the repo
  CLAUDE.md tracing convention.
- .claude/CLAUDE.md: bump documented MSRV from 1.88 to 1.92 to reflect
  the actual change forced by init4-bin-base @ b2f92e4.
- Cargo.lock: drop orphan full-SHA pin (kept short-rev b2f92e4 to match
  node-components @ 752fa4ad which itself references bin-base by the
  short rev β€” using the full rev would split the lock into two
  init4-bin-base entries despite resolving to the same commit).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(cfg): add gouda to chainspec match arm

Phase C's replacement of signet_block_processor::revm_spec used reth's
ChainSpec-based hardfork lookup, which requires per-chain genesis
registration. The chainspec() match arm only listed parmigiana and
mainnet rollup chain ids; constructing a SignetCfgEnv with the gouda
rollup chain id (792669) fell through to the catch-all
unimplemented!("Unknown chain ID: 792669"), crashing the simulator
on first block environment update.

- Add gouda::RU_CHAIN_ID to the rollup match arm.
- Add gouda::RU_CHAIN_ID -> GOUDA_GENESIS in initialize_ru_chainspec.
- Add gouda_cfg_env_does_not_panic regression test.

Host chain id is unchanged from parmigiana (3151908) so the host arm
already covers gouda's host without modification.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore(deps): switch gouda cohort to crates.io versions; bump to 1.3.0

Replaces the git-rev pins added earlier in this PR with the now-published
releases:

- init4-bin-base 0.23.1 (was git b2f92e4)
- signet-{constants,sim,tx-cache,types,zenith,bundle} 0.19.0
  (was git ecce6a4 on init4tech/signet-sdk)
- signet-genesis 0.19.0 (was git 752fa4a on init4tech/node-components;
  v0.19.0 lifts GOUDA_GENESIS into the published release)

Drops the active [patch.crates-io] block β€” bin-base 0.23.1 now pins
signet-tx-cache 0.19.0 itself, so the diamond-dep duplication that
motivated the patch no longer exists. The commented dev-local patch
block (path = …) is preserved unchanged.

Bumps the builder package version 1.0.0 -> 1.3.0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* revert(bundle): drop local BundleClient shim, use bin-base BuilderTxCache

The shim was a workaround for init4-bin-base pinning signet-tx-cache
0.18.0 while we ran 0.19.0 from a git rev. With init4-bin-base 0.23.1
now itself pinning signet-tx-cache 0.19.0, the type mismatch is gone
and the shim adds nothing β€” reverting to BuilderTxCache /
BuilderTxCacheError keeps this PR a pure dep bump.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore: bump version to 2.0.0

Address PR review comment to use semver-compliant 2.0.0 for the
breaking changes in the gouda cohort dependency bump.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ci: stop installing foundry in unit test job

CI runs with test-all-features: false, so the integration tests in
tests/ (all gated behind #![cfg(feature = "test-utils")]) don't
compile, and nothing in the unit test job needs anvil/forge/cast.

Meanwhile foundryup's "nightly" tag rotation broke the install step
upstream and was failing the job before any tests ran.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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