You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noir team is making some changes to tighten up trait resolution in noir-lang/noir#6895 but contract_instance_deployer_contract is throwing errors. This is because it implements Serialize twice.
The #[derive] was added in #10483 but there was a pre-existing custom implementation which serializes to 15 fields rather than 19. I would remove the derived implementation but this results in #[event] erroring out and I don't want to remove the original without flagging it up to the fairies.
Thanks for reporting this, I'll look into it. We're also in the process of migrating Serialize to use associated constants instead of generics, which will prevent this in the first place.
Noir team is making some changes to tighten up trait resolution in noir-lang/noir#6895 but
contract_instance_deployer_contract
is throwing errors. This is because it implementsSerialize
twice.aztec-packages/noir-projects/noir-contracts/contracts/contract_instance_deployer_contract/src/main.nr
Lines 16 to 78 in b1b67b0
The
#[derive]
was added in #10483 but there was a pre-existing custom implementation which serializes to 15 fields rather than 19. I would remove the derived implementation but this results in#[event]
erroring out and I don't want to remove the original without flagging it up to the fairies.cc @sklppy88 as you wrote the original
Serialize
impl. cc @nventuroThe text was updated successfully, but these errors were encountered: