diff --git a/tests/mocks/solana/orca.js b/tests/mocks/solana/orca.js index b0681ab..fe5874d 100644 --- a/tests/mocks/solana/orca.js +++ b/tests/mocks/solana/orca.js @@ -64,7 +64,6 @@ async function mockPool({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenA }}, { memcmp: { offset: 181, bytes: tokenB }}, ]}, @@ -80,7 +79,6 @@ async function mockPool({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenB }}, { memcmp: { offset: 181, bytes: tokenA }}, ]}, @@ -189,7 +187,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenA }}, { memcmp: { offset: 181, bytes: stable }}, ]}, @@ -205,7 +202,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: stable }}, { memcmp: { offset: 181, bytes: tokenA }}, ]}, @@ -221,7 +217,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenB }}, { memcmp: { offset: 181, bytes: stable }}, ]}, @@ -237,7 +232,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: stable }}, { memcmp: { offset: 181, bytes: tokenB }}, ]}, @@ -254,7 +248,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenA }}, { memcmp: { offset: 181, bytes: tokenB }}, ]}, @@ -270,7 +263,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenB }}, { memcmp: { offset: 181, bytes: tokenA }}, ]}, @@ -310,7 +302,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenA }}, { memcmp: { offset: 181, bytes: tokenMiddle }}, ]}, @@ -326,7 +317,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenMiddle }}, { memcmp: { offset: 181, bytes: tokenA }}, ]}, @@ -342,7 +332,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenA }}, { memcmp: { offset: 181, bytes: Blockchains.solana.wrapped.address }}, ]}, @@ -358,7 +347,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: Blockchains.solana.wrapped.address }}, { memcmp: { offset: 181, bytes: tokenA }}, ]}, @@ -473,7 +461,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenB }}, { memcmp: { offset: 181, bytes: tokenMiddle }}, ]}, @@ -489,7 +476,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenMiddle }}, { memcmp: { offset: 181, bytes: tokenB }}, ]}, @@ -505,7 +491,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenB }}, { memcmp: { offset: 181, bytes: Blockchains.solana.wrapped.address }}, ]}, @@ -521,7 +506,6 @@ async function mockPools({ to: exchange('solana').solana.router.address, params: { filters: [ { dataSize: exchange('solana').solana.router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: Blockchains.solana.wrapped.address }}, { memcmp: { offset: 181, bytes: tokenB }}, ]}, diff --git a/tests/units/exchanges/orca/route.spec.js b/tests/units/exchanges/orca/route.spec.js index 8fa7700..1ca4ba7 100644 --- a/tests/units/exchanges/orca/route.spec.js +++ b/tests/units/exchanges/orca/route.spec.js @@ -95,7 +95,6 @@ describe('orca', () => { to: exchange[blockchain].router.address, params: { filters: [ { dataSize: exchange[blockchain].router.api.span }, - { memcmp: { offset: 8, bytes: '2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ' }}, { memcmp: { offset: 101, bytes: tokenOut }}, { memcmp: { offset: 181, bytes: tokenIn }}, ]},