Skip to content

feat: update specs for the dispute game factory interface#709

Merged
stevennevins merged 2 commits intomainfrom
feat/fdgf-creator-pattern
May 29, 2025
Merged

feat: update specs for the dispute game factory interface#709
stevennevins merged 2 commits intomainfrom
feat/fdgf-creator-pattern

Conversation

@stevennevins
Copy link
Copy Markdown
Contributor

@stevennevins stevennevins commented May 21, 2025

Description

This PR updates the IDisputeGameFactory interface in specs/fault-proof/stage-one/dispute-game-interface.md.

Changes:

  • setImplementation function now accepts bytes calldata _args for chain-specific configurations.
  • Added a gameArgs(GameType) returns (bytes) getter for these configurations.

Tests

N/A (Documentation update for an interface). Existing tests will be updated to align with the new new mechanism to parse and pass these configurations

Additional context

Supports the initiative to make FaultDisputeGame implementations reusable by externalizing chain-specific configurations.

Metadata

@stevennevins stevennevins requested review from a team as code owners May 21, 2025 19:57
@stevennevins stevennevins merged commit e416d37 into main May 29, 2025
5 checks passed
@stevennevins stevennevins deleted the feat/fdgf-creator-pattern branch May 29, 2025 14:59
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.

Specs for dispute game contracts creator pattern

2 participants