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

Add resource_payer transaction extension - #10286

Merged
victorj8 merged 1 commit into
resource_payerfrom
payer-transaction-extension
Apr 23, 2021
Merged

victorj8 merged 1 commit into
resource_payerfrom
payer-transaction-extension

Conversation

@victorj8

Copy link
Copy Markdown
Contributor

Change Description

Add a new transaction extension called resource_payer.

This new extension will contain information useful for the transaction sponsorship feature, where we want that an account can sponsor gets charged for the resources used by another account/transaction.

The data that this new extension will contain is:

  • payer : name of the sponsoring account.
  • max_net_bytes: the amount of NET resource that the sponsor account is willing to allow.
  • max_cpu_us: the amount of CPU resource that the sponsor account is willing to allow.
  • max_memory_bytes: Currently this will field will not be utilized.

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

Add

Documentation Additions

  • Documentation Additions

@victorj8
victorj8 merged commit a242cd6 into resource_payer Apr 23, 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