near / near-sdk-rs

Rust library for writing NEAR smart contracts
https://near-sdk.io
Apache License 2.0
466 stars 249 forks source link

fix(nep330): return fallback vals of `CARGO_PKG_REPOSITORY` and `CARGO_PKG_VERSION` #1215

Closed dj8yfo closed 4 months ago

dj8yfo commented 4 months ago

To avoid problems on older <0.7.0 cargo-near versions

checked on cargo-near-near 0.6.2 before

near contract inspect before-cargo-pkg-fix.testnet network-config testnet now  

and after

near contract inspect after-cargo-pkg-fix.testnet network-config testnet now

checked on potential cargo-near-near 0.7.0 from branch after

(docker)

near contract inspect sample-crate-14.testnet network-config testnet now

--no-docker

near contract inspect sample-crate-15.testnet network-config testnet now