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

Implemented the Relayed Transactions Factory #369

Merged
merged 9 commits into from
Jan 19, 2024
Merged

Conversation

popenta
Copy link
Contributor

@popenta popenta commented Jan 5, 2024

The RelayedTransactionsFactory was implemented according to the sdk-specs.
Also added unit tests.

@popenta popenta self-assigned this Jan 5, 2024
@bogdan-rosianu bogdan-rosianu self-requested a review January 8, 2024 13:09
bogdan-rosianu
bogdan-rosianu previously approved these changes Jan 8, 2024
bogdan-rosianu
bogdan-rosianu previously approved these changes Jan 8, 2024
@ccorcoveanu ccorcoveanu self-requested a review January 17, 2024 12:04
andreibancioiu
andreibancioiu previously approved these changes Jan 19, 2024
sender: Address.fromBech32(innerTransaction.sender).pubkey().toString("base64"),
receiver: Address.fromBech32(innerTransaction.receiver).pubkey().toString("base64"),
value: new BigNumber(innerTransaction.value.toString(), 10).toNumber(),
gasPrice: new BigNumber(innerTransaction.gasPrice.toString(), 10).toNumber(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Could have also been new BigNumber(innerTransaction.value), I think etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@popenta popenta merged commit 1dc461d into feat/next Jan 19, 2024
1 check passed
@popenta popenta deleted the relayed-tx-factory branch January 19, 2024 14:00
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.

4 participants