Brushfam / openbrush-contracts

https://openbrush.io
MIT License
25 stars 10 forks source link

specialization impl does not specialize any associated items #92

Closed fsobh closed 1 year ago

fsobh commented 1 year ago

I Downloaded the Very Basic PSP22 example from here : https://openbrush.brushfam.io/

I'm running the following versions of rust tools :

I keep getting this error :

when I try to build it using :

cargo +nightly contract build --release

image

Is Open Brush not stable? Would it be better if I were to just use the PSP22 source code and deploy it myself?

There does not seem to be any stable means of support

bejarano-tech commented 1 year ago

I'm having the same issue but in my case is with PSP34

varex83 commented 1 year ago

Hello @fsobh !

Yes, currently OpenBrush is not stable in the main branch, but we are practically finished stable version of it in #78 so you can already take a look / test if, and we are planning to make a release in the nearest future, that will include stabilization and upgradeable contracts!

bejarano-tech commented 1 year ago

I'm having the same issue but in my case is with PSP34

Currently it works when i install and use nightly-2023-01-01 toolchain

fsobh commented 1 year ago

I'm having the same issue but in my case is with PSP34

Currently it works when i install and use nightly-2023-01-01 toolchain

Tried this and its still throwing the error. Im running in WSL Ubuntu

bejarano-tech commented 1 year ago

I'm having the same issue but in my case is with PSP34

Currently it works when i install and use nightly-2023-01-01 toolchain

Tried this and its still throwing the error. Im running in WSL Ubuntu

To build it i called cargo +nightly-2023-01-01 contract build --release, how are you calling to compile?

fsobh commented 1 year ago

I'm having the same issue but in my case is with PSP34

Currently it works when i install and use nightly-2023-01-01 toolchain

Tried this and its still throwing the error. Im running in WSL Ubuntu

To build it i called cargo +nightly-2023-01-01 contract build --release, how are you calling to compile?

I was using : cargo +nightly contract build --release

After running : cargo +nightly-2023-01-01 contract build --release I'm getting : ERROR: Expected '/home/fk/proj/token/psp22/target/ink/wasm32-unknown-unknown/release/my_psp22.wasm' to be generated by build

fsobh commented 1 year ago

I'm having the same issue but in my case is with PSP34

Currently it works when i install and use nightly-2023-01-01 toolchain

Tried this and its still throwing the error. Im running in WSL Ubuntu

To build it i called cargo +nightly-2023-01-01 contract build --release, how are you calling to compile?

I was using : cargo +nightly contract build --release

After running : cargo +nightly-2023-01-01 contract build --release I'm getting : ERROR: Expected '/home/fk/proj/token/psp22/target/ink/wasm32-unknown-unknown/release/my_psp22.wasm' to be generated by build

Never mind, After running cargo clean, It worked. Thank you so much for the help. been dealing with this for the past week