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

Proposition of changes into Casper Types to support a Rust SDK for 1.6 #4348

Closed
wants to merge 18 commits into from

Conversation

gRoussac
Copy link
Contributor

@gRoussac gRoussac commented Oct 17, 2023

Please consider the following when creating a PR:

  • Provide a useful description of this PR, suitably verbose, aimed at helping reviewers and contributors

This PR intends to pull changes made for the Rust SDK. It is adding a std-fs-io default feature and thus adds several methods or expose them accordingly to be able to compile the SDK into a wasm file.

  • Update all relevant changelogs
    check
  • Provide a link to the GitHub issue relating to this PR

casper-ecosystem/rustSDK#8
casper-ecosystem/rustSDK#10

  • Identify if any downstream impact as in to, SDKs, SmartContracts etc

This code is intended to go into 1.6 version for the 1.6 ready version of the SDK.

@gRoussac gRoussac marked this pull request as ready for review October 18, 2023 19:44
Copy link
Contributor

@zacshowa zacshowa left a comment

Choose a reason for hiding this comment

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

Similar to my comments on the related PR against the casper-client, I think it makes sense to approve these to get the SDK out for 1.6. However, I would love to see this feature changed in 2.0 to be additive.
Additionally, I would like to see the lints fixed along with whatever is causing the drone to fail on cargo-test-pr.

@gRoussac gRoussac marked this pull request as draft November 16, 2023 16:10
@gRoussac gRoussac marked this pull request as ready for review November 17, 2023 00:43
@gRoussac gRoussac removed the request for review from bpr November 17, 2023 13:13
…SDK-1.6

# Conflicts:
#	hashing/Cargo.toml
#	types/CHANGELOG.md
@gRoussac gRoussac closed this Nov 30, 2023
casperlabs-bors-ng bot added a commit that referenced this pull request Dec 18, 2023
4445: Split 'std' feature into 'std' and 'std-fs-io' in casper-types r=Fraser999 a=Fraser999

This PR restricts the functionality of the `std` feature of `casper-types` to exclude methods unsuitable when compiling the crate to Wasm.  It also adds a `std-fs-io` feature to include this functionality.

It borrows the concept and supersedes #4348 by `@gRoussac.`

casper-ecosystem/rustSDK#8
casper-ecosystem/rustSDK#10

Co-authored-by: Fraser Hutchison <[email protected]>
@gRoussac gRoussac deleted the rustSDK-1.6 branch December 18, 2023 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants