-
Notifications
You must be signed in to change notification settings - Fork 127
Add k6 test for NFT token lifecycle #11534
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
Conversation
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
Signed-off-by: Nikolay Nikolov <[email protected]>
tools/k6/src/web3/test/complex-functions/contractCallComplexFunctionsNFTLifecycle.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Nikolay Nikolov <[email protected]>
Signed-off-by: Nikolay Nikolov <[email protected]>
test/src/test/resources/solidity/contracts/ComplexFunctions.sol
Outdated
Show resolved
Hide resolved
Signed-off-by: Nikolay Nikolov <[email protected]>
# Conflicts: # test/src/test/resources/solidity/artifacts/contracts/ComplexFunctions.sol/ComplexFunctions.json # test/src/test/resources/solidity/contracts/ComplexFunctions.sol # tools/k6/README.md # tools/k6/src/web3/test/index.js
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
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.
LGTM
This PR adds a k6 test that covers the lifecycle of a Non-fungible token. The contract function that
Create token
Associate token
GrantKyC
Mint
transfer from treasury to acc1
freeze / unfreeze
transfer from acc1 to acc2
wipe token amount from an account
pause / unpause
The detailed contract function is:
Related issue(s):
Fixes #11470
Notes for reviewer:
Can be merged after the one for Fungible token
Checklist