-
Notifications
You must be signed in to change notification settings - Fork 6
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
Initial commit #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to stick to using npm
instead of other custom package managers. It might be a bit slower but it's always pain for devex, since everyone is using different package managers but everyone knows npm
and have it installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also I think we need to follow common monorepo practice of storing each module in the packages
folder.
I pushed SDK and Gateway but didn't add any CI logic yet, I think we can do it a bit later cause need to figure out how tests should be set up to work together |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Expecting this to be a monorepo, and while there are still missing pieces for the contracts, most of the components are there.
set up to run CI for a folder hardhat already has caching, so had to specify some folders for nx so it knows where to look to avoid duplicating hard-hats de-deduplication
Update in root and in contracts
Also import latest lockfile from main, as local was outdated and inconsistent (the latest package versions have breaking changes)
Use workspace versions instead, we'll see if this by default installs packages or if there's another step for that
Based on PR feedback for where other packages are going
The peer dep conflict with openzepplin still exists, but other devs on the project prefer the default package manager since we're not yet large enough to need the smaller package footprints of pnpm. Tests should now run in CI again!
Also pass arguments correctly to nx with npm, as it needs the split between arguments to npm and arguments to nx
might be giving zksolc corruption issues that don't happen locally Updating packages as well!
Updating lockfile with latest tested versions (from the other repo)
We've exceeded the free plan and instead of falling back to gh actions it just fails
Still assuming something with the caching wrapper is breaking it, as the other repo with the onchain job downloads just fine.
Because npm won't auto alias to scripts unlike most other custom package mangers
It's looking like the download isn't designed to be multi-process safe! Because the test step includes a build, the download was being run twice.
Fails with gas limit, will debug in tests instead of setup
4151730
to
c92d56e
Compare
feat: add function to retrieve guarded accounts
Import the state of the world from my example application
Also use nx and pnpm to setup monorepo tooling for other PRs