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: entry point address as optional to SmartContractAccount #182

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

denniswon
Copy link
Contributor

@denniswon denniswon commented Oct 30, 2023

app.asana.com/0/1205598840815267/1205773893380310/f

Made to make entry point contract address param for SmartContractAccount class as optional (in case user wants to use their own for some reason).

Also, fixed some .gitignore issues. cc: @moldy530


PR-Codex overview

Detailed summary

  • Updated the factoryAddress parameter in multiple files to use the getDefaultLightAccountFactoryAddress function from @alchemy/aa-accounts instead of hardcoding the address.
  • Updated the factoryAddress parameter in multiple files to use the getDefaultSimpleAccountFactoryAddress function from @alchemy/aa-core instead of hardcoding the address.
  • Removed unused imports and variables.

The following files were skipped due to too many changes: site/snippets/ethers-signer.ts, packages/alchemy/e2e-tests/simple-account.test.ts, packages/ethers/e2e-tests/simple-account.test.ts, packages/core/src/account/__tests__/simple.test.ts, packages/core/e2e-tests/simple-account.test.ts, site/snippets/account-core.ts, site/snippets/light-account.ts, site/snippets/provider.ts, packages/accounts/src/kernel-zerodev/__tests__/account.test.ts, packages/core/src/account/base.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@denniswon denniswon force-pushed the denniswon/abstract-entrypoint branch from bc2e02b to f2717f8 Compare October 30, 2023 02:59
@denniswon denniswon changed the base branch from denniswon/abstract-entrypoint to denniswon/entrypoint-validation October 30, 2023 03:03
@denniswon denniswon force-pushed the denniswon/abstract-entrypoint-sca branch from f6a805a to 93252b9 Compare October 30, 2023 03:03
@denniswon denniswon force-pushed the denniswon/entrypoint-validation branch from ecf61aa to 5c36999 Compare October 30, 2023 03:33
@denniswon denniswon force-pushed the denniswon/abstract-entrypoint-sca branch from 93252b9 to e7a39f5 Compare October 30, 2023 03:36
@denniswon denniswon changed the title feat: make entry point contract as an optional param to SCA class feat: entry point address as optional to SmartContractAccount Oct 30, 2023
Copy link
Contributor

@avasisht23 avasisht23 left a comment

Choose a reason for hiding this comment

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

left some comments 🙏 overall lgtm, small discussion points

packages/core/src/account/base.ts Outdated Show resolved Hide resolved
packages/core/src/account/base.ts Outdated Show resolved Hide resolved
packages/core/src/account/base.ts Outdated Show resolved Hide resolved
packages/core/src/account/base.ts Outdated Show resolved Hide resolved
packages/core/src/account/base.ts Show resolved Hide resolved
@denniswon denniswon force-pushed the denniswon/entrypoint-validation branch from c8f5c1d to 9194213 Compare October 30, 2023 23:32
@denniswon denniswon force-pushed the denniswon/abstract-entrypoint-sca branch 4 times, most recently from 02961ae to 0317d23 Compare October 31, 2023 01:45
@denniswon denniswon changed the base branch from denniswon/entrypoint-validation to development October 31, 2023 01:46
@denniswon denniswon force-pushed the denniswon/abstract-entrypoint-sca branch from 0317d23 to 21008d9 Compare October 31, 2023 01:49
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.

None yet

3 participants