-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reenable livenet tests #377
Conversation
WalkthroughThese updates enhance a project focused on smart contract interactions on a live blockchain network. A new testing step is added to the CI/CD pipeline for live network testing. Parameter handling in ERC20 contract interactions is optimized for efficiency by using references. The release script is updated to streamline package publishing, ensuring the correct order for Changes
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 3
Configuration used: CodeRabbit UI
Files selected for processing (4)
- .github/workflows/test.yml (1 hunks)
- examples/bin/erc20_on_livenet.rs (2 hunks)
- examples/bin/livenet_tests.rs (4 hunks)
- release-odra.sh (1 hunks)
Additional comments: 5
examples/bin/erc20_on_livenet.rs (2)
- 25-25: The update to pass references in the
token.transfer
function call aligns with Rust's best practices for efficient memory usage. This change improves the code's performance by avoiding unnecessary data copying.- 27-28: The updates to pass references in the
token.balance_of
function calls are correctly implemented and enhance the code's efficiency. Good job on adhering to Rust's best practices.examples/bin/livenet_tests.rs (3)
- 1-1: The addition of a description at the beginning of the file is a great practice. It provides valuable context and helps developers understand the purpose and functionality of the example. Ensure the description is clear, concise, and accurately reflects the example's objectives.
- 47-49: The updates to pass references in the
erc20.balance_of
function calls are correctly implemented and contribute to the code's efficiency by avoiding unnecessary data copying. This is a good application of Rust's best practices.- 66-66: The update to pass a reference in the
erc20_contract.transfer
function call is correctly implemented. This change enhances the code's performance by adhering to Rust's best practices for efficient memory usage.
128c82a
to
5044e98
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (4)
- .github/workflows/test.yml (2 hunks)
- examples/bin/erc20_on_livenet.rs (2 hunks)
- examples/bin/livenet_tests.rs (4 hunks)
- release-odra.sh (1 hunks)
Files skipped from review as they are similar to previous changes (4)
- .github/workflows/test.yml
- examples/bin/erc20_on_livenet.rs
- examples/bin/livenet_tests.rs
- release-odra.sh
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/0.8.2 #377 +/- ##
================================================
Coverage ? 85.01%
================================================
Files ? 124
Lines ? 13619
Branches ? 0
================================================
Hits ? 11578
Misses ? 2041
Partials ? 0 ☔ View full report in Codecov by Sentry. |
5044e98
to
593da8e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (4)
- .github/workflows/test.yml (2 hunks)
- examples/bin/erc20_on_livenet.rs (2 hunks)
- examples/bin/livenet_tests.rs (4 hunks)
- release-odra.sh (1 hunks)
Files skipped from review as they are similar to previous changes (4)
- .github/workflows/test.yml
- examples/bin/erc20_on_livenet.rs
- examples/bin/livenet_tests.rs
- release-odra.sh
Reenabled livenet tests.
593da8e
to
fc598fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (4)
- .github/workflows/test.yml (2 hunks)
- examples/bin/erc20_on_livenet.rs (2 hunks)
- examples/bin/livenet_tests.rs (4 hunks)
- release-odra.sh (1 hunks)
Files skipped from review as they are similar to previous changes (4)
- .github/workflows/test.yml
- examples/bin/erc20_on_livenet.rs
- examples/bin/livenet_tests.rs
- release-odra.sh
Summary by CodeRabbit
odra-build
package.