Closed lealobanov closed 1 month ago
[!CAUTION]
Review failed
The pull request is closed.
The changes introduce new functionalities for adding public keys to accounts and enhance the transaction signing process within the Flow blockchain framework. New classes and methods are added for managing non-fungible tokens (NFTs) and deploying contracts. Additionally, unit tests are implemented to validate these functionalities, while existing methods are refactored for improved clarity and maintainability.
Files | Change Summary |
---|---|
common/src/main/resources/cadence/add_key.cdc , common/src/main/resources/cadence/simple_transaction_2_authorizers.cdc , common/src/main/resources/cadence/test_utils_create_account.cdc |
New transaction definitions for adding keys and managing authorizers, with enhancements to account creation logic. |
common/src/main/resources/cadence/great_token.cdc |
New contract for creating and managing non-fungible tokens (NFTs) with associated minting logic. |
java-example/src/main/java/org/onflow/examples/java/AccessAPIConnector.java , java-example/src/main/java/org/onflow/examples/java/ExamplesUtils.java |
Refactored access methods and centralized script loading for better maintainability. |
java-example/src/main/java/org/onflow/examples/java/addKey/AddAccountKeyExample.java , java-example/src/main/java/org/onflow/examples/java/deployContract/DeployContractExample.java |
New classes for adding account keys and deploying contracts, encapsulating transaction logic. |
java-example/src/test/java/org/onflow/examples/java/addKey/AddAccountKeyExampleTest.java , java-example/src/test/java/org/onflow/examples/java/deployContract/DeployContractExampleTest.java |
New unit tests to validate functionalities for adding keys and deploying contracts. |
kotlin-example/src/main/kotlin/org/onflow/examples/kotlin/AccessAPIConnector.kt , kotlin-example/src/main/kotlin/org/onflow/examples/kotlin/addKey/AddAccountKeyExample.kt , kotlin-example/src/main/kotlin/org/onflow/examples/kotlin/deployContract/DeployContractExample.kt |
New Kotlin classes for managing access and deploying contracts, enhancing the interaction with the Flow blockchain. |
kotlin-example/src/test/kotlin/org/onflow/examples/kotlin/addKey/AddAccountKeyExampleTest.kt , kotlin-example/src/test/kotlin/org/onflow/examples/kotlin/deployContract/DeployContractExampleTest.kt |
New test suites to validate the functionalities for adding keys and deploying contracts in Kotlin. |
sequenceDiagram
participant User
participant FlowBlockchain
participant AddAccountKeyExample
User->>AddAccountKeyExample: Request to add key
AddAccountKeyExample->>FlowBlockchain: Construct transaction
FlowBlockchain-->>AddAccountKeyExample: Transaction constructed
AddAccountKeyExample->>FlowBlockchain: Sign transaction with private key
FlowBlockchain-->>AddAccountKeyExample: Transaction signed
AddAccountKeyExample->>User: Return transaction result
π° "In the meadow where bunnies play,
New transactions hop in every way!
With keys and signs, they dance around,
In Flow's embrace, joy can be found.
Hooray for changes, letβs all cheer,
For a brighter blockchain year!" πβ¨
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?
22 filesββ22 suitesβββ4m 44s :stopwatch: 55 testsβ55 :heavy_check_mark:β0 :zzz:β0 :x:
Results for commit 6cef9e0f.
:recycle: This comment has been updated with latest results.
ββ53 filesβ Β±0ββββ53 suitesβ Β±0βββ23s :stopwatch: Β±0s 310 tests Β±0ββ310 :heavy_check_mark: Β±0ββ0 :zzz: Β±0ββ0 :x: Β±0β
Results for commit 52724b03.βΒ± Comparison against base commit 52724b03.
:recycle: This comment has been updated with latest results.
1 filesββ1 suitesβββ7s :stopwatch: 1 testsβ1 :heavy_check_mark:β0 :zzz:β0 :x:
Results for commit 6cef9e0f.
:recycle: This comment has been updated with latest results.
ββ6 filesβ Β±0ββββ6 suitesβ Β±0βββ2m 34s :stopwatch: Β±0s 30 tests Β±0ββ30 :heavy_check_mark: Β±0ββ0 :zzz: Β±0ββ0 :x: Β±0β
Results for commit 52724b03.βΒ± Comparison against base commit 52724b03.
:recycle: This comment has been updated with latest results.
Description
Transaction signing examples:
This PR also includes some minor refactoring on the examples tests
For contributor use:
master
branchFiles changed
in the Github PR explorerSummary by CodeRabbit
New Features
Bug Fixes
Tests