Closed m-Peter closed 4 weeks ago
The changes introduce enhancements to the transaction logic for creating a Cadence-owned account, ensuring that if an account already exists for the signer, the process exits early to avoid unnecessary operations. Additionally, error handling in the requester service is improved by providing detailed error messages during the COA resource creation, enhancing robustness and clarity in error management.
Files | Change Summary |
---|---|
services/requester/cadence/create_coa.cdc, services/requester/requester.go | Improved transaction logic to check for existing COA accounts and enhanced error handling with detailed messages. |
Objective | Addressed | Explanation |
---|---|---|
Improve COA creation transaction to handle existing COA resource in storage (#499) | ✅ |
🐰 "In the meadow where bunnies play,
A new COA shines bright today!
With checks in place, we hop with glee,
No more waste, just harmony!
Errors now clear, like a sunny ray,
Let's celebrate this fine new way!" 🌼
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?
Closes: https://github.com/onflow/flow-evm-gateway/issues/499
Description
This will allow us to distinguish the actual errors that might arise from the COA creation transaction, as until now we ignored the returned error.
For contributor use:
master
branchFiles changed
in the Github PR explorerSummary by CodeRabbit
New Features
Bug Fixes
Documentation