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

Vec OutpointValue is not an iterator #17

Open
Goosie opened this issue Nov 28, 2022 · 2 comments
Open

Vec OutpointValue is not an iterator #17

Goosie opened this issue Nov 28, 2022 · 2 comments

Comments

@Goosie
Copy link

Goosie commented Nov 28, 2022

Trying to make use of the contrub/install.sh The following warning comes by:

Compiling rgb20 v0.8.0-rc.4
error[E0599]: Vec<OutpointValue> is not an iterator
--> /home/rgbalice/.cargo/registry/src/github.com-1ecc6299db9ec823/rgb20-0.8.0-rc.4/src/create.rs:63:41
|
63 | let issued_supply = allocations.sum();
| ^^^ Vec<OutpointValue> is not an iterator; try calling .into_iter() or .iter()
|
= note: the following trait bounds were not satisfied:
Vec<OutpointValue>: Iterator
which is required by &mut Vec<OutpointValue>: Iterator
[OutpointValue]: Iterator
which is required by &mut [OutpointValue]: Iterator

error[E0599]: no method named into_assignments found for struct BTreeMap in the current scope
--> /home/rgbalice/.cargo/registry/src/github.com-1ecc6299db9ec823/rgb20-0.8.0-rc.4/src/create.rs:81:27
|
81 | inflation.into_assignments(),
| ^^^^^^^^^^^^^^^^ method not found in BTreeMap<OutPoint, u64>

For more information about this error, try rustc --explain E0599.
error: could not compile rgb20 due to 2 previous errors
error: failed to compile rgb20 v0.8.0-rc.4, intermediate artifacts can be found at /tmp/cargo-install8qHU5P
Downloaded bp-cli v0.8.0-alpha.2

@crisdut
Copy link
Member

crisdut commented Dec 2, 2022

Hi @Goosie,

Here: #20

I updated all libs to correct version.

Please, try again.

@dr-orlovsky
Copy link
Member

@Goosie was the issue fixed by #20? I just merged it

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

No branches or pull requests

3 participants