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(node-wasm, types)!: Add method to get blobs for wasm #468

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

fl0rek
Copy link
Member

@fl0rek fl0rek commented Nov 28, 2024

No description provided.

@fl0rek fl0rek changed the title Feat/blob service feat(node-wasm, types)!: Add method to get blobs for wasm Nov 29, 2024
@fl0rek fl0rek force-pushed the feat/blob_service branch 2 times, most recently from f3e5b98 to 93514f2 Compare December 2, 2024 08:38
@fl0rek fl0rek force-pushed the feat/blob_service branch from 93514f2 to bcfefca Compare December 2, 2024 08:43
types/src/blob/msg_pay_for_blobs.rs Outdated Show resolved Hide resolved
types/src/blob/msg_pay_for_blobs.rs Outdated Show resolved Hide resolved
@fl0rek fl0rek marked this pull request as ready for review December 12, 2024 09:50
@fl0rek fl0rek requested review from zvolin and oblique December 12, 2024 15:59
@zvolin zvolin mentioned this pull request Dec 12, 2024
Copy link
Member

Choose a reason for hiding this comment

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

I think we can revert changes there and in utils.rs. We've already resolved ci failures about missing docs and stuff at another level

types/src/blob/commitment.rs Show resolved Hide resolved
types/src/blob/commitment.rs Show resolved Hide resolved
types/src/blob/commitment.rs Show resolved Hide resolved
types/src/blob/commitment.rs Outdated Show resolved Hide resolved
@@ -91,6 +93,7 @@ pub type Proof = nmt_rs::simple_merkle::proof::Proof<NamespacedSha2Hasher>;
/// - secondary reserved namespaces - those use version `0xff` so they are always placed after
/// user-submitted data.
#[derive(Copy, Clone, Debug, PartialEq, Eq, Ord, PartialOrd, Hash)]
#[cfg_attr(all(feature = "wasm-bindgen", target_arch = "wasm32"), wasm_bindgen)]
Copy link
Member

Choose a reason for hiding this comment

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

I'm wondering how usage of namespace works in js, as we don't expose any methods iiuc

Copy link
Member Author

Choose a reason for hiding this comment

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

good point, added getters for id and version as well as to_byte equivalent.

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