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

Inherit version and options from inner transaction when building relayedV2 transaction #399

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

popenta
Copy link
Contributor

@popenta popenta commented Mar 13, 2024

No description provided.

@popenta popenta self-assigned this Mar 13, 2024
andreibancioiu
andreibancioiu previously approved these changes Mar 13, 2024
@@ -98,6 +98,8 @@ export class RelayedTransactionV2Builder {
this.innerTransactionGasLimit.valueOf() + this.netConfig.MinGasLimit + this.netConfig.GasPerDataByte * payload.length(),
data: payload,
chainID: this.netConfig.ChainID,
version: this.innerTransaction.getVersion(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Good, for relayed V2 we use whatever the inner transaction has.

@popenta popenta merged commit 900ef61 into main Mar 13, 2024
1 check passed
@popenta popenta deleted the relayed-v2-builder-options-and-version branch March 13, 2024 09:23
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