FuelLabs / sway

🌴 Empowering everyone to build reliable and efficient smart contracts.
https://docs.fuel.network/docs/sway/
Apache License 2.0
62.69k stars 5.36k forks source link

Mismatched types results in an "unresolved B512" when passing in a `B512` type into `ec_recover_address` which takes a `B512` #1525

Closed Braqzen closed 2 years ago

Braqzen commented 2 years ago

In the following commit for the multisignature wallet the CI fails to build while running forc build on version 0.12.1 locally works as expected.

The signatures variable is [B512; 2] and the parameter type to ec_recover_address is B512.

Preview of error: 1

otrho commented 2 years ago

This was almost certainly resolved (yesterday) by #1522 and so we might need to ship it for the CI to work. @mohammadfawaz?

mohammadfawaz commented 2 years ago

I can create a new release today.

mohammadfawaz commented 2 years ago

@Braqzen is this fixed in v0.12.2?

emilyaherbert commented 2 years ago

Taking you off this one @sezna because my PR #1592 fixes this.