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

SuperMinterV1_1 et al. #296

Merged
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d0e97dc
Prep files
Vectorized Nov 17, 2023
814e6f2
Reinstall multicaller
Vectorized Nov 17, 2023
56ecca9
forge install: multicaller
Vectorized Nov 17, 2023
289f5f5
Add LibMulticaller.senderOrSigner support
Vectorized Nov 17, 2023
767e950
Tidy
Vectorized Nov 17, 2023
51a192b
freeMintIncentive -> cheapMintIncentive
Vectorized Nov 24, 2023
83f02ac
Add comment on the two types of affiliate fees
Vectorized Nov 24, 2023
00273e4
Remove first collector incentives
Vectorized Nov 25, 2023
e993498
Add more comments and use checked math in mintTo
Vectorized Dec 1, 2023
9df9a7a
Add finalAffiliateIncentive to Minted log. Change finalCheapMintFee -…
Vectorized Dec 1, 2023
9d7530b
Add platform airdrop functionality to SuperMinterV1_1 (#298)
Vectorized Dec 15, 2023
ab5d9c3
Create modern-shirts-try.md
vigneshka Dec 15, 2023
9dc3992
pin version for typechain
vigneshka Dec 15, 2023
8e48a58
tweak ci
vigneshka Dec 15, 2023
3e86b2b
more ci tweaks
vigneshka Dec 15, 2023
babe37c
add back foundry
vigneshka Dec 15, 2023
12c912f
Merge branch 'main' of github.com:soundxyz/sound-protocol into vector…
vigneshka Dec 15, 2023
78f8bd9
bump
vigneshka Dec 15, 2023
4abef49
Merge branch 'main' of github.com:soundxyz/sound-protocol into vector…
vigneshka Dec 15, 2023
44373d5
bump typechain
vigneshka Dec 15, 2023
815ce5b
Merge branch 'main' of github.com:soundxyz/sound-protocol into vector…
vigneshka Dec 15, 2023
df00147
Implement fee changes (#299)
Vectorized Dec 18, 2023
30e8987
Update modern-shirts-try.md
vigneshka Dec 18, 2023
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
7 changes: 4 additions & 3 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ jobs:
with:
version: nightly

- name: Setup Node.js 14.x
uses: actions/setup-node@master
- name: Setup Node v18
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18
cache: 'pnpm'

- name: Setup NPM credentials
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- uses: pnpm/action-setup@v2.0.1
- name: Setup PNPM
uses: pnpm/action-setup@v2.2.4
with:
version: latest
- name: Setup Node v16
uses: actions/setup-node@v2

- name: Setup Node v18
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: 18
cache: 'pnpm'

- name: Run Danger JS
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ jobs:
with:
version: latest

- name: Set up Node.js
uses: actions/setup-node@v3
- name: Setup Node v18
uses: actions/setup-node@v4
with:
node-version: 16.16.0
cache: 'pnpm'
node-version: 18

- name: Install Node.js dependencies
run: pnpm install
Expand Down
102 changes: 53 additions & 49 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,56 @@
name: Release

on:
push:
branches:
- main
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Master
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node
uses: actions/setup-node@v2
with:
node-version: "16.x"
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Cache pnpm modules
uses: actions/cache@v2
env:
cache-name: cache-pnpm-modules
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('./pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: install pnpm
run: npm i pnpm@^7.2.1 -g
- name: Install Dependencies
run: pnpm i

- name: Setup NPM credentials
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: dotansimha/changesets-action@v1.3.3
with:
publish: "pnpm release"
commit: "chore(release): update monorepo packages versions"
title: "Upcoming Release Changes"
createGithubReleases: true
githubReleaseName: ${{ steps.vars.outputs.date }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup PNPM
uses: pnpm/action-setup@v2.2.4
with:
version: latest

- name: Setup Node v18
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'

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

- name: Install Dependencies
run: pnpm install --no-frozen-lockfile

- name: Set version variables
id: vars
shell: bash
run: |
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
echo "date=$(date +"%B %d, %Y")" >> $GITHUB_OUTPUT

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: dotansimha/changesets-action@v1.3.3
with:
publish: 'pnpm release'
commit: 'chore(release): update monorepo packages versions'
title: 'Upcoming Release Changes'
createGithubReleases: true
githubReleaseName: ${{ steps.vars.outputs.date }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@manypkg/get-packages": "^1.1.3",
"@pnpm/exportable-manifest": "^3.1.2",
"@pnpm/types": "^8.5.0",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/ethers-v5": "10.1.0",
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.7.11",
"bob-ts": "^4.0.0",
Expand All @@ -74,6 +74,10 @@
"typechain": "^8.1.0",
"typescript": "^4.7.4"
},
"packageManager": "pnpm@8.0.0",
"engines": {
"pnpm": ">=8.8.0"
},
"publishConfig": {
"access": "public",
"directory": "dist"
Expand Down
6 changes: 5 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading