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

Deserializing FileAppendTransaction hangs #2144

Closed
SvetBorislavov opened this issue Feb 19, 2024 · 0 comments · Fixed by #2145
Closed

Deserializing FileAppendTransaction hangs #2144

SvetBorislavov opened this issue Feb 19, 2024 · 0 comments · Fixed by #2145
Assignees
Labels
bug Something isn't working
Milestone

Comments

@SvetBorislavov
Copy link
Contributor

Description

Serializing FileAppendTransaction and then deserializing causes the process to hang

Steps to reproduce

  1. Run the following snippet
const { FileAppendTransaction, Transaction } = require('@hashgraph/sdk');

async function run() {
  // Creating a transaction
  console.log('Create transaction');
  const transaction = new FileAppendTransaction();

  // Serializing the transaction
  console.log('Serialize transaction');
  const transactionBytes = transaction.toBytes();

  // Deserialize when received
  console.log('Before deserialize');
  const transactionFromBytes = Transaction.fromBytes(transactionBytes);
  console.log('After deserialize');
}
run();

Additional context

No response

Hedera network

other

Version

v2.42.0-beta.2

Operating system

None

@SvetBorislavov SvetBorislavov added the bug Something isn't working label Feb 19, 2024
@svetoslav-nikol0v svetoslav-nikol0v self-assigned this Feb 19, 2024
@svetoslav-nikol0v svetoslav-nikol0v added this to the 2.42.0 milestone Feb 19, 2024
@svetoslav-nikol0v svetoslav-nikol0v linked a pull request Feb 19, 2024 that will close this issue
2 tasks
@github-project-automation github-project-automation bot moved this to In progress in Issue Board Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants