Skip to content
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

feat(tokenUpdateTransaction): Implement TokenUpdateTransaction E2E tests: TCK #263

Open
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

ivaylogarnev-limechain
Copy link
Contributor

@ivaylogarnev-limechain ivaylogarnev-limechain commented Oct 30, 2024

Description:
This PR implements the TokenUpdateTransaction tests documented in test-specifications/token-service/tokenUpdateTransaction.md. Currently a test is skipped because of a bug in the services code which is related with the int64 min value.

Related issue(s):
#238

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

rwalworth and others added 24 commits August 8, 2024 09:45
Signed-off-by: Rob Walworth <[email protected]>
Signed-off-by: Rob Walworth <[email protected]>
Signed-off-by: Rob Walworth <[email protected]>
Signed-off-by: Rob Walworth <[email protected]>
Signed-off-by: Rob Walworth <[email protected]>
Signed-off-by: Rob Walworth <[email protected]>
Signed-off-by: Rob Walworth <[email protected]>
Signed-off-by: Rob Walworth <[email protected]>
Signed-off-by: Rob Walworth <[email protected]>
Signed-off-by: Rob Walworth <[email protected]>
…ith the latest improvements in TokenCreateTransaction logic.

Signed-off-by: ivaylogarnev-limechain <[email protected]>
Copy link
Contributor

@rwalworth rwalworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are currently working with C++ SDK server

test/token-service/test_tokenUpdateTransaction.js Outdated Show resolved Hide resolved
test/token-service/test_tokenUpdateTransaction.js Outdated Show resolved Hide resolved
// }
//
// assert.fail("Should throw an error");
//});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this meant to be left commented?

Copy link
Contributor Author

@ivaylogarnev-limechain ivaylogarnev-limechain Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was left commented out, and I haven't modified it. However, after testing it now, it appears it may have been commented because it throws an invalid expiration time error, even though it is within the acceptable range. I will look into the reason behind this.

…sary prototype change and removed .only

Signed-off-by: ivaylogarnev-limechain <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TCK: Implement tests for TokenUpdateTransaction
2 participants