Submitted by gpersoon
The function matchOrders of TracerPerpetualSwaps.sol doesnt check that the contract itself is indeed equal to order1.market and order2.market.
The function executeTrade in Trader.sol, which calls the matchOrders, can deal with multiple markets.
Suppose there would be a mistake in executeTrade,  or in a future version, the matchOrders would be done in the wrong market.
TracerPerpetualSwaps.sol L216
Trader.sol L67
LibPerpetuals.sol L128
Recommend adding something like:
Note: canMatch already verifies that  order1.market== order2.market
raymogg (Tracer) confirmed
