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": {