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

add chunking api interface to management canister #1768

Merged
merged 10 commits into from
Jun 6, 2024

Conversation

sudoshreyansh
Copy link
Contributor

No description provided.

@lastmjs
Copy link
Member

lastmjs commented May 2, 2024

Please follow these instructions: https://github.com/demergent-labs/azle?tab=readme-ov-file#contributing

@lastmjs
Copy link
Member

lastmjs commented May 2, 2024

If you are able to sign the license extension, I would like to ask for tests to be added to this PR as well. Most of our management canister tests are here: https://github.com/demergent-labs/azle/tree/main/examples/management_canister

You would need to add whatever extra functionality you've added to the management canister to this example similar to the other APIs in there, and add the tests as well.

That's all basic feedback before a thorough review.

@sudoshreyansh
Copy link
Contributor Author

Sure! I have signed the license #1771
I have added the examples and tests. I will also update the Azle book docs and mark this ready for review.

@sudoshreyansh sudoshreyansh marked this pull request as ready for review May 3, 2024 13:46
@lastmjs
Copy link
Member

lastmjs commented May 3, 2024

Great I have merged the license extension signature and am now running the tests. Will review in the next few days.

canisters/management/canister_management.ts Show resolved Hide resolved
examples/management_canister/src/index.ts Outdated Show resolved Hide resolved
examples/management_canister/src/index.ts Outdated Show resolved Hide resolved
examples/management_canister/src/index.ts Outdated Show resolved Hide resolved
examples/management_canister/src/index.ts Show resolved Hide resolved
@lastmjs
Copy link
Member

lastmjs commented May 7, 2024

I've reviewed everything but the tests themselves, looking good so far just a few basic changes requested.

@lastmjs
Copy link
Member

lastmjs commented May 7, 2024

I've finished my review, requesting a few changes, very impressed and thanks for the help!

@lastmjs
Copy link
Member

lastmjs commented May 7, 2024

Actually, there is another problem. You can ignore the other tests, but the bitcoin tests are failing and I don't believe they should be. It probably has something to do with updating the ic.did file. If you could address that so they are passing it would be great.

@sudoshreyansh
Copy link
Contributor Author

Yeah, @lastmjs you were right regarding the bitcoin tests. Fixed it.
Also addressed the other requested changes.

@sudoshreyansh sudoshreyansh requested a review from lastmjs May 18, 2024 09:59
@sudoshreyansh
Copy link
Contributor Author

Hey, @lastmjs can you re-review when you have time?

@lastmjs
Copy link
Member

lastmjs commented Jun 6, 2024

Sorry for taking so long, will be reviewing soon. You couldn't have known this, but FYI we usually let the reviewer resolve conversations as part of the review process.

@lastmjs
Copy link
Member

lastmjs commented Jun 6, 2024

Everything is looking good, I've updated the branch and will just let the tests run one more time. If all looks good I'll be merging soon.

Copy link
Member

@bdemann bdemann left a comment

Choose a reason for hiding this comment

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

LGTM

@lastmjs lastmjs merged commit 5784ecd into demergent-labs:main Jun 6, 2024
126 of 129 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.

3 participants