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

Support TrustedCalls/TrustedGetter/Public getters for Note #120

Merged
merged 6 commits into from
Nov 9, 2024

Conversation

clangenb
Copy link
Member

@clangenb clangenb commented Nov 9, 2024

Closes #119

@@ -79,12 +103,21 @@ export class IntegriteeWorker extends Worker {
from: String,
to: String,
amount: number,
note?: string,
Copy link
Member Author

Choose a reason for hiding this comment

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

Internally, we will decide if it is the balance transfer call with note or without based on note being null or not.

Comment on lines +209 to +212
NotesBucketInfo: {
first: 'BucketInfo',
last: 'BucketInfo',
},
Copy link
Member Author

Choose a reason for hiding this comment

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

Note, the WIP in the worker uses a tuple here, but I decided it is more convenient to use a struct, and the worker will change this hopefully soon. However, we can already use a struct here because the scale codec is compatible.

@clangenb clangenb merged commit 8cf38d6 into master Nov 9, 2024
3 checks passed
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.

support new TrustedCalls, TrustedGetters and PublicGetters for Notes
1 participant