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

Make package usable in browser env #106

Merged
merged 5 commits into from
Feb 3, 2023
Merged

Make package usable in browser env #106

merged 5 commits into from
Feb 3, 2023

Conversation

jfschwarz
Copy link
Collaborator

@jfschwarz jfschwarz commented Feb 3, 2023

I wanted to use the zodiac package for deterministically deploying club card contracts but realized that the zodiac package dependencies are a bit of a mess.

From some of our factory functions we relied on Hardhat APIs even so they really only require ethers. This PR reduces the set of runtime dependencies, in particular those that rely on node APIs.

@gnosis.pm/zodiac can now be used in browser environments without any hassle.

since the factory functions now take an ethers signer instead of the hardhat runtime env, we should bump the major for this release.

Copy link
Collaborator

@samepant samepant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests passing and goerli deployment behaves the same as main

looks good to me

@jfschwarz jfschwarz merged commit d162234 into master Feb 3, 2023
@jfschwarz jfschwarz deleted the browser-compat branch February 3, 2023 20:21
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants