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

fix: remove leftover near_sdk::__private::schemars #1120

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

dj8yfo
Copy link
Collaborator

@dj8yfo dj8yfo commented Dec 18, 2023

this prevents compiling sample contract

use near_sdk::borsh::{BorshDeserialize, BorshSerialize};
use near_sdk::near_bindgen;
#[near_bindgen]
#[derive(Default, BorshDeserialize, BorshSerialize)]
#[borsh(crate = "near_sdk::borsh")]
pub struct Contract {}
#[near_bindgen]
impl Contract {
    pub fn foo(&self, a: bool, b: u32) {}
}

with cargo build --features "near-sdk/__abi-generate"

@dj8yfo dj8yfo marked this pull request as ready for review December 18, 2023 20:21
frol
frol previously approved these changes Dec 18, 2023
@frol frol merged commit d5c9936 into near:master Dec 19, 2023
14 checks passed
@frol frol mentioned this pull request Dec 19, 2023
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.

2 participants