-
Notifications
You must be signed in to change notification settings - Fork 41
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
Release Candidate v5.0 #758
Conversation
… - introduced context.currentErgoTreeVersion
Re-introduce SigmaCompiler constructor with networkPrefix
…rsions v1, 2, 3, 4
Encapsulate evaluationMode selection (towards v5.0)
set HAS_SECRETS on CI env;
…e and compare with `()`
…ne more test case
[v5.0] Support for registers with Unit value
#828 must be resolved before this PR can be accepted |
…preter into v5.0-finalize
sigma-impl/src/main/scala/special/sigma/SigmaDslOverArrays.scala
Outdated
Show resolved
Hide resolved
sigmastate/src/main/scala/org/ergoplatform/ErgoLikeContext.scala
Outdated
Show resolved
Hide resolved
sigmastate/src/main/scala/sigmastate/lang/exceptions/SigmaSerializerExceptions.scala
Show resolved
Hide resolved
@@ -37,5 +41,5 @@ class CostLimitException(val estimatedCost: Long, message: String, cause: Option | |||
extends SigmaException(message, None, cause) | |||
|
|||
object CostLimitException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ScalaDoc missed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added ScalaDoc for CostLimitException. Don't think we should require ScalaDocs for companions. Added ScalaDoc for the method, don't think it is valuable tough.
@@ -5,7 +5,7 @@ import sigmastate.lang.Terms._ | |||
import sigmastate.utils.{SigmaByteReader, SigmaByteWriter} | |||
import sigmastate.{ModQ, SType} | |||
|
|||
// TODO HF (2h): make sure it is covered with tests | |||
// TODO v6.0 (2h): make sure it is covered with tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unlikely need for tests is tied with 6.0. Better to make an issue, not todo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This class doesn't make sense before v6.0. It cannot be removed however, because this serializer was erroneously registered in ValueSerializer's global map. See comment here
There are already issues regarding ModQ operations with v6.0 milestone.
Don't think anything needs to be changed in this code in this PR.
@@ -6,7 +6,7 @@ import sigmastate.utils.SigmaByteWriter.DataInfo | |||
import sigmastate.utils.{SigmaByteReader, SigmaByteWriter} | |||
import sigmastate.{ModQArithOpCompanion, SType, ModQArithOp} | |||
|
|||
// TODO HF (2h): make sure it is covered with tests | |||
// TODO v6.0 (2h): make sure it is covered with tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unlikely need for tests is tied with 6.0. Better to make an issue, not todo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my comment above.
sigmastate/src/main/scala/sigmastate/serialization/TupleSerializer.scala
Outdated
Show resolved
Hide resolved
@@ -347,6 +347,7 @@ object ValueSerializer extends SigmaSerializerCompanion[Value[SType]] { | |||
} | |||
} | |||
|
|||
// TODO v5.x: control maxTreeDepth same as in deserialize |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this comment mean ?
Add ScalaDoc for the class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clarified comment, added ScalaDoc
This PR finalizes v5.0 implementation.
Summary of changes:
Ready for testnet
x
inflatMap
(e.g.flatMap { (x: ...) => x }
) #744 in Finalize v5.0: fix Coll.flatMap #775Ready for mainnet