Skip to content

Conversation

@kushti
Copy link
Member

@kushti kushti commented May 24, 2024

This PR contains implementation of new numeric type, UnsignedBigInt, 256 bits unsigned big integers.

@kushti kushti added this to the v6.0 milestone May 27, 2024
@kushti kushti changed the base branch from develop to v6.0.0 June 6, 2024 15:54
@kushti kushti mentioned this pull request Jun 10, 2024
26 tasks
@kushti kushti changed the base branch from v6.0.0 to i1006 September 13, 2024 21:33
@kushti kushti requested a review from aslesarenko November 15, 2024 23:16
@aslesarenko
Copy link
Member

@kushti the target branch seems to be not correct. I wonder if the changeset is so big because of that?

@kushti kushti changed the base branch from i1006 to v6.0.0 November 27, 2024 13:13
@kushti
Copy link
Member Author

kushti commented Nov 27, 2024

@kushti the target branch seems to be not correct. I wonder if the changeset is so big because of that?

weird it no retargeted automatically after merged, fixed manually

case _: String => StringType
case _: Unit => UnitType
case _: sigma.BigInt => BigIntRType
case _: sigma.BigInt => UnsignedBigIntRType
Copy link
Member

Choose a reason for hiding this comment

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

this case is unreachable

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

(newName, Select(obj, newName, resType))
} else {
(nOriginal, selOriginal)
}
Copy link
Member

Choose a reason for hiding this comment

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

Hm, why not just use different method names? This will be the only place with such exception, so will lead to more questions than answers.

Copy link
Member Author

Choose a reason for hiding this comment

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

The idea is to provide unified interface to users (ErgoScript) developers, so kinda polymorphic exp method (which is then translated by typer into exp or expUnsigned, depends on argument)

@kushti
Copy link
Member Author

kushti commented Nov 29, 2024

@aslesarenko comments addressed, please make another pass!

@kushti kushti merged commit 1969223 into v6.0.0 Dec 4, 2024
4 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.

3 participants