Skip to content

Conversation

@rnkrtt
Copy link
Contributor

@rnkrtt rnkrtt commented Dec 25, 2025

The Exp function in common/math/big.go was modifying the input base parameter despite the documentation explicitly stating "does not change base or exponent". This caused unexpected behavior when the same base value was reused after calling Exp(). Fixed by creating a copy of base before performing operations.

Copy link
Collaborator

@AskAlexSharov AskAlexSharov left a comment

Choose a reason for hiding this comment

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

thank you. please also port https://github.com/ethereum/go-ethereum/pull/30636

@AskAlexSharov AskAlexSharov enabled auto-merge (squash) December 29, 2025 08:00
@AskAlexSharov AskAlexSharov merged commit 03a067e into erigontech:main Dec 29, 2025
16 checks passed
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