Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
54c3542
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 19, 2023
a07d085
Merge pull request #1271 from ProjectOpenSea/dependabot/npm_and_yarn/…
0age Jul 20, 2023
03cdb72
docs: add issue type to validator return values
joejordan Jul 29, 2023
609dcb4
Bump @openzeppelin/contracts from 4.9.2 to 4.9.3
dependabot[bot] Aug 11, 2023
faba72c
Update Deployment.md
montasaurus Aug 24, 2023
3e9f3df
Merge pull request #1277 from ProjectOpenSea/fix-cast-call
montasaurus Aug 24, 2023
6c56d6e
add base chain
cupOJoseph Aug 30, 2023
56a8c1c
Update README.md
cupOJoseph Aug 30, 2023
b8e804e
Merge pull request #1278 from ProjectOpenSea/cupOJoseph-patch-1
0age Sep 1, 2023
539f0c1
Merge pull request #1274 from ProjectOpenSea/dependabot/npm_and_yarn/…
0age Sep 1, 2023
0034f14
initial navigator import hygiene pass
Sep 12, 2023
de19a48
fix typo, rename, refactor, document
Sep 12, 2023
777acc9
Merge pull request #1272 from joejordan/main
0age Sep 13, 2023
fd7dd10
add some comments and a logging library
Sep 13, 2023
099f0e7
remove the "test" file
Sep 13, 2023
1db4896
add a nav test for returned native tokens
Sep 14, 2023
d48dbf7
put helm in a less disruptive place
Sep 14, 2023
d3be694
fix test failure presumably related to a foundry update
Sep 14, 2023
09d715e
remove helm
Sep 18, 2023
22ea29d
Merge pull request #1280 from ProjectOpenSea/dan/2023/09/navigator-cl…
0age Sep 21, 2023
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
db21fbe
Update publish.yml - fix `src` -> `contracts`
ryanio Mar 20, 2024
ec9a715
Merge pull request #1312 from ProjectOpenSea/ryanio-patch-1
0age Mar 20, 2024
fd647cf
Update publish.yml - remove openzeppelin import renaming
ryanio Mar 20, 2024
0c18bd9
Merge pull request #1313 from ProjectOpenSea/ryanio-patch-1
0age Mar 20, 2024
a76a42b
Delete .github/workflows/publish.yml
ryanio Mar 20, 2024
1d12e33
Merge pull request #1314 from ProjectOpenSea/ryanio-patch-1
0age Mar 20, 2024
52a03f8
Update package.json - bump seaport-core version
ryanio Mar 22, 2024
4b40a25
Merge pull request #1315 from ProjectOpenSea/ryanio-patch-1
0age Mar 30, 2024
6461f02
Update README.md - replace mumbai with amoy
ryanio Apr 11, 2024
5db5b8c
Fix some comments
pullmerge Apr 14, 2024
20b84b9
Merge pull request #1321 from ProjectOpenSea/ryanio-patch-1
0age Apr 15, 2024
850503c
Update foundry.toml - fix contract offerers action
ryanio Apr 16, 2024
7aa0776
Update test.yml
ryanio Apr 16, 2024
2ff6ea3
Merge pull request #1324 from ProjectOpenSea/ryanio-patch-1
0age Apr 16, 2024
585b2ef
Merge pull request #1322 from pullmerge/main
0age May 28, 2024
ee2c596
Update Code4rena-Guidelines.md
strmfos Feb 19, 2025
49bf740
Update README.md
strmfos Feb 19, 2025
2f381ca
Fix readme link
BCLeFevre Mar 21, 2025
082eab8
Merge pull request #1352 from ProjectOpenSea/ben/FixLink
BCLeFevre Mar 21, 2025
b1a35c4
Update README.md
ryanio Apr 21, 2025
1d2c7f3
Update Code4rena-Guidelines.md
ryanio Apr 21, 2025
687dfd7
Merge pull request #1349 from strmfos/main
ryanio Apr 21, 2025
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"
18 changes: 0 additions & 18 deletions .github/workflows/publish.yml

This file was deleted.

93 changes: 63 additions & 30 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 All @@ -132,6 +158,12 @@ jobs:
- 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 tests
run: FOUNDRY_PROFILE=offerers forge test -vvv

Expand Down Expand Up @@ -159,36 +191,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 All @@ -207,4 +240,4 @@ jobs:
- uses: codecov/codecov-action@v3
with:
files: ./coverage/lcov.info
flags: reference
flags: reference
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
Loading