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

Multiple scrs with refund #319

Merged

Conversation

miiu96
Copy link
Contributor

@miiu96 miiu96 commented Jan 15, 2025

  • Added support for multiple smart contract results with a refund

eTx.Function = converters.TruncateFieldIfExceedsMaxLength(res.Function)
eTx.Tokens = converters.TruncateSliceElementsIfExceedsMaxLength(res.Tokens)
eTx.ReceiversShardIDs = res.ReceiversShardID
eTx.IsRelayed = res.IsRelayed
eTx.IsRelayed = res.IsRelayed || isRelayedV3
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure this is needed, IsRelayed should already be true

Copy link
Contributor Author

@miiu96 miiu96 Jan 16, 2025

Choose a reason for hiding this comment

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

It is needed because is not set for relayed v3

@miiu96 miiu96 merged commit 5e055ee into relayed-tx-v3-integration Jan 16, 2025
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.

3 participants