-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adds definitions and types according to ink v5 changes * adds toV5 boilerplate code draft * adds v5 flipper test contract code * fix license dates * adds test v5 toLatest test * implements new scheme to determine event * apply linter changes * adds test result outputs * change `EventRecord['topics'][0]` type to plain `Hash` * adds testcases for decoding payload data of a ink!v4 and ink!v5 event * changes `Abi.decodeEvent(data:Bytes)` method interface to `Abi.decodeEvent(record:EventRecord)` which includes the event and the topic for decoding. * draft implementation with version metadata * cleaner implementation of versioned Metadata by actually leveraging the `version` field included since v2 contract metadata * trying to make linter happy * makes `ContractMetadataSupported` in internal to `Abi` type and not exposing it externally. * properly types unused parameter for tsc 🤷 * adds `@polkadot/types-support` dev dependency * Update yarn.lock * references `types-support` in `api-contract * resolving change requests * resolves linter warnings * changes ContractMetadataV5 field to `u64` from `Text` * adds contracts and contract metadata compiled with the most recent ink version * implements decoding of anonymous events if possible * removes done todo comments
- Loading branch information
Showing
39 changed files
with
6,245 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.