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

FeeSchedule breaks on every new transaction added. #2389

Open
georgi-l95 opened this issue Jul 4, 2024 · 0 comments
Open

FeeSchedule breaks on every new transaction added. #2389

georgi-l95 opened this issue Jul 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@georgi-l95
Copy link

Description

Currently in the relay we are getting the feeSchedules, before each transaction to determine adequate gas fee for the transaction. However if a new transaction type is added in Hedera, but SDK is using older protobufs, when we try to resolve the file, it fails. When failing it enters this catch block

throw new Error(
`(BUG) RequestType.fromCode() does not handle code: ${code}`,
);

There should be a dynamic approach to this, to avoid the need of updating on every new transaction.

Steps to reproduce

  1. Try to get feeschedules from file 0.0.111 using older sdk version against latest services.

Additional context

No response

Hedera network

other

Version

main

Operating system

None

@georgi-l95 georgi-l95 added the bug Something isn't working label Jul 4, 2024
This was referenced Aug 2, 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

No branches or pull requests

1 participant