Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove not needed ArithToUint256 roundtrips in tests #24854

Merged
merged 2 commits into from
Apr 21, 2022

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Apr 14, 2022

No need to go from arith_uint256->uint256 when a uint256 can be constructed right away.

MarcoFalke added 2 commits April 14, 2022 19:26
One should be enough. Can be reviewed with
--color-moved=dimmed-zebra --color-moved-ws=ignore-all-space
@laanwj
Copy link
Member

laanwj commented Apr 14, 2022

Concept ACK, looks like quite some cleanup is possible around ArithToUint256/UintToArith256.

@laanwj
Copy link
Member

laanwj commented Apr 21, 2022

Code review ACK fad6d4f

@laanwj laanwj merged commit 173c796 into bitcoin:master Apr 21, 2022
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Apr 22, 2022
…ests

fad6d4f Remove not needed ArithToUint256 roundtrips in tests (MarcoFalke)
fa456cc Remove duplicate static_asserts (MarcoFalke)

Pull request description:

  No need to go from `arith_uint256`->`uint256` when a `uint256` can be constructed right away.

ACKs for top commit:
  laanwj:
    Code review ACK fad6d4f

Tree-SHA512: bea901ea5904bf61a0dadf7168c6b126f7e62ff1180d4aa72063c28930a01a8baa57ab0d324226bd4de72fb59559455c29c049d90061f888044198aae1426dcb
@maflcko maflcko deleted the 2204-round-💈 branch April 26, 2022 08:24
@bitcoin bitcoin locked and limited conversation to collaborators Apr 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants