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

Calling and invoking contracts through dispatchers #2144

Merged
merged 26 commits into from
Jun 30, 2023

Conversation

cptartur
Copy link
Member

@cptartur cptartur commented Jun 28, 2023

Closes #1992

This PR also fixes some parts of the declare and deploy cheatcodes logic.

Checklist

  • Relevant issue is linked
  • Docs updated/issue for docs created
  • Added relevant tests

@cptartur cptartur changed the title 1992 contract calling Calling and invoking contracts through dispatchers Jun 29, 2023
@cptartur cptartur marked this pull request as ready for review June 29, 2023 10:29
@cptartur cptartur requested a review from a team as a code owner June 29, 2023 10:29
@cptartur cptartur requested review from Radinyn, piotmag769 and Arcticae and removed request for a team June 29, 2023 10:29
Copy link
Member

@Arcticae Arcticae left a comment

Choose a reason for hiding this comment

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

LGTM although i'd ask somebody for best rust practises 😅

protostar-rust/src/cheatcodes_hint_processor.rs Outdated Show resolved Hide resolved
protostar-rust/src/cheatcodes_hint_processor.rs Outdated Show resolved Hide resolved
Base automatically changed from 1847-multiple-contracts-in-package to master June 29, 2023 13:59
Copy link
Contributor

@piotmag769 piotmag769 left a comment

Choose a reason for hiding this comment

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

Didn't know the PR handling failure/panic data is being done on the base of this PR, that's why I requested changes before

@cptartur cptartur mentioned this pull request Jun 30, 2023
3 tasks
@cptartur
Copy link
Member Author

Created these issues as followup for this PR:

#2156
#2158

@cptartur cptartur enabled auto-merge June 30, 2023 13:26
@cptartur cptartur added this pull request to the merge queue Jun 30, 2023
Merged via the queue into master with commit 6eebb27 Jun 30, 2023
@cptartur cptartur deleted the 1992-contract-calling branch June 30, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Contract calling
3 participants