Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0f54291
enable partial transpilation
frangio Sep 27, 2023
b4a9a76
refactor prepare/prepack scripts
frangio Sep 27, 2023
f648bfe
add vanilla as dependency during upgradeable tests
frangio Sep 27, 2023
3910fbc
fix npm pack output
frangio Sep 27, 2023
270c006
fix npm pack
frangio Sep 27, 2023
df08dd7
fix transpile command
frangio Sep 27, 2023
59746e6
change approach without using pack
frangio Sep 27, 2023
e904e02
fix workflow
frangio Sep 27, 2023
0f2bafe
fix checkout location
frangio Sep 27, 2023
8002e8d
fix run
frangio Sep 27, 2023
9e2dcf1
fix mkdir
frangio Sep 27, 2023
0ff2901
fix ln
frangio Sep 27, 2023
5d8422f
add transpiler as dependency]
frangio Sep 27, 2023
de7a277
update hardhat-exposed
frangio Sep 27, 2023
63acb32
update transpiler
frangio Sep 27, 2023
5f0c801
enable exposed imports
frangio Sep 27, 2023
b6476c1
fix config
frangio Sep 27, 2023
448d8f6
add Stateless.sol
frangio Sep 27, 2023
0f7c3e2
fix stateless
frangio Sep 27, 2023
7246dbb
add dummy contract in stateless file
frangio Sep 27, 2023
ef88118
add all library imports
frangio Sep 27, 2023
01a768b
update hardhat-exposed
frangio Sep 27, 2023
e16c0ae
mark some contracts as stateless
Amxx Sep 28, 2023
9dc5442
sort
Amxx Sep 28, 2023
4771215
Add peer dependency to package.json
Amxx Sep 28, 2023
4ca92e2
fix import path
Amxx Sep 28, 2023
b320373
cleanup
Amxx Sep 28, 2023
268e17f
mark UUPSUpgradeable as stateless
Amxx Sep 28, 2023
781d5f2
Merge branch 'master' into partial-transpilation
frangio Sep 28, 2023
242b716
add changeset
frangio Sep 28, 2023
8d8030b
Update .github/workflows/checks.yml
frangio Sep 28, 2023
f63cf2d
simplify prepack
frangio Sep 28, 2023
86ebb2e
fix order of transpilation
frangio Sep 28, 2023
9e1ce8d
Merge branch 'master' into partial-transpilation
frangio Sep 28, 2023
b51a866
fix location where peer dependency is added
frangio Sep 28, 2023
5336454
read package version from contracts/package.json
Amxx Sep 28, 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
Prev Previous commit
Next Next commit
change approach without using pack
  • Loading branch information
frangio committed Sep 27, 2023
commit 59746e68c1f485ae30fe40906ea690adf342e766
14 changes: 7 additions & 7 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ jobs:
fetch-depth: 0 # Include history so patch conflicts are resolved automatically
- name: Set up environment
uses: ./.github/actions/setup
- name: Pack vanilla package
id: vanilla
run: |
tarball="$(npm pack --pack-destination .. | tee /dev/stderr | tail -1)"
echo "tarball=$tarball" >> "$GITHUB_OUTPUT"
working-directory: contracts
- name: Transpile to upgradeable
run: bash scripts/upgradeable/transpile.sh
- name: Check out copy of vanilla
uses: actions/checkout@v4
with:
path: ${{ env.RUNNER_TEMP }}/vanilla
- name: Install vanilla as dependency
run: npm install --no-save "${{ steps.vanilla.outputs.tarball }}"
run:
mkdir node_modules/@openzeppelin
ln -s ${{ env.RUNNER_TEMP }}/vanilla/contracts node_modules/@openzeppelin/contracts
- name: Run tests
run: npm run test
- name: Check linearisation of the inheritance graph
Expand Down