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

feat: UniversalFactory #139

Merged
merged 23 commits into from
May 20, 2022
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8b96f2b
feat: add UniversalFactory contract
YamenMerhi Apr 15, 2022
2b5c196
test: add UniversalFactory tests
YamenMerhi Apr 15, 2022
768ce28
build: add UniversalFactory contract to `hardhat.config.ts`
YamenMerhi Apr 15, 2022
a9d8939
refactor: add `_calculateSalt` internal function
YamenMerhi Apr 21, 2022
c55f126
fix: fix naming on parameters
YamenMerhi Apr 26, 2022
8cbe0e7
chore: code refactor
frozeman Apr 26, 2022
96236c1
chore: refactor the code of the UniversalFactory
YamenMerhi Apr 27, 2022
f5be547
test: fix the failing tests
YamenMerhi Apr 27, 2022
2bed34f
Merge branch 'develop' of https://github.com/lukso-network/lsp-smart-…
YamenMerhi Apr 27, 2022
b8a5344
build: add command to test UniversalFactory
YamenMerhi Apr 27, 2022
dacd9d5
ci: add parallel test of UniversalFactory
YamenMerhi Apr 27, 2022
a0938e9
test: import provider from helpers
YamenMerhi Apr 27, 2022
5a253ba
test: fix var naming and typos
YamenMerhi Apr 27, 2022
c6052c1
test: refer to empty bytes with "0x" instead of []
YamenMerhi Apr 27, 2022
3b74798
chore: fix linter warnings
YamenMerhi Apr 27, 2022
e2b1e20
fix: resolve merge conflicts in LSP1
YamenMerhi May 17, 2022
3e249a4
fix: remove value sent when initializing base contracts
YamenMerhi May 17, 2022
bf9aa72
test: add helpers constants
YamenMerhi May 17, 2022
022c51f
chore: add helpers contract to test UniversalFactory
YamenMerhi May 17, 2022
0741694
chore: improve UniversalFactory contract nastpec
YamenMerhi May 17, 2022
3550a22
test: add more teststo UniversalFactory contract
YamenMerhi May 17, 2022
49f3097
ci: resolve merge conflicts in the ci
YamenMerhi May 20, 2022
7056909
ci: edit factory test command in `package.json`
YamenMerhi May 20, 2022
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
32 changes: 32 additions & 0 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,38 @@ jobs:
- name: run LSP9 tests
run: npm run test:lsp9

test-UniversalFactory:
YamenMerhi marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v2

- name: restore cache
uses: actions/cache@v2
with:
path: |
artifacts
node_modules
types
key: ${{ github.run_id }}

- name: Use Node.js v16
uses: actions/setup-node@v2
with:
node-version: "16.x"
cache: "npm"

- name: Install dependencies
if: steps.build-cache.outputs.cache-hit != 'true'
run: npm ci

- name: Generate typechain types
if: steps.build-cache.outputs.cache-hit != 'true'
run: npm run generate-types

- name: run UniversalFactory tests
run: npm run test:factory

test-Helpers:
runs-on: ubuntu-latest
needs: [build]
Expand Down