Skip to content

Conversation

@penDerGraft
Copy link
Contributor

@penDerGraft penDerGraft commented Dec 12, 2025

Adds a new contract to the inheritance examples called PredicateHolding. This is for initial integration with the Predicate API when a full onchain integration is either not ready or not feasible.

This PR also fixes a few bugs in the release workflow.


Note

Introduces a simple inheritance-based contract and strengthens artifact generation and publishing.

  • New contract: PredicateHolding.sol (inheritance pattern) storing Predicate config with owner-managed setPolicyID/setRegistry; docs updated in src/examples/README.md.
  • Workflow (release-artifacts.yml): determine workflow branch vs tag, checkout workflow branch to fetch script, cache script to /tmp, then checkout code at tag; use GH_TOKEN; simplify uploads with --clobber and stable asset paths (Contract/File), add stricter failure on zero uploads, and cleanup temp assets.
  • Artifact extraction script (scripts/extract-artifacts.js): supports PredicateHolding and proxy contract, generates Standard JSON input and separate compiler settings for verification, writes compiler metadata once, records per-contract source metadata, handles inheritance output paths, logs bytecode hash, and prints an artifact summary.

Written by Cursor Bugbot for commit 40eb7b1. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on January 4

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@penDerGraft penDerGraft changed the title fix file not found error Add PredicateHolding Contract Dec 16, 2025
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