Closed joemonem closed 3 months ago
The recent changes simplify the handle_execute
function in contract.rs
by removing the logic related to fee payments and the determination of the payee
. This alteration marks a shift in how transactions are processed, potentially affecting the contract’s approval and message handling mechanisms. The removal denotes either a code optimization or a change in business requirements, streamlining fee management within the contract.
Files | Change Summary |
---|---|
contracts/non-fungible-tokens/andromeda-cw721/src/contract.rs |
Removed fee handling logic from the handle_execute function, including payee determination and pay_fee calls. |
🐇 In the realm of code, where logic flows,
A change so bright, like springtime's glows.
Fees now set free, like bunnies at play,
Simplifying the path, come what may!
Hops of joy echo, in each line we weave,
A brighter future, we gladly believe! 🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Motivation
CW721's
handle_execute
function had an extra pay fee message.Implementation
The below code is already handled in
call_action
.So I removed it.
Testing
No tests were affected
Version Changes
Bumped from 2.0.0 to 2.0.1
Notes
This bug was reported by @daniel-wehbe
Summary by CodeRabbit
New Features
Impact