Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
572add8
feat: update wrapper on arbitrum testnet, base testnet, polygon testnet
Apr 19, 2024
94679b8
chore: deploy contracts to oasys mainnet
Apr 24, 2024
75896ff
Feature/pt 4531 create2 (#280)
ifelsedeveloper Apr 27, 2024
5a04947
fix: build
ifelsedeveloper Apr 27, 2024
5dff72f
chore(release): bump versions after release
ifelsedeveloper Apr 27, 2024
5dd89db
fix: build
ifelsedeveloper Apr 27, 2024
df2b584
chore(release): bump versions after release
ifelsedeveloper Apr 27, 2024
014b6a3
feat: refactoring (#283)
ifelsedeveloper May 3, 2024
32d175c
chore: fix some tests
May 3, 2024
c616042
Feature/pt 5315 3dweb query (#285)
ifelsedeveloper May 4, 2024
fc795d2
Feature/pt 5315 3dweb query (#286)
ifelsedeveloper May 6, 2024
674d7e1
Feature/pt 5315 3dweb query (#287)
ifelsedeveloper May 6, 2024
94873c9
feat: add contracts for amoy
ifelsedeveloper May 7, 2024
c9153ef
feat: deploy specs
ifelsedeveloper May 7, 2024
1469505
feat: add new proxy reader deploys
ifelsedeveloper May 13, 2024
b122176
chore: deployed create2 factory to lisk
evgenynacu May 16, 2024
6c8332e
feat: 3dweb reader for base
ifelsedeveloper Jun 7, 2024
b76a5da
feat: add lightlink for thirdweb query
ifelsedeveloper Jul 3, 2024
39dea11
Merge branch 'master' into develop
ifelsedeveloper Jul 3, 2024
f38e820
[Fixes] PT-5586: Fix all tests in develop-branch (#303)
gonzaotc Jul 17, 2024
3c0518f
Support for flat fees in Drop contracts (#302)
evgenynacu Jul 18, 2024
936a6c0
Merge branch 'master' into develop
ifelsedeveloper Jul 18, 2024
5da6130
feat: update nvm
ifelsedeveloper Jul 18, 2024
3a0c785
Update LibOrderData.md (#301)
gonzaotc Jul 29, 2024
d967fdd
[Feature] PT-5616 Upgradeable ExchangeWrapper + Upgradeability Tests …
gonzaotc Aug 12, 2024
8b0578b
chore: deployed create2 factory on Arbitrum, RARI
evgenynacu Aug 13, 2024
3644945
feat: add reader amoy deploy
ifelsedeveloper Aug 26, 2024
6a06871
feat: add reader berachain mainnet and test net
ifelsedeveloper Feb 11, 2025
6ef3b20
feat: add goat reader
ifelsedeveloper Mar 14, 2025
711bc22
feat: add deploy
ifelsedeveloper Mar 17, 2025
26f39df
chore(release): bump versions after release
ifelsedeveloper Apr 28, 2025
6002467
feat: add new version
ifelsedeveloper Apr 28, 2025
d74413d
feat: removed build files
ifelsedeveloper Apr 28, 2025
bb464b0
feat: add test contracts
ifelsedeveloper Apr 29, 2025
6201d35
feat: fix deps
ifelsedeveloper Apr 29, 2025
08fa064
feat: fix tests
ifelsedeveloper Apr 29, 2025
1ef19d3
feat: removed generated files
ifelsedeveloper Apr 29, 2025
8da7eac
feat: fix tests
ifelsedeveloper Apr 30, 2025
4d32582
feat: fix tests
ifelsedeveloper Apr 30, 2025
3857dfc
feat: fix build
ifelsedeveloper Apr 30, 2025
da25088
feat: skip legacy test
ifelsedeveloper Apr 30, 2025
97c8920
feat: fix tests
ifelsedeveloper Apr 30, 2025
bc3b177
feat: fix test and build
ifelsedeveloper Apr 30, 2025
1c76fd3
feat: add tests folder
ifelsedeveloper Apr 30, 2025
9f9a5af
feat: fix test
ifelsedeveloper Apr 30, 2025
8ff0d0e
feat: fix test and build
ifelsedeveloper Apr 30, 2025
78ae40b
feat: fix test and build
ifelsedeveloper Apr 30, 2025
5fcce76
feat: fix test
ifelsedeveloper Apr 30, 2025
7d926ff
feat: fix test and build
ifelsedeveloper Apr 30, 2025
727acf0
feat: fix test
ifelsedeveloper Apr 30, 2025
1b5522c
feat: fix test and build
ifelsedeveloper Apr 30, 2025
66c2224
feat: fix tests
ifelsedeveloper Apr 30, 2025
b21b3ca
feat: fix test and build
ifelsedeveloper Apr 30, 2025
ec85df3
Feature/PT-7674 fix init proxy tests (#354)
GonzaloMBustos Jun 27, 2025
3e1319b
Feature/pt 7747 storage initialization tests (#358)
ifelsedeveloper Jun 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,11 @@ projects/gas-usage-tests/build/contracts/RoyaltiesV2.json
projects/gas-usage-tests/build/contracts/SafeMathUpgradeable.json
projects/gas-usage-tests/build/contracts/TransferExecutor.json
projects/gas-usage-tests/build/contracts/TransferProxy.json
projects/exchange-wrapper/build/contracts/ERC165Upgradeable.json
projects/exchange-wrapper/build/contracts/ERC721HolderUpgradeable.json
projects/exchange-wrapper/build/contracts/ERC1155HolderUpgradeable.json
projects/exchange-wrapper/build/contracts/ERC1155ReceiverUpgradeable.json
projects/exchange-wrapper/build/contracts/IERC721ReceiverUpgradeable.json
projects/exchange-wrapper/build/contracts/IERC1155ReceiverUpgradeable.json
projects/exchange-wrapper/build/contracts/PausableUpgradeable.json
projects/exchange-wrapper/build/contracts/RaribleExchangeWrapperUpgradeable.json
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.13.0
v18.17.0
248 changes: 209 additions & 39 deletions CHANGELOG.md

Large diffs are not rendered by default.

37 changes: 28 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,33 @@
FROM node:18.19.0 as base
WORKDIR /protocol
RUN npm install -g truffle@5.4.17
ARG BASE_IMAGE_VERSION=20.18.3-bullseye
FROM node:${BASE_IMAGE_VERSION} AS base

FROM base AS base-dev

WORKDIR /app

RUN apt-get update -y \
&& apt-get install -y --no-install-recommends \
ca-certificates curl gnupg jq git \
&& npm install -g truffle@5.11.5 \
&& rm -rf /var/{lib/apt,lib/dpkg/info,cache,log}/*

# ---- Foundry ----
RUN curl -L https://foundry.paradigm.xyz | bash \
&& /root/.foundry/bin/foundryup \
&& install -Dm755 /root/.foundry/bin/* /usr/local/bin \
&& rm -rf /root/.foundry

ENV PATH="/usr/local/bin:${PATH}"

COPY . .
RUN yarn install
RUN yarn build
RUN yarn test

FROM base as deploy
WORKDIR /protocol/deploy
ENTRYPOINT ["truffle", "test", "--compile-all"]
# FROM base as deploy
# WORKDIR /protocol/deploy
# ENTRYPOINT ["truffle", "test", "--compile-all"]

FROM base as exchange-v2
WORKDIR /protocol/exchange-v2
ENTRYPOINT ["truffle", "test", "--compile-all"]
# FROM base as exchange-v2
# WORKDIR /protocol/exchange-v2
# ENTRYPOINT ["truffle", "test", "--compile-all"]
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"packages": ["projects/**"],
"npmClient": "yarn",
"version": "0.8.4",
"version": "0.8.13",
"command": {
"version": {
"allowBranch": ["master", "develop", "feature/*"]
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"bootstrap": "lerna bootstrap --no-ci && lerna link",
"bootstrap:ci": "lerna bootstrap --ci && lerna link",
"build": "sh scripts/build.sh",
"test": "sh scripts/test.sh",
"test": "lerna exec -- yarn test",
"release": "git reset --hard && lerna publish from-package",
"build:deploy": "yarn workspace @rarible/deploy run build",
"build:exchange-v2": "yarn workspace @rarible/exchange-v2 run build",
Expand Down Expand Up @@ -45,5 +45,6 @@
"tslib": "^2.5.0",
"typechain": "^8.2.0",
"typescript": "^5.0.4"
}
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
32 changes: 31 additions & 1 deletion projects/custom-matchers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,37 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.8.4](https://github.com/rariblecom/protocol-contracts/compare/v0.8.1...v0.8.4) (2025-04-21)
## [0.8.13](https://github.com/rariblecom/protocol-contracts/compare/v0.8.12...v0.8.13) (2025-04-30)

**Note:** Version bump only for package @rarible/custom-matchers

## [0.8.12](https://github.com/rariblecom/protocol-contracts/compare/v0.8.11...v0.8.12) (2025-04-30)

**Note:** Version bump only for package @rarible/custom-matchers

## [0.8.11](https://github.com/rariblecom/protocol-contracts/compare/v0.8.10...v0.8.11) (2025-04-30)

### Features

- fix test and build ([78ae40b](https://github.com/rariblecom/protocol-contracts/commit/78ae40b4fdda18da610b022621a92f6944bdd8ba))

**Note:** Version bump only for package @rarible/custom-matchers

## [0.8.10](https://github.com/rariblecom/protocol-contracts/compare/v0.8.9...v0.8.10) (2025-04-30)

**Note:** Version bump only for package @rarible/custom-matchers

## [0.8.8](https://github.com/rariblecom/protocol-contracts/compare/v0.8.7...v0.8.8) (2025-04-29)

**Note:** Version bump only for package @rarible/custom-matchers

**Note:** Version bump only for package @rarible/custom-matchers

## [0.8.6](https://github.com/rariblecom/protocol-contracts/compare/v0.8.1...v0.8.6) (2024-04-27)

**Note:** Version bump only for package @rarible/custom-matchers

## [0.8.5](https://github.com/rariblecom/protocol-contracts/compare/v0.8.1...v0.8.5) (2024-04-27)

**Note:** Version bump only for package @rarible/custom-matchers

Expand Down
9 changes: 5 additions & 4 deletions projects/custom-matchers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarible/custom-matchers",
"version": "0.8.4",
"version": "0.8.13",
"description": "Custom matchers for different asset classes",
"files": [
"contracts",
Expand All @@ -22,8 +22,8 @@
"url": "https://github.com/rariblecom/protocol-contracts/issues"
},
"dependencies": {
"@rarible/exchange-interfaces": "^0.8.4",
"@rarible/lazy-mint": "^0.8.4",
"@rarible/exchange-interfaces": "^0.8.13",
"@rarible/lazy-mint": "^0.8.13",
"ethers": "5.7.2",
"truffle-plugin-verify": "^0.6.5"
},
Expand All @@ -38,6 +38,7 @@
},
"gitHead": "c149f3e740650a91e0764245230dbddc8f8f423e",
"scripts": {
"build": "truffle compile --all && typechain --target ethers-v5 'build/contracts/*.json' && tsc -skipLibCheck"
"build": "truffle compile --all && typechain --target ethers-v5 'build/contracts/*.json' && tsc -skipLibCheck",
"test": "pwd"
}
}
37 changes: 37 additions & 0 deletions projects/deploy-proxy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,43 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.8.13](https://github.com/rarible/protocol-contracts/compare/v0.8.12...v0.8.13) (2025-04-30)

**Note:** Version bump only for package @rarible/deploy-proxy

## [0.8.12](https://github.com/rarible/protocol-contracts/compare/v0.8.11...v0.8.12) (2025-04-30)

**Note:** Version bump only for package @rarible/deploy-proxy

## [0.8.11](https://github.com/rarible/protocol-contracts/compare/v0.8.10...v0.8.11) (2025-04-30)

### Features

- fix test and build ([78ae40b](https://github.com/rarible/protocol-contracts/commit/78ae40b4fdda18da610b022621a92f6944bdd8ba))

**Note:** Version bump only for package @rarible/deploy-proxy

## [0.8.10](https://github.com/rarible/protocol-contracts/compare/v0.8.9...v0.8.10) (2025-04-30)

**Note:** Version bump only for package @rarible/deploy-proxy

## [0.8.9](https://github.com/rarible/protocol-contracts/compare/v0.8.8...v0.8.9) (2025-04-30)

### Features

- fix build ([3857dfc](https://github.com/rarible/protocol-contracts/commit/3857dfcf6ab80beb519ae3d763a27196db1e3fea))
- fix tests ([8da7eac](https://github.com/rarible/protocol-contracts/commit/8da7eacecd799cc81d6f42daaf576cdc9f25a528))
- removed generated files ([1ef19d3](https://github.com/rarible/protocol-contracts/commit/1ef19d3ca6a74d6d7de97a52f7ed3fd9d5716a1c))

## [0.8.8](https://github.com/rarible/protocol-contracts/compare/v0.8.7...v0.8.8) (2025-04-29)

### Features

- refactoring ([#283](https://github.com/rarible/protocol-contracts/issues/283)) ([014b6a3](https://github.com/rarible/protocol-contracts/commit/014b6a3ea4331c7334a0b5299614eb56fc5d58f3))
- sanity check script for after new chain deployment ([#329](https://github.com/rarible/protocol-contracts/issues/329)) ([f046cc5](https://github.com/rarible/protocol-contracts/commit/f046cc564fa613894284c50b71eba44ed06e4483))

**Note:** Version bump only for package @rarible/deploy-proxy

## [0.8.7](https://github.com/rarible/protocol-contracts/compare/v0.8.6...v0.8.7) (2024-04-27)

### Bug Fixes
Expand Down
12 changes: 6 additions & 6 deletions projects/deploy-proxy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarible/deploy-proxy",
"version": "0.8.4",
"version": "0.8.13",
"main": "truffle.js",
"directories": {
"test": "test"
Expand Down Expand Up @@ -28,18 +28,18 @@
"@matterlabs/hardhat-zksync-chai-matchers": "1.2.1",
"@matterlabs/hardhat-zksync-deploy": "^0.6.3",
"@matterlabs/hardhat-zksync-ethers": "^0.0.1-beta.2",
"@matterlabs/hardhat-zksync-solc": "^0.3.15",
"@matterlabs/hardhat-zksync-solc": "^1.3.0",
"@matterlabs/hardhat-zksync-toolbox": "^0.2.0",
"@matterlabs/hardhat-zksync-upgradable": "^0.2.0",
"@matterlabs/hardhat-zksync-verify": "0.2.1",
"@openzeppelin/contracts": "3.4.0",
"@openzeppelin/contracts-upgradeable": "3.4.0",
"@openzeppelin/hardhat-upgrades": "^1.22.1",
"@openzeppelin/upgrades-core": "~1.31.1",
"@rarible/external-contracts": "3.11.6",
"eth-sig-util": "^3.0.1",
"truffle-plugin-verify": "^0.6.5",
"zksync-ethers": "^5.0.0",
"@rarible/external-contracts": "3.11.6"
"zksync-ethers": "^5.0.0"
},
"devDependencies": {
"@daonomic/tests-common": "0.2.2",
Expand All @@ -56,6 +56,7 @@
"@openzeppelin/contracts-upgradeable": "^3.4.0",
"@openzeppelin/hardhat-upgrades": "^1.22.1",
"@openzeppelin/truffle-upgrades": "^1.8.1",
"@rarible/deploy-utils": "^0.8.13",
"@tenderly/hardhat-tenderly": "^1.6.1",
"@trezor/connect": "^9.1.4",
"@trezor/connect-plugin-ethereum": "^9.0.2",
Expand Down Expand Up @@ -84,8 +85,7 @@
"typechain": "^8.2.0",
"typescript": "^5.0.4",
"web3": "^1.8.2",
"zksync-web3": "^0.17.1",
"@rarible/deploy-utils": "^0.8.4"
"zksync-web3": "^0.17.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion projects/deploy-proxy/zk.hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function createNetwork(name: string): HttpNetworkUserConfig {

const config: HardhatUserConfig = {
zksolc: {
version: "1.3.22",
version: "1.5.12",
settings: {
isSystem: false, // optional. Enables Yul instructions available only for zkSync system contracts and libraries
forceEvmla: false, // optional. Falls back to EVM legacy assembly if there is a bug with Yul
Expand Down
29 changes: 29 additions & 0 deletions projects/deploy-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,35 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.8.13](https://github.com/rarible/protocol-contracts/compare/v0.8.12...v0.8.13) (2025-04-30)

**Note:** Version bump only for package @rarible/deploy-utils

## [0.8.12](https://github.com/rarible/protocol-contracts/compare/v0.8.11...v0.8.12) (2025-04-30)

**Note:** Version bump only for package @rarible/deploy-utils

## [0.8.11](https://github.com/rarible/protocol-contracts/compare/v0.8.10...v0.8.11) (2025-04-30)

### Features

- fix test and build ([78ae40b](https://github.com/rarible/protocol-contracts/commit/78ae40b4fdda18da610b022621a92f6944bdd8ba))

**Note:** Version bump only for package @rarible/deploy-utils

## [0.8.10](https://github.com/rarible/protocol-contracts/compare/v0.8.9...v0.8.10) (2025-04-30)

**Note:** Version bump only for package @rarible/deploy-utils

## [0.8.8](https://github.com/rarible/protocol-contracts/compare/v0.8.7...v0.8.8) (2025-04-29)

### Features

- add new config ([#289](https://github.com/rarible/protocol-contracts/issues/289)) ([266cf8c](https://github.com/rarible/protocol-contracts/commit/266cf8cc237d009dbd98850120f54ac10ef66a8e))
- refactoring ([#283](https://github.com/rarible/protocol-contracts/issues/283)) ([014b6a3](https://github.com/rarible/protocol-contracts/commit/014b6a3ea4331c7334a0b5299614eb56fc5d58f3))

**Note:** Version bump only for package @rarible/deploy-utils

## [0.8.4](https://github.com/rarible/protocol-contracts/compare/v0.8.1...v0.8.4) (2025-04-21)

### Bug Fixes
Expand Down
5 changes: 3 additions & 2 deletions projects/deploy-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarible/deploy-utils",
"version": "0.8.4",
"version": "0.8.13",
"description": "Utils package",
"keywords": [
"utils"
Expand All @@ -21,7 +21,8 @@
"url": "git+https://github.com/rarible/protocol-contracts.git"
},
"scripts": {
"build": "tsc -skipLibCheck"
"build": "tsc -skipLibCheck",
"test": "pwd"
},
"bugs": {
"url": "https://github.com/rarible/protocol-contracts/issues"
Expand Down
46 changes: 45 additions & 1 deletion projects/deploy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,57 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.8.4](https://github.com/rariblecom/protocol-contracts/compare/v0.8.1...v0.8.4) (2025-04-21)
## [0.8.13](https://github.com/rariblecom/protocol-contracts/compare/v0.8.12...v0.8.13) (2025-04-30)

**Note:** Version bump only for package @rarible/deploy

## [0.8.12](https://github.com/rariblecom/protocol-contracts/compare/v0.8.11...v0.8.12) (2025-04-30)

**Note:** Version bump only for package @rarible/deploy

## [0.8.11](https://github.com/rariblecom/protocol-contracts/compare/v0.8.10...v0.8.11) (2025-04-30)

### Features

- fix test and build ([78ae40b](https://github.com/rariblecom/protocol-contracts/commit/78ae40b4fdda18da610b022621a92f6944bdd8ba))

**Note:** Version bump only for package @rarible/deploy

## [0.8.10](https://github.com/rariblecom/protocol-contracts/compare/v0.8.9...v0.8.10) (2025-04-30)

**Note:** Version bump only for package @rarible/deploy

## [0.8.9](https://github.com/rariblecom/protocol-contracts/compare/v0.8.8...v0.8.9) (2025-04-30)

**Note:** Version bump only for package @rarible/deploy

## [0.8.8](https://github.com/rariblecom/protocol-contracts/compare/v0.8.7...v0.8.8) (2025-04-29)

### Bug Fixes

- remove auction: not needed at the moment ([ecbc515](https://github.com/rariblecom/protocol-contracts/commit/ecbc515b058acadeace296ede9793afe5831bfcf))
- removed uneeded code ([b5110cc](https://github.com/rariblecom/protocol-contracts/commit/b5110cc7a0b712ce16339756e6e3f190e4a8d443))

**Note:** Version bump only for package @rarible/deploy

## [0.8.6](https://github.com/rariblecom/protocol-contracts/compare/v0.8.1...v0.8.6) (2024-04-27)

### Bug Fixes

- build ([5a04947](https://github.com/rariblecom/protocol-contracts/commit/5a049478b8acde4a8681b09d2f9aa5c54bd9fa58))

### Features

- add build deps ([822c123](https://github.com/rariblecom/protocol-contracts/commit/822c123199ac04598b6f8ab995ee8e8a66828015))
- PT-4662 get rid of nothing to fill tests ([4059dcb](https://github.com/rariblecom/protocol-contracts/commit/4059dcb20c100e159643e40929392b05f90f7038))
- PT-5072 add seaport 1.6 to exchange wrapper, deploy wrapper to sepolia ([c6f10f1](https://github.com/rariblecom/protocol-contracts/commit/c6f10f151740dd76da0e997b8bf499f03cba00a9))

## [0.8.5](https://github.com/rariblecom/protocol-contracts/compare/v0.8.1...v0.8.5) (2024-04-27)

### Bug Fixes

- add missing import ([ec5a4ea](https://github.com/rariblecom/protocol-contracts/commit/ec5a4ea5a59c98a65aad20a2b382d8eb8ec50771))

### Features

- add build deps ([822c123](https://github.com/rariblecom/protocol-contracts/commit/822c123199ac04598b6f8ab995ee8e8a66828015))
Expand Down
9 changes: 6 additions & 3 deletions projects/deploy/migrations/10_initial_exchange_wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const def = {
zeroAddress, // looksRareV2
zeroAddress, // blur
"0x00000000000000ADc04C56Bf30aC9d3c0aAF14dC", // seaport_1_5
zeroAddress, // seaport_1_6 @dev ensure a working seaport_1_6 is not needed for proper truffle tests functionality.
],

weth: zeroAddress,
Expand Down Expand Up @@ -168,7 +169,9 @@ function getWrapperSettings(network) {
}
}

module.exports = async function (deployer, network) {
module.exports = async function (deployer, network, accounts) {
const deployerAddress = accounts[0];

const { deploy_meta, deploy_non_meta } = getSettings(network);

let exchangeV2;
Expand All @@ -195,9 +198,9 @@ module.exports = async function (deployer, network) {
settings.transferProxies.push(erc20TransferProxy.address)

if (network === "polygon_mainnet") {
await deployer.deploy(RaribleExchangeWrapper, settings.marketplaces, settings.weth, settings.transferProxies, { gas: 4500000 * getGasMultiplier(network), nonce: 141 });
await deployer.deploy(RaribleExchangeWrapper, settings.marketplaces, settings.weth, settings.transferProxies, deployerAddress, { gas: 4500000 * getGasMultiplier(network), nonce: 141 });
} else {
await deployer.deploy(RaribleExchangeWrapper, settings.marketplaces, settings.weth, settings.transferProxies, { gas: 4500000 * getGasMultiplier(network) });
await deployer.deploy(RaribleExchangeWrapper, settings.marketplaces, settings.weth, settings.transferProxies, deployerAddress, { gas: 4500000 * getGasMultiplier(network) });
}


Expand Down
Loading