Skip to content

Canonicalize function dependency resolusion - #818

Merged
sbillig merged 1 commit into
argotorg:masterfrom
Y-Nak:function-dep-order
Nov 23, 2022
Merged

Canonicalize function dependency resolusion#818
sbillig merged 1 commit into
argotorg:masterfrom
Y-Nak:function-dep-order

Conversation

@Y-Nak

@Y-Nak Y-Nak commented Nov 23, 2022

Copy link
Copy Markdown
Member

What was wrong?

The output yul wasn't canonicalized in terms of the output function order due to the usage of FxHashMap and BTreeSet. This caused non-deterministic byte code output.

How was it fixed?

Rewrite them to IndexMap and IndexSet respectively.

To-Do

  • OPTIONAL: Update Spec if applicable

  • Add entry to the release notes (may forgo for trivial changes)

  • Clean up commit history

@Y-Nak
Y-Nak force-pushed the function-dep-order branch from acda8f8 to 5a8e2ad Compare November 23, 2022 14:14
@Y-Nak
Y-Nak marked this pull request as ready for review November 23, 2022 14:37

@sbillig sbillig left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sbillig
sbillig merged commit 5800a88 into argotorg:master Nov 23, 2022
@Y-Nak
Y-Nak deleted the function-dep-order branch November 23, 2022 21:31
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

Successfully merging this pull request may close these issues.

2 participants