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

Support for transaction sponsorship/resource payer #964

Merged
merged 16 commits into from
Jul 1, 2021

Conversation

bradlhart
Copy link
Contributor

Change Description

Adds support for transaction sponsorship/resource payer feature by utilizing the transaction_extensions key in the transaction payload. Serialize/deserialize work was necessarily since the transaction_extensions data type is not easily defined in the abi format.

API Changes

  • API Changes
    api.serializeTransactionExtensions: serializes the transaction extension array
    api.deserializeTransactionExtensions: deserializes the transaction extension array
    eosjs-serialize.ts serializeMap/deserializeMap: serialize/deserialize functions specifically for the flat map structure of the serialized transaction extension data e.g. [1, '0000000080ABBCA90010000000000000FA000000000000000000000000000000']
    eosjs-serialize.ts: Removed the transaction.abi.json file and incorporated it into the eosjs-serialize.ts file since the transaction_extension is a type not supported directly from abi format

Documentation Additions

  • Documentation Additions

Short 'how-to' guide on how to include payer information for the feature

@bradlhart bradlhart requested a review from praphael June 22, 2021 21:35
nksanthosh added a commit that referenced this pull request Jul 1, 2021
CI/CD changes for PRs #937/#963/#964 - merging per a request from Brad

this is a bug with github actions, version 12.14.1 has been replaced by the v15.14.0 ones, can you override and merge it?

It also might be because I have to copy the workflow files to master but I won't be certain until this one is merged

Will be verified and can be reverted if something else breaks.
@bradlhart bradlhart merged commit 9dafdfa into develop Jul 1, 2021
@bradlhart bradlhart deleted the transaction_sponsorship branch July 1, 2021 19:18
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.

3 participants