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(accountUpdateTransaction): Implement AccountUpdateTransaction E2E tests: TCK #224

Conversation

rwalworth
Copy link
Contributor

@rwalworth rwalworth commented Jun 25, 2024

Description:
This PR implements the tests documented in test-specfications/crypto-service/accountUpdateTransaction.md. Since some of the work was already done for AccountUpdateTransaction tests, this reworks those tests to match what is in the test specifications, in addition to adding any new tests. The docs were also updated to mark the tests as implemented.

Reminder, according to the development process we have established for the TCK (#202), this SHOULD NOT be approved by an SDK lead until their SDK has done any development required to run these tests against their SDK and those tests have passed. Feel free to provide comments and input to the PR, but approvals should not be granted until testing has occurred.

Issues opened in SDKs that encompass the SDK server work should be linked back to the TCK's AccountUpdateTransaction development issue (#39) for easy tracking.

The work in this PR also consumes the work required for #196.

Related issue(s):

Fixes #217

Checklist

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

… to use as a model going forward. Create utility.md file to hold miscellaneous JSON RPC functions. Move tests and test specifictions documents to folders for the specific Hedera service they are for

Signed-off-by: Rob Walworth <[email protected]>
…ion is now contained in accountCreateTransaction.md

Signed-off-by: Rob Walworth <[email protected]>
…ix alias only being able to be an ECDSAsecp256k1 key.

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]>
…ts for receiver signature required, auto renew period, and memo

Signed-off-by: Rob Walworth <[email protected]>
… tests for declineStakingRewards. Some generateKey calls didn't have a type when they should.

Signed-off-by: Rob Walworth <[email protected]>
…t variable name for maxAutoTokenAssociations. Use correct bounds for maxAutoTokenAssociations

Signed-off-by: Rob Walworth <[email protected]>
.env.custom_node Outdated Show resolved Hide resolved
test/crypto-service/test_accountUpdateTransaction.js Outdated Show resolved Hide resolved
… into 00217-tck-implement-json-rpc-methods-for-accountupdatetransaction
rwalworth and others added 2 commits August 7, 2024 09:24
Signed-off-by: Rob Walworth <[email protected]>
…tus for invalid staking ID test

Signed-off-by: Rob Walworth <[email protected]>
Signed-off-by: Rob Walworth <[email protected]>
Copy link
Contributor

@0xivanov 0xivanov left a comment

Choose a reason for hiding this comment

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

All tests are passing in Go.

@ivaylogarnev-limechain
Copy link
Contributor

All tests are passing in JS.

Copy link
Contributor

@0xivanov 0xivanov left a comment

Choose a reason for hiding this comment

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

Passing in Java

@rwalworth rwalworth merged commit 39455e1 into main Sep 9, 2024
3 checks passed
@rwalworth rwalworth deleted the 00217-tck-implement-json-rpc-methods-for-accountupdatetransaction branch September 9, 2024 16:42
ivaylogarnev-limechain added a commit that referenced this pull request Oct 4, 2024
…E2E tests: TCK (#224)

Signed-off-by: Rob Walworth <[email protected]>
Signed-off-by: Rob Walworth <[email protected]>
Co-authored-by: Ivan Ivanov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TCK: Implement tests for AccountUpdateTransaction
4 participants