From 04f40aefe94b50ba43b88f4f1323e6d3181357f9 Mon Sep 17 00:00:00 2001 From: trajan0x <83933037+trajan0x@users.noreply.github.com> Date: Wed, 13 Dec 2023 18:23:43 -0500 Subject: [PATCH 1/3] remove eip-155 considerations from arbitrary data signing (#1634) Co-authored-by: Trajan0x --- ethergo/signer/signer/localsigner/signer.go | 2 +- ethergo/signer/signer/signer.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ethergo/signer/signer/localsigner/signer.go b/ethergo/signer/signer/localsigner/signer.go index aed7e6fea0..6b3e0c7ffc 100644 --- a/ethergo/signer/signer/localsigner/signer.go +++ b/ethergo/signer/signer/localsigner/signer.go @@ -56,7 +56,7 @@ func decodeSignature(sig []byte) signer.Signature { if len(sig) != crypto.SignatureLength { panic(fmt.Sprintf("wrong size for signature: got %d, want %d", len(sig), crypto.SignatureLength)) } - v := new(big.Int).SetBytes([]byte{sig[64] + 27}) + v := new(big.Int).SetBytes([]byte{sig[64]}) r := new(big.Int).SetBytes(sig[:32]) s := new(big.Int).SetBytes(sig[32:64]) diff --git a/ethergo/signer/signer/signer.go b/ethergo/signer/signer/signer.go index cfd1c4fdc9..d3e1aa1cf6 100644 --- a/ethergo/signer/signer/signer.go +++ b/ethergo/signer/signer/signer.go @@ -85,7 +85,7 @@ func DecodeSignature(sig []byte) Signature { } r := new(big.Int).SetBytes(sig[:32]) s := new(big.Int).SetBytes(sig[32:64]) - v := new(big.Int).SetBytes([]byte{sig[64] + 27}) + v := new(big.Int).SetBytes([]byte{sig[64]}) return NewSignature(v, r, s) } From 66d614da3602a0fa2dd79a66cfab8e75672b2b3f Mon Sep 17 00:00:00 2001 From: aureliusbtc <82057759+aureliusbtc@users.noreply.github.com> Date: Thu, 14 Dec 2023 13:23:48 +0000 Subject: [PATCH 2/3] upgrade wagmi/core (#1663) --- packages/synapse-interface/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/synapse-interface/package.json b/packages/synapse-interface/package.json index 78b97f47d5..b9038fd276 100644 --- a/packages/synapse-interface/package.json +++ b/packages/synapse-interface/package.json @@ -55,7 +55,7 @@ "@vercel/analytics": "^1.0.2", "@visx/chord": "^3.0.0", "@visx/shape": "^3.0.0", - "@wagmi/core": "^1.4.5", + "@wagmi/core": "^1.4.12", "add": "^2.0.6", "autoprefixer": "^10.4.13", "babel-plugin-transform-bigint": "^1.0.32", From d3e2ad0c84c6ec25f26c8fc101323f816d6af230 Mon Sep 17 00:00:00 2001 From: aureliusbtc Date: Thu, 14 Dec 2023 13:27:09 +0000 Subject: [PATCH 3/3] Publish - @synapsecns/synapse-interface@0.1.207 --- packages/synapse-interface/CHANGELOG.md | 8 ++++++++ packages/synapse-interface/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/synapse-interface/CHANGELOG.md b/packages/synapse-interface/CHANGELOG.md index ac0cf78c8b..8596c8f198 100644 --- a/packages/synapse-interface/CHANGELOG.md +++ b/packages/synapse-interface/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.207](https://github.com/synapsecns/sanguine/compare/@synapsecns/synapse-interface@0.1.206...@synapsecns/synapse-interface@0.1.207) (2023-12-14) + +**Note:** Version bump only for package @synapsecns/synapse-interface + + + + + ## [0.1.206](https://github.com/synapsecns/sanguine/compare/@synapsecns/synapse-interface@0.1.205...@synapsecns/synapse-interface@0.1.206) (2023-12-13) **Note:** Version bump only for package @synapsecns/synapse-interface diff --git a/packages/synapse-interface/package.json b/packages/synapse-interface/package.json index b9038fd276..782a78bcce 100644 --- a/packages/synapse-interface/package.json +++ b/packages/synapse-interface/package.json @@ -1,6 +1,6 @@ { "name": "@synapsecns/synapse-interface", - "version": "0.1.206", + "version": "0.1.207", "private": true, "engines": { "node": ">=16.0.0"