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

Add CallAs trait #42

Merged
merged 4 commits into from Dec 19, 2022
Merged

Add CallAs trait #42

merged 4 commits into from Dec 19, 2022

Conversation

CyberHoward
Copy link
Contributor

📢 Type of change

▫️ Bugfix
▫️ New feature
▫️ Enhancement
▫️ Refactoring
▫️ Maintenance

📜 Description and Motivation

The CallAs trait allows for a call_as(&caller_addr) modifier when doing contract calls in a mock environment.

🛠️ How to test (if applicable)

📝 Checklist

▫️ Reviewed submitted code
▫️ Added tests to verify changes
▫️ Updated docs
▫️ Verified on testnet

@CyberHoward CyberHoward merged commit 4921c32 into main Dec 19, 2022
@CyberHoward CyberHoward deleted the add/call_as_modifier branch December 19, 2022 18:52
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

1 participant