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

Enable multisig for account #1476

Merged
merged 7 commits into from
Oct 9, 2024

Conversation

ClementWalter
Copy link
Member

@ClementWalter ClementWalter commented Oct 8, 2024

Time spent on this PR: 0.5

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Not possible to use an Argent multisig account as account in the scripts.

Resolves #1411

What is the new behavior?

  • get_starknet_account can handle an Argent multisig account as sender.
  • all invoke tx now use the same execute_v1 function extracted from starknet-py.
  • this function can be lazy and batch execute calls afterwards instead of executing them when called.
  • also added cache of the class_hashes at compile step to speed up the deployment script.

This change is Reviewable

obatirou
obatirou previously approved these changes Oct 8, 2024
@ClementWalter ClementWalter merged commit 7a89bf9 into kkrt-labs:main Oct 9, 2024
6 checks passed
@ClementWalter ClementWalter deleted the cw/argent-multisig branch October 9, 2024 08:05
enitrat pushed a commit that referenced this pull request Oct 9, 2024
Time spent on this PR: 0.5

Please check the type of change your PR introduces:

- [ ] Bugfix
- [x] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):

Not possible to use an Argent multisig account as account in the
scripts.

Resolves #1411

- `get_starknet_account` can handle an Argent multisig account as
sender.
- all invoke tx now use the same `execute_v1` function extracted from
`starknet-py`.
- this function can be lazy and batch execute calls afterwards instead
of executing them when called.
- also added cache of the class_hashes at compile step to speed up the
deployment script.

<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg"
height="34" align="absmiddle"
alt="Reviewable"/>](https://reviewable.io/reviews/kkrt-labs/kakarot/1476)
<!-- Reviewable:end -->
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.

feat: use Argent multisig in the deploy script
2 participants