Skip to content

Conversation

@codegen-sh
Copy link
Contributor

@codegen-sh codegen-sh bot commented Jan 8, 2026

This PR implements the comprehensive dependency update plan outlined in issue BLO-801.

Summary of Changes

Core Substreams Updates

  • substreams: 0.6.00.7.0 across all templates
  • substreams-ethereum: 0.10.x0.11.1 for EVM templates
  • substreams-solana: 0.14.10.14.2 for Solana templates
  • substreams-solana-program-instructions: 0.2.x0.3.0 for Solana templates
  • substreams-database-change: 2.x3.0.0 in root Cargo.toml

Foundational Module Updates

  • ethereum-common: v0.3.0v0.3.3 for EVM templates
  • solana-common: v0.3.0v0.3.3 for Solana templates
  • stellar-foundational: v0.3.0v0.5.0 for Stellar templates

Version Format Standardization

  • Normalized all prost and prost-types versions from "0.13.3" to "0.13"
  • Applied consistent major.minor format across all Rust dependencies

Special Handling

  • Removed getrandom dependency from sol-hello-world template (not needed - no ethabi dependency)
  • Updated getrandom comments for Cosmos-based templates to accurately reflect cosmrs dependency requirement
  • Retained getrandom dependency for templates that actually need it (EVM, sol-anchor, Cosmos)

Files Modified (26 total)

  • Root Cargo.toml
  • All EVM template Cargo.toml.gotmpl and substreams.yaml.gotmpl files
  • All Solana template Cargo.toml.gotmpl and substreams.yaml.gotmpl files
  • All Stellar template Cargo.toml.gotmpl and substreams.yaml.gotmpl files
  • All Starknet, TRON, NEAR, and Cosmos template Cargo.toml.gotmpl files

Verification

  • ✅ All Go unit tests pass (go test ./... -v)
  • ✅ Template generation works correctly
  • ✅ No secrets detected by TruffleHog

This update ensures all Substreams templates use the latest compatible versions of core libraries and foundational modules, improving performance and compatibility across all supported blockchain networks.

Closes #BLO-801


💻 View my work • 👤 Initiated by Matthieu VachonAbout Codegen
⛔ Remove Codegen from PR🚫 Ban action checks

- Bump substreams crate from 0.6.0 to 0.7.0 across all templates
- Bump substreams-ethereum from 0.10.x to 0.11.1
- Bump substreams-solana from 0.14.1 to 0.14.2
- Bump substreams-solana-program-instructions from 0.2.x to 0.3.0
- Bump substreams-database-change from 2.x to 3.0.0
- Update ethereum-common SPKG from v0.3.0 to v0.3.3
- Update solana-common SPKG from v0.3.0 to v0.3.3
- Update stellar-foundational SPKG from v0.3.0 to v0.5.0
- Remove unnecessary getrandom from sol-hello-world template
- Fix getrandom comments for Cosmos-based templates
@maoueh maoueh merged commit 1edb9dc into develop Jan 8, 2026
1 check passed
@maoueh maoueh deleted the blo-801-substreams-codegen-update-dependencies branch January 8, 2026 01:37
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