Closed janezpodhostnik closed 3 months ago
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Attention: Patch coverage is 91.54930%
with 12 lines
in your changes missing coverage. Please review.
Project coverage is 84.79%. Comparing base (
a41d66b
) to head (99c5610
).
Files | Patch % | Lines |
---|---|---|
flow_py_sdk/cadence/kinds.py | 91.34% | 9 Missing :warning: |
flow_py_sdk/cadence/types.py | 89.65% | 0 Missing and 3 partials :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
[!CAUTION]
Review failed
The pull request is closed.
The recent updates across several Python example files primarily involve modifying access control keywords from pub
to access(all)
, enhancing the visibility and accessibility of contracts, functions, and structures. Additionally, significant changes were made to account references and transaction preparation logic, transitioning from AuthAccount
to Account
. Updates to the flow_py_sdk
templates reflect these modifications, promoting a more unified and flexible structure.
File | Change Summary |
---|---|
examples/account_examples.py |
Updated access modifiers from pub to access(all) , and changed function logic from addition to multiplication. |
examples/events_examples.py |
Modified access control from pub to access(all) for the contract and its functions. |
examples/scripts_examples.py |
Changed access control keywords from pub to access(all) for functions and structures. |
examples/transactions_examples.py , flow_py_sdk/templates.py |
Updated prepare function to accept Account references instead of AuthAccount and adjusted template functions to use auth with &Account . |
🐰 In fields of code where changes bloom,
Access widened, dispelling gloom.
Functions, structs, and contracts too,
Now more open, bright, and true.
Accounts with ease now intertwine,
In a dance of logic, pure and fine.
Celebrate the shift, a coder's delight,
With rabbits hopping in code's bright light. 🌟
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?
@coderabbitai review
Summary by CodeRabbit
New Features
access(all)
to ensure broader visibility and access.Account
instead ofAuthAccount
.InclusiveRange
class for enhanced functionality related to ranges.Improvements
create_account_template
and other account-related templates for better account management.verifyAccountSignaturesTemplate
function for improved security and functionality.