Skip to content

feat(composable): add signed Poller revocation - #960

Open
igorroncevic wants to merge 1 commit into
feat/composable-cow-poller-register-signaturefrom
feat/composable-cow-poller-revoke-signature
Open

feat(composable): add signed Poller revocation#960
igorroncevic wants to merge 1 commit into
feat/composable-cow-poller-register-signaturefrom
feat/composable-cow-poller-revoke-signature

Conversation

@igorroncevic

Copy link
Copy Markdown
Contributor

What and why

JIT Poller integrations can now build the exact EIP-712 revocation payload and revokeWithSignature calldata, allowing relayers to revoke schedules authorized by the funder. Revocation uses the funder's shared action nonce after registration succeeds.

Depends on #959 and cowprotocol/composable-cow#136.

Related: https://linear.app/cowswap/project/twap-for-eoas-07d3dae536ea/overview

Test

pnpm --filter @cowprotocol/sdk-composable test

@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 4e872cce-a5d9-475b-9adb-2a4192f0fa87

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

📦 GitHub Packages Published

Last updated: Aug 6, 2026, 12:38:18 PM UTC

The following packages have been published to GitHub Packages with pre-release version pr-960-a65aab72:

  • @cowprotocol/cow-sdk@9.2.6-pr-960-a65aab72.0
  • @cowprotocol/sdk-app-data@6.0.0-pr-960-a65aab72.0
  • @cowprotocol/sdk-bridging@4.4.2-pr-960-a65aab72.0
  • @cowprotocol/sdk-common@0.12.1-pr-960-a65aab72.0
  • @cowprotocol/sdk-composable@1.3.0-pr-960-a65aab72.0
  • @cowprotocol/sdk-config@2.4.0-pr-960-a65aab72.0
  • @cowprotocol/sdk-contracts-ts@3.3.3-pr-960-a65aab72.0
  • @cowprotocol/sdk-cow-shed@0.4.5-pr-960-a65aab72.0
  • @cowprotocol/sdk-ethers-v5-adapter@0.4.11-pr-960-a65aab72.0
  • @cowprotocol/sdk-ethers-v6-adapter@0.4.11-pr-960-a65aab72.0
  • @cowprotocol/sdk-flash-loans@3.3.3-pr-960-a65aab72.0
  • @cowprotocol/sdk-order-book@4.0.2-pr-960-a65aab72.0
  • @cowprotocol/sdk-order-signing@1.1.6-pr-960-a65aab72.0
  • @cowprotocol/sdk-subgraph@1.2.1-pr-960-a65aab72.0
  • @cowprotocol/sdk-trading@2.2.6-pr-960-a65aab72.0
  • @cowprotocol/sdk-viem-adapter@0.3.26-pr-960-a65aab72.0
  • @cowprotocol/sdk-weiroll@0.2.2-pr-960-a65aab72.0

Installation

These packages require authentication to install from GitHub Packages. First, create a .npmrc file:

# Create .npmrc file in your project root
echo "@cowprotocol:registry=https://npm.pkg.github.com" > .npmrc
echo "//npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN" >> .npmrc

To get your GitHub token:

  1. Go to https://github.com/settings/tokens
  2. Click "Generate new token (classic)"
  3. Check only the "read:packages" scope
  4. Copy the token and replace YOUR_GITHUB_TOKEN in the .npmrc file

Then install any of the packages above, either by exact version (i.e. @cowprotocol/cow-sdk@9.2.6-pr-960-a65aab72.0) or more conveniently by using the tag (@cowprotocol/cow-sdk@pr-960):

# Yarn
yarn add npm:@cowprotocol/cow-sdk@pr-960

# pnpm
pnpm install npm:@cowprotocol/cow-sdk@pr-960

# NPM
npm install npm:@cowprotocol/cow-sdk@pr-960

Update to the latest version (only if you used the tag)

Every commit will publish a new package. To upgrade to the latest version, run:

# Yarn
yarn upgrade @cowprotocol/cow-sdk

# pnpm
pnpm update @cowprotocol/cow-sdk

# NPM
npm update @cowprotocol/cow-sdk

View Packages

You can view the published packages at: https://github.com/cowprotocol/cow-sdk/packages

# Conflicts:
#	packages/composable/README.md
#	packages/composable/src/ComposableCowPoller.ts
#	packages/composable/tests/ComposableCowPoller.spec.ts
@igorroncevic
igorroncevic force-pushed the feat/composable-cow-poller-revoke-signature branch from 9d0d1d3 to a65aab7 Compare August 6, 2026 12:35
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