From 9ebd6f41cd558e3bc8898f018b971089fbec8d03 Mon Sep 17 00:00:00 2001 From: yruej301 <114962854+yruej301@users.noreply.github.com> Date: Wed, 14 May 2025 16:39:00 -0400 Subject: [PATCH] bump: v3.4.0 (#90) --- core/contracts/OffchainExchange.sol | 3 +++ core/package.json | 2 +- lba/package.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core/contracts/OffchainExchange.sol b/core/contracts/OffchainExchange.sol index 9fc8061..ebeeaa0 100644 --- a/core/contracts/OffchainExchange.sol +++ b/core/contracts/OffchainExchange.sol @@ -946,6 +946,9 @@ contract OffchainExchange is view returns (FeeRates memory) { + if (RiskHelper.isIsolatedSubaccount(subaccount)) { + subaccount = parentSubaccounts[subaccount]; + } FeeRates memory userFeeRates = feeRates[ address(uint160(bytes20(subaccount))) ][productId]; diff --git a/core/package.json b/core/package.json index feeff6e..719aa93 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "vertex-core", - "version": "3.3.0", + "version": "3.4.0", "license": "UNLICENSED", "description": "EVM implementation of Vertex", "scripts": { diff --git a/lba/package.json b/lba/package.json index 40745ec..f89067a 100644 --- a/lba/package.json +++ b/lba/package.json @@ -1,6 +1,6 @@ { "name": "vertex-lba", - "version": "3.3.0", + "version": "3.4.0", "license": "UNLICENSED", "description": "Vertex LBA contracts", "scripts": {