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

feat: pop drink #1

Merged
merged 51 commits into from
Oct 18, 2024
Merged

feat: pop drink #1

merged 51 commits into from
Oct 18, 2024

Conversation

Daanvdplas
Copy link
Collaborator

@Daanvdplas Daanvdplas commented Sep 17, 2024

Sets up the repo for pop drink.

@chungquantin chungquantin marked this pull request as ready for review September 20, 2024 11:11
@Daanvdplas Daanvdplas changed the title feat: assets api feat: pop drink Sep 27, 2024
crates/pop-drink/src/lib.rs Show resolved Hide resolved
@@ -0,0 +1,13 @@
pub use drink::*;
pub use ink_sandbox::api::{assets_api::AssetsAPI};

Choose a reason for hiding this comment

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

Perhaps export all the apis available under mod api, provided it doesnt clash with drink?

crates/pop-drink/src/lib.rs Outdated Show resolved Hide resolved
@@ -0,0 +1,13 @@
pub use drink::*;

Choose a reason for hiding this comment

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

There are quite a few functions in the examples tests which can be moved here to the crate root, so that they can be used across all example contracts and more importantly, all dev contracts.

Copy link
Collaborator Author

@Daanvdplas Daanvdplas Sep 27, 2024

Choose a reason for hiding this comment

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

Yes this was definitely the plan. Wanted to see whether we were happy with them first, before providing them to devs. Which we now are

Copy link
Collaborator

@chungquantin chungquantin left a comment

Choose a reason for hiding this comment

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

@chungquantin chungquantin mentioned this pull request Oct 10, 2024
4 tasks
@@ -28,7 +28,7 @@ pub mod devnet {
pub use crate::error::*;

pub mod v0 {
pub use pop_api::primitives::v0::{self, *};
pub use pop_api::primitives::v0::{self, Error as ApiError, *};
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is this used somewhere? Line 34 imports it as v0::Error

@Daanvdplas Daanvdplas merged commit 13ea823 into main Oct 18, 2024
4 checks passed
@Daanvdplas Daanvdplas deleted the daan/feat-assets branch October 18, 2024 13:33
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