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

Update reply field in data of UserMessageSent event #848

Merged
merged 7 commits into from
Jul 20, 2022

Conversation

osipov-mit
Copy link
Member

@osipov-mit osipov-mit commented Jul 19, 2022

Changes

  • Update reply field of Message type according to Replace reply data tuple with struct gear#1198
    Type of reply field is Struct with fields replyTo and exitCode instead of Tuple from now on
  • Update type of waitlist and mailbox item according to Internal pallet module gear#1197
    From this moment the types are Tuple with 2 elements, the first one remained the same and the 2nd one is object with start and finish fields that show block's number when message gets into mailbox / waitlist and last block's number when message gets out of mailbox / waitlist
  • Also waitlist.read and mailbox.read methods now return Codec types without keys.

Bump @gear-js/api version to 0.24.0

@osipov-mit osipov-mit added the api label Jul 19, 2022
api/CHANGELOG.md Outdated Show resolved Hide resolved
api/CHANGELOG.md Outdated Show resolved Hide resolved
api/src/wasm/WasmMeta.ts Show resolved Hide resolved
@osipov-mit osipov-mit requested a review from breathx July 20, 2022 10:54
@osipov-mit osipov-mit merged commit 52ba45f into master Jul 20, 2022
@osipov-mit osipov-mit deleted the do-reply-field branch July 20, 2022 11:35
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