From 29755451f40b44f1c7996c08d3ee61dcf72650f1 Mon Sep 17 00:00:00 2001 From: Alt Date: Wed, 27 May 2026 15:03:08 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20bump=20polymarket=5Fclient=5Fsdk=5Fv2=20?= =?UTF-8?q?0.5.1=20=E2=86=92=200.6.0-canary.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes order_version_mismatch (issue #73, recurrence of #69). SDK 0.5.1 only constructs V1 orders (EIP-712 domain version "1"), but the CLOB API now requires V2 (domain version "2", with timestamp, metadata, and builder fields). SDK 0.6.0-canary.1 auto-detects V1 vs V2 on first order build. Tested locally: build succeeds, clob ok ✓, create-order ✓. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6e4755f..f84a337 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ name = "polymarket" path = "src/main.rs" [dependencies] -polymarket_client_sdk_v2 = { version = "0.5.1", features = ["gamma", "data", "bridge", "clob", "ctf"] } +polymarket_client_sdk_v2 = { version = "0.6.0-canary.1", features = ["gamma", "data", "bridge", "clob", "ctf"] } alloy = { version = "1.6.3", default-features = false, features = ["providers", "rpc-types", "sol-types", "contract", "reqwest", "reqwest-rustls-tls", "signer-local", "signers"] } clap = { version = "4", features = ["derive"] } tokio = { version = "1", features = ["rt-multi-thread", "macros"] }