Skip to content

feat(ethexe): add versioning to contracts, clients#5542

Open
StackOverflowExcept1on wants to merge 15 commits into
masterfrom
av/ethexe-router-protocol-version
Open

feat(ethexe): add versioning to contracts, clients#5542
StackOverflowExcept1on wants to merge 15 commits into
masterfrom
av/ethexe-router-protocol-version

Conversation

@StackOverflowExcept1on

@StackOverflowExcept1on StackOverflowExcept1on commented May 30, 2026

Copy link
Copy Markdown
Member

Closes #5440
Closes #5463

Summary

This PR adds ability to update protocol version on Router and creates corresponding event that makes graceful join on nodes if version does not match, and also check of protocol version before creation has been added to client constructor.

How to test

cargo build --package ethexe-cli
./target/debug/ethexe run --dev --canonical-quarantine 5
cast send \
  0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9 \
  "function bumpProtocolVersion(uint8) external" \
  "0" \
  --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
2026-06-08T17:49:18.807159Z  INFO ethexe_service: Finalized MB 0xc18d…3165 requests protocol version (1, 0, 0); local client supports (0, 1, 0). Starting graceful shutdown.

Checklist

  • PR title follows Conventional Commits (type(scope): description)
  • Single logical change
  • Tests added or updated (if logic changed)
  • Docs updated (if needed)

@StackOverflowExcept1on StackOverflowExcept1on added scope: vara.eth Vara Ethereum application layer (L2) ci: full Run full CI matrix (all platforms and profiles) type: feat New functionality or user-visible improvement labels May 30, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the summary. You can try again by commenting /gemini summary.

@breathx breathx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove hard pin to specific version and allow any compatible + bump only version

@StackOverflowExcept1on

Copy link
Copy Markdown
Member Author

Discussed: we also want version in RPC, and we want to wait for finalization at bump version event

@StackOverflowExcept1on StackOverflowExcept1on changed the title feat(ethexe): add Router.protocolVersion to contracts & client feat(ethexe): add versioning to contracts, clients, rpc Jun 8, 2026
@StackOverflowExcept1on StackOverflowExcept1on changed the title feat(ethexe): add versioning to contracts, clients, rpc feat(ethexe): add versioning to contracts, clients Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: full Run full CI matrix (all platforms and profiles) scope: vara.eth Vara Ethereum application layer (L2) type: feat New functionality or user-visible improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use Soldeer package manager Implement versioning inside the router contract

3 participants