Skip to content

bug: promise never resolves updating entities using Node.js v24 #14

@seniorquico

Description

@seniorquico

I have a Node.js v24 application, and both of these calls hang indefinitely:

await walletClient.mutateEntities({
  updates: [
    {
      attributes: attributes,
      contentType: 'application/json',
      entityKey: result.entities[0].key,
      expiresIn: 60 * 60, // 1 hour
      payload: encodeJsonEntity(lobby),
    },
  ],
})
await walletClient.updateEntity({
  attributes: attributes,
  contentType: 'application/json',
  entityKey: result.entities[0].key,
  expiresIn: 60 * 60, // 1 hour
  payload: encodeJsonEntity(lobby),
})

The entity update actually succeeds, and you can see the transaction/updated entity on the chain with the block explorer. The promise simply never resolves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions