Skip to content

fix: delegate integer operations to go-state-types#12935

Merged
Stebalien merged 1 commit intomasterfrom
steb/big-int-delegate
Mar 7, 2025
Merged

fix: delegate integer operations to go-state-types#12935
Stebalien merged 1 commit intomasterfrom
steb/big-int-delegate

Conversation

@Stebalien
Copy link
Copy Markdown
Member

@Stebalien Stebalien commented Mar 6, 2025

Proposed Changes

Delegates most calls to go-state-types and treats "nil" as "zero" (we encode nil as zero, so we might as well treat it as such when doing math).

Additional Info

@rvagg just in case we want to do it this way.

Checklist

Before you mark the PR ready for review, please make sure that:

@github-project-automation github-project-automation Bot moved this to 📌 Triage in FilOz Mar 6, 2025
@Stebalien Stebalien marked this pull request as draft March 6, 2025 00:55
@Stebalien Stebalien added the skip/changelog This change does not require CHANGELOG.md update label Mar 6, 2025
This delegates most calls to go-state-types and treats "nil" as
"zero" (we encode nil as zero, so we might as well treat it as such when
doing math).
@Stebalien Stebalien force-pushed the steb/big-int-delegate branch from d74521b to fdd623d Compare March 6, 2025 01:03
@Stebalien Stebalien marked this pull request as ready for review March 6, 2025 01:03
@Stebalien
Copy link
Copy Markdown
Member Author

Honestly, I think we should merge this no matter how we want to handle nil/zeros.

Copy link
Copy Markdown
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

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

Agreed, this is good regardless, but let's see if that test failure was a flaky or not first

@github-project-automation github-project-automation Bot moved this from 📌 Triage to ✔️ Approved by reviewer in FilOz Mar 6, 2025
@Stebalien Stebalien merged commit b047449 into master Mar 7, 2025
@Stebalien Stebalien deleted the steb/big-int-delegate branch March 7, 2025 03:35
@github-project-automation github-project-automation Bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz Mar 7, 2025
@Stebalien
Copy link
Copy Markdown
Member Author

Looks like they're all passing now.

@rjan90 rjan90 moved this from 🎉 Done to ☑️ Done (Archive) in FilOz Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip/changelog This change does not require CHANGELOG.md update

Projects

Status: ☑️ Done (Archive)

Development

Successfully merging this pull request may close these issues.

3 participants