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

refactor: remove isActive length check #188

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

pscott
Copy link

@pscott pscott commented Sep 14, 2023

Describe your changes

Reorder the requires and remove a needless check in setAdmins.

Types of changes

  • Optimizatiooooon

@pscott
Copy link
Author

pscott commented Sep 14, 2023

Unsure why the ci is failing :(

@rahulrumalla
Copy link
Contributor

rahulrumalla commented Sep 14, 2023

Unsure why the ci is failing :(

I think the CI didn't pick up the env vars correctly. Wondering if this is because the PR is coming in from a fork 🤔 Will look into it..

@rahulrumalla
Copy link
Contributor

Yeah, I was right.

With the exception of GITHUB_TOKEN, secrets are not passed to the runner when a workflow is triggered from a forked repository.
https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#using-secrets-in-a-workflow

I haven't looked into whether this is outdated, but if you're able to add these 2 GH secret to your fork's secrets, I think that could pass the CI

    DEPLOYER_PRIVATE_KEY: 
    ETHERSCAN_API_KEY: 

@pscott
Copy link
Author

pscott commented Sep 14, 2023

I added my ETHERSCAN_API_KEY, but for DEPLOYER_PRIVAT_KEY I input 0x1234. Will it work if you re-run the job? Or do I need an actual private key of a funded wallet on goerli?

@rahulrumalla
Copy link
Contributor

I added my ETHERSCAN_API_KEY, but for DEPLOYER_PRIVAT_KEY I input 0x1234. Will it work if you re-run the job? Or do I need an actual private key of a funded wallet on goerli?

The PK is used to extract account addresses from it I blv. So needs a valid PK. Just use any valid PK, best if you're able to generate a new account or use a test account's PK. Lmk once you've added and I'll retrigger the buildto se if that helps

@pscott
Copy link
Author

pscott commented Sep 15, 2023

done :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants