Luke Schoen

Results 182 comments of Luke Schoen

i haven't looked into this issue, but i experienced similar doing this line that was able to support symlinks https://github.com/paritytech/substrate/blob/master/docker/build.sh#L6, so now i use it all the time https://github.com/ltfschoen/InkTemplate/blob/main/docker/quickstart.sh#L8

i just reproduced it the way you did but got a longer error: ``` ERROR: Error invoking `cargo metadata` for link_to_foo/Cargo.toml Caused by: `cargo metadata` exited with an error: error:...

@bernardoaraujor interested in your feedback to this PR https://github.com/paritytech/cargo-contract/pull/1136

can we close this issue now that [this PR](https://github.com/paritytech/cargo-contract/pull/1124) has been merged that uses `CARGO_ENCODED_RUSTFLAGS` instead of `RUSTFLAGS` in `contract-build` crate?

i was able to do it with serde_json here https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=7a066487d37870330444b0908115cacf ``` use serde::{Deserialize, Serialize}; #[cfg_attr(feature = "std", derive(Debug))] #[derive(Default, Clone, PartialEq, Eq)] pub struct MPowerPayload { acct_id: String, mpower: String,...

i'm using lite-json again now because i can't figure out how to disable std to overcome that error with serde_json, if i use lite-json, i can get it to work...

> Can you create a snippet with https://play.rust-lang.org to reproduce the error? i've reproduced the error in the latest commit in this https://github.com/DataHighway-DHX/node/pull/238 (branch 'luke/rewards-allowance-new-offchain') unfortunately i can't replicate it...

Thanks @JoshOrndorff I found the recording https://www.youtube.com/watch?v=EuMbE6kce-I&list=PLp0_ueXY_enXRfoaW7sTudeQH10yDvFOS&index=2&t=0s

upon initial inspection of the https://docs.astar.network/docs/build/wasm/swanky-suite/cli/, it says that "swanky-cli, as well as environment in the swanky-base image, and supported tools target ink! v4, and use cargo contract v2". it...

so i reverted to the older versions by running the following ``` # 1.69.0 is nightly-2023-02-09 export RUST_NIGHTLY=2023-02-09 export CARGO_CONTRACT_VERSION=2.1.0 rustup toolchain install nightly-${RUST_NIGHTLY} --target wasm32-unknown-unknown --profile minimal --component rustfmt...