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

Remove Receiver-like traits with before_received from PSPs #59

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

Artemka374
Copy link
Contributor

before_received method was found as vulnerability point during ink! audit, that can be used with malicious intents by exhausting gas limit. So, the decision was to remove such method and Receiver-like traits.

Copy link
Collaborator

@Noc2 Noc2 left a comment

Choose a reason for hiding this comment

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

Thanks a lot for creating the issue. I'm generally happy to merge it, but let me ping the original creators of the PSP one last time before I'm going to merge it.

@0xMarkian and @xgreenx do you have any input or concerns here?

@0xMarkian
Copy link

Hey, thanks for mentioning us @Noc2 !
I am good to proceed with this change.

@Noc2 Noc2 merged commit 10ec2eb into w3f:master Jun 23, 2023
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.

3 participants