w3f / PSPs

Polkadot Smart Contract Proposals
Creative Commons Zero v1.0 Universal
158 stars 68 forks source link

Remove Receiver-like traits with `before_received` from PSPs #59

Closed Artemka374 closed 1 year ago

Artemka374 commented 1 year ago

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.

0xMarkian commented 1 year ago

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