Skip to content

Commit

Permalink
build(deps): Bump github.com/holiman/uint256 from 1.2.4 to 1.3.0 (#3186)
Browse files Browse the repository at this point in the history
Bumps [github.com/holiman/uint256](https://github.com/holiman/uint256) from 1.2.4 to 1.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/holiman/uint256/releases">github.com/holiman/uint256's releases</a>.</em></p>
<blockquote>
<h2>Fitcher Penrose (v1.3.0)</h2>
<p>The 1.3.0-release contains a lot of optimizations, contributed by <a href="https://github.com/AaronChen0"><code>@​AaronChen0</code></a>. Thanks for all the contributions! Other than that, a breaking change in the ssz-interface implementation and a bugfix.</p>
<h2>What's Changed</h2>
<ul>
<li>
<p>optimizations to <code>Mul</code>, <code>squared</code>, <code>Exp</code>, <code>Set</code>, <code>DivMod</code>, <code>Byte</code>, <code>Lsh</code>, <code>Rsh</code>, <code>SRsh</code>, <code>ExtendSign</code>, <code>AddMod</code>, <code>MulOverflow</code>, <code>MulMod</code>, <code>MulDivOverflow</code>, <code>MulModWithReciprocal</code> , <code>Mod</code>, <code>Sqrt</code> by <a href="https://github.com/AaronChen0"><code>@​AaronChen0</code></a> in (<a href="https://redirect.github.com/holiman/uint256/pull/152">holiman/uint256#152</a>, <a href="https://redirect.github.com/holiman/uint256/pull/153">holiman/uint256#153</a>, <a href="https://redirect.github.com/holiman/uint256/pull/154">holiman/uint256#154</a>, <a href="https://redirect.github.com/holiman/uint256/pull/158">holiman/uint256#158</a>, <a href="https://redirect.github.com/holiman/uint256/pull/165">holiman/uint256#165</a>, <a href="https://redirect.github.com/holiman/uint256/pull/166">holiman/uint256#166</a>, <a href="https://redirect.github.com/holiman/uint256/pull/167">holiman/uint256#167</a>, <a href="https://redirect.github.com/holiman/uint256/pull/168">holiman/uint256#168</a>, <a href="https://redirect.github.com/holiman/uint256/pull/169">holiman/uint256#169</a>, <a href="https://redirect.github.com/holiman/uint256/pull/172">holiman/uint256#172</a>, <a href="https://redirect.github.com/holiman/uint256/pull/173">holiman/uint256#173</a>, <a href="https://redirect.github.com/holiman/uint256/pull/174">holiman/uint256#174</a></p>
</li>
<li>
<p>Fixes a bug in <code>SetBytes29</code> (<a href="https://redirect.github.com/holiman/uint256/pull/157">holiman/uint256#157</a>)</p>
</li>
<li>
<p>Test-improvements, now using golang-native fuzzing instead of gofuzz-based fuzzing by <a href="https://github.com/holiman"><code>@​holiman</code></a> (<a href="https://redirect.github.com/holiman/uint256/pull/163">holiman/uint256#163</a>, <a href="https://redirect.github.com/holiman/uint256/pull/164">holiman/uint256#164</a>)</p>
</li>
<li>
<p>The method <code>MarshalSSZTo</code> was <em>removed</em>, and has been replaced by <code>MarshalSSZAppend</code> and <code>MarshalSSZInto</code>. This is an intentionally breaking change, forcing users to explicitly choose which implementation they desire. For more info, see <a href="https://redirect.github.com/holiman/uint256/pull/171">holiman/uint256#171</a></p>
</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/holiman/uint256/compare/v1.2.4...v1.2.5">https://github.com/holiman/uint256/compare/v1.2.4...v1.2.5</a></p>
<hr />
<p>The <code>uint256</code> release naming-convention is &quot;fictional mathematicians&quot;, later expanded into &quot;fictional scientists&quot;, due to the dearth of fiction about mathematicians.</p>
<p>Fitcher Penrose appears in Amitav Ghosh's Ibis-trilogy, part II, &quot;River of Smoke&quot;. He is a botanist collecting rare plants in Asia.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/holiman/uint256/commit/75a520988c94a5e04ae34e436fbeb5b701546867"><code>75a5209</code></a> conversion: replace <code>MarshalSSZTo</code> with <code>MarshalSSZAppend</code> and `MarshalSSZInt...</li>
<li><a href="https://github.com/holiman/uint256/commit/b3cb927d99d1568191199357c7121ad075f790d6"><code>b3cb927</code></a> uint256: optimize Sqrt (<a href="https://redirect.github.com/holiman/uint256/issues/174">#174</a>)</li>
<li><a href="https://github.com/holiman/uint256/commit/8dfcfdef845ba4792f12b6e872c3f749e32bead4"><code>8dfcfde</code></a> uint256: optimize mod, DivMod (<a href="https://redirect.github.com/holiman/uint256/issues/173">#173</a>)</li>
<li><a href="https://github.com/holiman/uint256/commit/b85bc2a93e0182835db056c30009e283df39f2ab"><code>b85bc2a</code></a> uint256: optimize MulMod, MulModWithReciprocal (<a href="https://redirect.github.com/holiman/uint256/issues/172">#172</a>)</li>
<li><a href="https://github.com/holiman/uint256/commit/70cbe2b1be5cce003461928361311f2aca64d991"><code>70cbe2b</code></a> uint256: optimize div-related functions by removing unnecessary computation (...</li>
<li><a href="https://github.com/holiman/uint256/commit/11a325c8675c252e64928feff2cb8e2908784875"><code>11a325c</code></a> uint256: optimize div-related functions by reducing bounds check (<a href="https://redirect.github.com/holiman/uint256/issues/168">#168</a>)</li>
<li><a href="https://github.com/holiman/uint256/commit/66a4528df91a6afa1abd9144d05185f661d87cf1"><code>66a4528</code></a> uint256: minor improvement for Mul (<a href="https://redirect.github.com/holiman/uint256/issues/167">#167</a>)</li>
<li><a href="https://github.com/holiman/uint256/commit/5ecf78cc87755100e9fca5ba14643370f661a221"><code>5ecf78c</code></a> uint256: optimize umul (MulOverflow, MulMod, MulModWithReciprocal, MulDivOver...</li>
<li><a href="https://github.com/holiman/uint256/commit/34f0760ab8d507f5c845b8fbf85d91a098859e37"><code>34f0760</code></a> uint256: optimize AddMod (<a href="https://redirect.github.com/holiman/uint256/issues/165">#165</a>)</li>
<li><a href="https://github.com/holiman/uint256/commit/09331abd1cfcf4cfc29ac2e1cdf232f5c24e4d22"><code>09331ab</code></a> make oss-fuzz integration work again (<a href="https://redirect.github.com/holiman/uint256/issues/164">#164</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/holiman/uint256/compare/v1.2.4...v1.3.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/holiman/uint256&package-manager=go_modules&previous-version=1.2.4&new-version=1.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
  • Loading branch information
dependabot[bot] authored Jul 25, 2024
1 parent 8b1c251 commit ecdecd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/google/gofuzz v1.2.0
github.com/gorilla/mux v1.8.1
github.com/herumi/bls-eth-go-binary v1.35.0
github.com/holiman/uint256 v1.2.4
github.com/holiman/uint256 v1.3.0
github.com/ipfs/go-log/v2 v2.5.1
github.com/jonboulle/clockwork v0.4.0
github.com/jsternberg/zap-logfmt v1.3.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/herumi/bls-eth-go-binary v1.35.0 h1:4CgrKurBK4g0ZMKBdHq5CwK9slYe7Ei+HF+/n6RSkOI=
github.com/herumi/bls-eth-go-binary v1.35.0/go.mod h1:luAnRm3OsMQeokhGzpYmc0ZKwawY7o87PUEP11Z7r7U=
github.com/holiman/uint256 v1.2.4 h1:jUc4Nk8fm9jZabQuqr2JzednajVmBpC+oiTiXZJEApU=
github.com/holiman/uint256 v1.2.4/go.mod h1:EOMSn4q6Nyt9P6efbI3bueV4e1b3dGlUCXeiRV4ng7E=
github.com/holiman/uint256 v1.3.0 h1:4wdcm/tnd0xXdu7iS3ruNvxkWwrb4aeBQv19ayYn8F4=
github.com/holiman/uint256 v1.3.0/go.mod h1:EOMSn4q6Nyt9P6efbI3bueV4e1b3dGlUCXeiRV4ng7E=
github.com/huandu/go-assert v1.1.5 h1:fjemmA7sSfYHJD7CUqs9qTwwfdNAx7/j2/ZlHXzNB3c=
github.com/huandu/go-assert v1.1.5/go.mod h1:yOLvuqZwmcHIC5rIzrBhT7D3Q9c3GFnd0JrPVhn/06U=
github.com/huandu/go-clone v1.6.0 h1:HMo5uvg4wgfiy5FoGOqlFLQED/VGRm2D9Pi8g1FXPGc=
Expand Down

0 comments on commit ecdecd5

Please sign in to comment.