Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mantle seaport 1.6 #1333

Open
wants to merge 85 commits into
base: 1.6
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
f391439
Bump get-func-name from 2.0.0 to 2.0.2
dependabot[bot] Sep 27, 2023
548b657
Add rdme front matter to docs
thenerdassassin Oct 6, 2023
6d8bf57
Merge pull request #1285 from ProjectOpenSea/devDocs
0age Oct 10, 2023
c20690f
Bump undici from 5.20.0 to 5.26.3
dependabot[bot] Oct 16, 2023
c2e33e8
Fix README.md link
ryanio Nov 8, 2023
c07eb39
Merge pull request #1291 from ProjectOpenSea/ryanio-patch-1
0age Nov 14, 2023
09d431e
Merge pull request #1287 from ProjectOpenSea/dependabot/npm_and_yarn/…
0age Nov 14, 2023
180be2a
fix: use fuzzargs in differential test
anna-carroll Nov 17, 2023
bc94af2
Update Deployment.md
0age Nov 21, 2023
3b8876b
Merge pull request #1294 from ProjectOpenSea/0age-patch-1
0age Nov 21, 2023
50a0c09
Merge pull request #1292 from anna-carroll/anna/use-fuzzargs
0age Nov 21, 2023
bbd6db6
run linter
anna-carroll Dec 24, 2023
0585f2f
Merge pull request #1283 from ProjectOpenSea/dependabot/npm_and_yarn/…
0age Jan 4, 2024
70a457d
Merge pull request #1295 from anna-carroll/anna/lint
0age Jan 4, 2024
179c390
Bump follow-redirects from 1.15.2 to 1.15.4
dependabot[bot] Jan 10, 2024
3d4e15f
update arbitrum testnet
cupOJoseph Jan 24, 2024
6203542
Update README.md
cupOJoseph Jan 24, 2024
d14e445
Update README.md
ryanio Jan 24, 2024
d446931
Update README.md
ryanio Jan 24, 2024
ca9dc43
Update README.md
ryanio Jan 24, 2024
73f135a
Merge pull request #1301 from ProjectOpenSea/cupOJoseph-arb-testnet
0age Jan 25, 2024
4f4e7c2
Merge pull request #1297 from ProjectOpenSea/dependabot/npm_and_yarn/…
0age Jan 25, 2024
d883eec
update seaport-types & seaport-core
0age Mar 5, 2024
528dedd
bump some versions
0age Mar 5, 2024
402769f
adjust a few more versions
0age Mar 5, 2024
aaf7c3f
update some test contracts
0age Mar 5, 2024
00d96a0
update seaport types, core, & sol
0age Mar 6, 2024
ff787de
use latest types/core/sol (need to put types on npm)
0age Mar 6, 2024
e6d593e
update package.json
0age Mar 6, 2024
0436390
update seaport-core for pragma change
0age Mar 6, 2024
688580e
update seaport-core again to fix a compiler warning
0age Mar 7, 2024
3f7e2dc
include updated contracts/test and contracts/zones
0age Mar 7, 2024
70c2ff2
bring over new tests (need to fix imports)
0age Mar 7, 2024
5ef2dc6
Fix finding test, use ABI with named params for scuff contract
d1ll0n Mar 7, 2024
5a303bc
Remove selfdestruct from PausableZone to comply with cancun changes
d1ll0n Mar 7, 2024
b067cd1
Less restrictive input type
d1ll0n Mar 7, 2024
04a58dd
Expect all executions to be returned but only check non-skipped ones …
d1ll0n Mar 7, 2024
e912b20
expect bubbled up error
d1ll0n Mar 7, 2024
2a4f33d
update hardhat
d1ll0n Mar 7, 2024
2c48e61
bump node version
0age Mar 7, 2024
51768ad
fix tests / remove tests that are now irrelevant
0age Mar 7, 2024
0a6433a
skip one test that is not working after hh update
0age Mar 7, 2024
d660732
update solidity-coverage (still broken though)
0age Mar 7, 2024
a3c13a0
solve for stack depth issues on transfer helper
0age Mar 7, 2024
2108dd3
add all the foundry tests
0age Mar 7, 2024
65f546d
update seaport libs
0age Mar 7, 2024
18ed3c5
fix a few tests related to new updateStatus logic
0age Mar 7, 2024
f4a1aff
update with latest reference
0age Mar 7, 2024
28c7a22
restore original tests
0age Mar 7, 2024
0dc816a
include reference tests
0age Mar 7, 2024
874cdc8
lint
0age Mar 7, 2024
70d1919
skip some files on lint
0age Mar 7, 2024
22f8835
remove the interface change
0age Mar 7, 2024
6c80053
pausable zone meh
0age Mar 7, 2024
939c04c
skip a few funky legacy tests in reference
0age Mar 7, 2024
fae4d87
update workflow to add reference forge and remove legacy coverage
0age Mar 7, 2024
09c6a0c
add gas profile (may be irregularities)
0age Mar 8, 2024
cc02e38
do both validateOrder & updateStatus fraction derivation
0age Mar 8, 2024
ce05cb4
fix direct tests for modified FractionUtil
0age Mar 8, 2024
1d74948
handle rare edge case in mutations and expand applicability
0age Mar 8, 2024
c4bf370
fix the extended mutation logic for basic identifier handling
0age Mar 8, 2024
441a923
skip fulfillAvailable on these as errors are still tripped
0age Mar 8, 2024
f2b107e
update seaport-types & seaport-core
0age Mar 11, 2024
5da60cf
update reference reentrancy guard
0age Mar 11, 2024
c40d546
lint
0age Mar 11, 2024
3fab586
update seaport-core & seaport-types
0age Mar 12, 2024
26ac0e9
update gas report
0age Mar 12, 2024
aae5c89
Bump follow-redirects from 1.15.4 to 1.15.6
dependabot[bot] Mar 16, 2024
b8d4f10
Merge pull request #1305 from ProjectOpenSea/seaport-1.6
0age Mar 18, 2024
b2272e9
Bump @openzeppelin/contracts from 4.9.3 to 4.9.6
dependabot[bot] Mar 18, 2024
3df67c1
Merge pull request #1306 from ProjectOpenSea/dependabot/npm_and_yarn/…
0age Mar 18, 2024
8380bea
Merge pull request #1304 from ProjectOpenSea/dependabot/npm_and_yarn/…
0age Mar 18, 2024
df8d670
Bump undici from 5.26.3 to 6.9.0
dependabot[bot] Mar 18, 2024
00423f3
Merge pull request #1308 from ProjectOpenSea/dependabot/npm_and_yarn/…
0age Mar 18, 2024
e8c087d
Update SeaportRouter.sol for 1.6
ryanio Mar 18, 2024
36175c8
Update SeaportRouter.sol
ryanio Mar 18, 2024
3b4e3db
Update revert.spec.ts
0age Mar 18, 2024
1d03a0a
Update revert.spec.ts
0age Mar 18, 2024
b2dfb80
Merge pull request #1309 from ProjectOpenSea/ryanio-patch-1
0age Mar 18, 2024
a35736f
Update README.md deployments for 1.6
ryanio Mar 19, 2024
df943a9
Merge pull request #1310 from ProjectOpenSea/ryanio-patch-1
nadavhollander Mar 20, 2024
2a6bd7d
Update Deployment.md for 1.6
ryanio Mar 20, 2024
206fe87
Update Deployment.md
ryanio Mar 20, 2024
e9c5a9f
Merge pull request #1311 from ProjectOpenSea/ryanio-patch-1
0age Mar 20, 2024
39a604f
Added makefile that was used for fraxtal deployment
bam4564 Jul 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
509 changes: 509 additions & 0 deletions .gas_reports/3fab586d8f77266bf79226b17cbc65cb867689e6.json

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish Docs to Central Repository
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Copy developer docs to repository
if: github.ref == 'refs/heads/main'
uses: nkoppel/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-files: "docs/"
destination-username: "ProjectOpenSea"
destination-repository: "developer-docs"
destination-directory: "seaport"
destination-branch: "main"
commit-username: "ProjectOpenSea-seaport"
commit-message: "Latest docs from seaport"
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16.x"
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- run: grep -RiIln 'openzeppelin-contracts' src | xargs sed -i 's/openzeppelin\-contracts/@openzeppelin\/contracts/g'
- run: yarn
Expand Down
85 changes: 56 additions & 29 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
node-version: [16.15.1]
node-version: [18.15.0]

steps:
- uses: actions/checkout@v3
Expand All @@ -36,7 +36,7 @@ jobs:

strategy:
matrix:
node-version: [16.15.1]
node-version: [18.15.0]

steps:
- uses: actions/checkout@v3
Expand All @@ -54,7 +54,7 @@ jobs:

strategy:
matrix:
node-version: [16.15.1]
node-version: [18.15.0]

steps:
- uses: actions/checkout@v3
Expand All @@ -73,7 +73,7 @@ jobs:

strategy:
matrix:
node-version: [16.15.1]
node-version: [18.15.0]

env:
REFERENCE: true
Expand Down Expand Up @@ -107,15 +107,41 @@ jobs:
- name: Install forge dependencies
run: forge install

- name: Precompile reference using 0.8.13 and via-ir=false
- name: Precompile reference using 0.8.24 and via-ir=false
run: FOUNDRY_PROFILE=reference forge build

- name: Precompile optimized using 0.8.17 and via-ir=true
- name: Precompile optimized using 0.8.24 and via-ir=true
run: FOUNDRY_PROFILE=optimized forge build

- name: Run tests
run: FOUNDRY_PROFILE=test forge test -vvv

forge-ref:
name: Run Forge Reference Tests (via_ir = false; fuzz_runs = 5000)
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install forge dependencies
run: forge install

- name: Precompile reference using 0.8.24 and via-ir=false
run: FOUNDRY_PROFILE=reference forge build

- name: Precompile optimized using 0.8.24 and via-ir=true
run: FOUNDRY_PROFILE=optimized forge build

- name: Run reference tests
run: FOUNDRY_PROFILE=reference MOAT_PROFILE=reference forge test -vvv

forge-offerers:
name: Run Contract Offerer Forge Tests (via_ir = false; fuzz_runs = 1000)
runs-on: ubuntu-latest
Expand Down Expand Up @@ -159,36 +185,37 @@ jobs:
files: ./lcov.info
flags: foundry

coverage:
name: Run Coverage Tests
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.15.1]

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- run: yarn install
- run: yarn build
- run: yarn coverage
- uses: codecov/codecov-action@v3
with:
files: ./coverage/lcov.info
flags: production
# TODO: work out how to run legacy coverage (also how to run against core)
# coverage:
# name: Run Coverage Tests
# runs-on: ubuntu-latest
#
# strategy:
# matrix:
# node-version: [18.15.0]
#
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# cache: "yarn"
# - run: yarn install
# - run: yarn build
# - run: yarn coverage
# - uses: codecov/codecov-action@v3
# with:
# files: ./coverage/lcov.info
# flags: production

reference-coverage:
name: Run Reference Coverage Tests
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.15.1]
node-version: [18.15.0]

env:
REFERENCE: true
Expand Down
15 changes: 10 additions & 5 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ gasReporterOutput.json

typechain-types/

lib/ds-test
lib/forge-std
lib/murky
lib/openzeppelin-contracts
lib/solmate
lib/ds-test/
lib/murky/
lib/seaport-core/
lib/seaport-types/
lib/solarray/
lib/forge-std/
lib/openzeppelin-contracts/
lib/seaport-sol/
lib/solady/
lib/solmate/

docs/OrderValidator.md
Loading