Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Transaction context changes for resource payer extension - #10304

Merged
venu-block1 merged 1 commit into
resource_payerfrom
epe-931_transaction_context
Apr 29, 2021
Merged

venu-block1 merged 1 commit into
resource_payerfrom
epe-931_transaction_context

Conversation

@venu-block1

Copy link
Copy Markdown
Contributor

Change Description

Transaction context changes for resource payer extension in transaction, for transaction sponsorship feature.

Change Type

Select ONE:

  • Documentation
  • Stability bug fix
  • Other
  • Other - special case

Testing Changes

Select ANY that apply:

  • New Tests
  • Existing Tests
  • Test Framework
  • CI System
  • Other

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

return ret;
} );
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Victor added a method to get resource payer. Go ahead and use that when he commits it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Victor's resource_payer() method is getting only resource payer account name, where as I need the entire resource_payer struct. I'm adding an overloaded resource_payer() method, and moving it to transaction struct, so that both gettors are at one place for users to choose. This change is going in along with exceptions code in next PR.

@venu-block1
venu-block1 merged commit d5dc8d4 into resource_payer Apr 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants