Skip to content

Brillig's modulo_instruction uses 254-bit integer multiplication #4543

Description

@fcarreiro

Aim

Transpile to AVM bytecode

Expected Behavior

Should avoid using u254 integer ops, use Field instead or some other trick

Bug

modulo_instruction uses 254-bit integer multiplication to implement to_radix. However, that will not be supported in the AVM. Discussed with @sirasistant.

To Reproduce

Project Impact

None

Impact Context

No response

Workaround

None

Workaround Description

No response

Additional Context

No response

Installation Method

None

Nargo Version

No response

NoirJS Version

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions