Open janezpodhostnik opened 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.83%. Comparing base (
a41d66b
) to head (a442a8a
).
: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.
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, there are significant changes in the handling of account references and transaction preparation logic, moving from AuthAccount
to Account
references, and updates to the flow_py_sdk
templates to reflect these changes.
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 |
Updated prepare function to accept Account references instead of AuthAccount . |
flow_py_sdk/templates.py |
Updated various functions to use auth(BorrowValue) &Account instead of AuthAccount and added an argument to verifyAccountSignaturesTemplate . |
π° 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
.Improvements
create_account_template
and other account-related templates for better account management.verifyAccountSignaturesTemplate
function for improved security and functionality.