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

6.0.0-RC2 candidate for devnets #1040

Open
wants to merge 462 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
462 commits
Select commit Hold shift + click to select a range
ea0890b
tree versioning removed, scaladoc
kushti Aug 12, 2024
26f92f1
merging w. 6.0.0
kushti Aug 12, 2024
12e888d
scala 2.11 compilation fix
kushti Aug 12, 2024
b0fbfbb
fixing getVar typing during tree building, simpler execution for getV…
kushti Aug 13, 2024
65144a9
merging w. 6.0.0
kushti Aug 13, 2024
49a393c
merged w. 6.0.0
kushti Aug 19, 2024
649069b
fixed cost, improved args list for SigmaDslBuilder.fromBigEndianBytes
kushti Aug 19, 2024
6bb7fe7
merging w. 6.0.0
kushti Aug 20, 2024
bcfb24d
removing unused CSigmaDslBuilder.validationSettings
kushti Aug 25, 2024
5f6a0d0
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Aug 26, 2024
3037f1a
merging w 6.0.0, fixing ErgoTreeSpec
kushti Aug 27, 2024
016262b
removing unused SNumericTypeMethods.getMethods
kushti Aug 27, 2024
5063bae
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Aug 27, 2024
acb76c9
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Aug 27, 2024
877ed78
adding new methods to GraphIRReflection
kushti Aug 30, 2024
a988d90
Merge pull request #972 from ScorexFoundation/i969
kushti Sep 2, 2024
2cd57e1
Merge pull request #968 from ScorexFoundation/i958-2
kushti Sep 2, 2024
baef87f
more efficient toBits impl
kushti Sep 2, 2024
c7918ad
merging v6.0.0
kushti Sep 2, 2024
8208dd8
Box.getReg with computable index
kushti Sep 3, 2024
05c9e67
merging w. 6.0.0
kushti Sep 3, 2024
8e46b69
Merge pull request #1015 from ScorexFoundation/i416
kushti Sep 3, 2024
b068b10
Serialize SFunc in TypeSerializer
kushti Sep 3, 2024
1990030
Merge pull request #1020 from ScorexFoundation/i847
kushti Sep 3, 2024
5a983b3
merging w. 6.0.0
kushti Sep 3, 2024
2e8d8f4
optimizing imports, polishing
kushti Sep 3, 2024
d284f79
fixing post-merging failing test
kushti Sep 3, 2024
0c674fe
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Sep 4, 2024
ed5b8f5
fixing SigmaTyperTest
kushti Sep 4, 2024
b2de9cf
scaladoc
kushti Sep 6, 2024
9a10d17
merging w. i1006 (numeric methods)
kushti Sep 9, 2024
eccc9ca
6.0 methods for Byte in LSV6
kushti Sep 10, 2024
f566b7b
6.0 methods for Short in LSV6
kushti Sep 10, 2024
8cf4264
6.0 methods for Int in LSV6
kushti Sep 10, 2024
fa2c2df
Long tests in LSV6, shift check in shiftRight
kushti Sep 11, 2024
48db432
shiftLeft/shiftRight shift limit
kushti Sep 11, 2024
a2f3030
bigint - LSV6 tests
kushti Sep 11, 2024
297265f
arg descs, 2.11 comp fix, BOS tests fixed
kushti Sep 12, 2024
89d4477
Merge branch 'i1006' of github.com:ScorexFoundation/sigmastate-interp…
kushti Sep 12, 2024
f20635e
merging w v6.0.0
kushti Sep 13, 2024
7e3b676
fixing method calls check test
kushti Sep 16, 2024
55d03cd
addressing review comments
kushti Sep 16, 2024
4343bc9
fix for longToByteArray support in JS
kushti Sep 17, 2024
343a385
Merge branch 'i1006' of github.com:ScorexFoundation/sigmastate-interp…
kushti Sep 17, 2024
1c2b99d
more polishing in UnsignedBigInt impl
kushti Sep 17, 2024
cb51ba8
removing access to type before 6.0, more tests
kushti Sep 17, 2024
5f0c5c5
scaladoc improvements, Ints.toBits
kushti Sep 20, 2024
3d88fc2
Merge pull request #1017 from ScorexFoundation/i1006
kushti Sep 20, 2024
9c310c7
merging w. 6.0.0
kushti Sep 20, 2024
f5feee5
Merge pull request #989 from ScorexFoundation/v6.0-serialize
kushti Sep 20, 2024
43db8df
scrypto 3.0.0
kushti Sep 23, 2024
9fd499a
merging w. 6.0.0
kushti Sep 24, 2024
8136c8f
new methods added to ReflectionData
kushti Sep 24, 2024
1999a2a
merging w. 6.0.0
kushti Sep 26, 2024
586aadd
LSV6 tests, predefined method
kushti Sep 26, 2024
2cdc34e
fixing JS tests
kushti Sep 26, 2024
d738ac5
fixing JS tests
kushti Sep 27, 2024
1989d19
LSV6 tests
kushti Sep 27, 2024
8f45909
merging w 6.0.0
kushti Sep 27, 2024
6459b07
fix ErgoTreeSpec
kushti Sep 27, 2024
ee35792
merging w. 6.0.0
kushti Sep 29, 2024
a3f25ef
LSV6 tests
kushti Sep 30, 2024
f24e9ad
predefined fn, LangSpec notes, polishing PR
kushti Sep 30, 2024
166c261
merging w. 6.0.0
kushti Sep 30, 2024
edc91ba
tests
kushti Sep 30, 2024
19a3e7f
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Sep 30, 2024
3901ba2
merging w. 6.0.0, Header support
kushti Sep 30, 2024
d0eef4c
merging w. 6.0.0
kushti Sep 30, 2024
6128fbd
fixing ErgoTreeSpec
kushti Oct 1, 2024
af792b5
addressing review comments
kushti Oct 1, 2024
6fa801c
Merge pull request #1013 from ScorexFoundation/i993
kushti Oct 1, 2024
ee25e40
merging w. 6.0.0
kushti Oct 1, 2024
3c06856
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Oct 2, 2024
40fe947
versioned header check
kushti Oct 2, 2024
19c752d
fixing most of tests
kushti Oct 3, 2024
f77be78
fixing JS tests
kushti Oct 3, 2024
e052255
merging w. 6.0.0
kushti Oct 3, 2024
d8fab5e
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Oct 3, 2024
5c4ccf1
merging w. 6.0.0
kushti Oct 3, 2024
6c1ac1e
fix for AVLtreedata lift in JS
kushti Oct 3, 2024
e4a611d
fixing MethodCallSerializerSpecification
kushti Oct 4, 2024
c5c37ff
fixing JS reflection
kushti Oct 4, 2024
1d47d5f
addressing review comments
kushti Oct 7, 2024
83ba4a4
Merge pull request #1010 from ScorexFoundation/i1004
kushti Oct 7, 2024
11d869f
merging w. 6.0.0
kushti Oct 7, 2024
08b02c7
initial some test passing
kushti Oct 7, 2024
2ba5a4f
PropertyCallSerializer fix, explicitTypeArgs fix, more tests
kushti Oct 8, 2024
29ed83a
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Oct 8, 2024
f151e1d
merging w. 6.0.0
kushti Oct 8, 2024
e87ad02
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Oct 8, 2024
7b48ddd
merging w. 6.0.0
kushti Oct 8, 2024
e532630
fixing ErgoTreeSpecification
kushti Oct 8, 2024
7452f5f
JS reflection
kushti Oct 9, 2024
ac11237
CheckAndGetMethod/CheckAndGetMethodV6, versioned methodById
kushti Oct 15, 2024
09ec5f1
ignoring bulletproof test, impoving comments
kushti Oct 18, 2024
5cabedd
equalsPairCollWithCollOverArray
kushti Oct 18, 2024
571e721
Merge pull request #1011 from ergoplatform/i909
kushti Oct 18, 2024
c21ed63
Merge pull request #1008 from ergoplatform/i906
kushti Oct 21, 2024
35fe87a
merging w. 6.0.0
kushti Oct 21, 2024
9036aec
improving tests in BasicOpsSpecification, type test for getVarFromInput
kushti Oct 21, 2024
8ae51e4
split in LSV6
kushti Oct 21, 2024
ceff4b2
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Oct 21, 2024
5f6b9ee
LSV6 tests
kushti Oct 22, 2024
03bfd6a
polishing
kushti Oct 22, 2024
1fbd4e5
Update docs/LangSpec.md
kushti Oct 24, 2024
208a191
Update docs/LangSpec.md
kushti Oct 24, 2024
b074b28
Merge pull request #1016 from ergoplatform/i978
kushti Oct 24, 2024
9d7962a
merging w. 6.0.0
kushti Oct 24, 2024
06fff23
merging w. 6.0.0
kushti Oct 24, 2024
e9e59e0
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Oct 29, 2024
901c868
1007 & 1008 replacement & versioning
kushti Oct 29, 2024
a160997
UnsignedBigInt support in DataSerializerSpecification
kushti Oct 31, 2024
fdf712e
ErgoTreeSpecification update
kushti Oct 31, 2024
dde7f6e
fixing DataJsonEncoderSpecification
kushti Oct 31, 2024
a18967c
SigmaTyperTest fix
kushti Oct 31, 2024
2d8af9d
adding UnsignedBigInt to JS reflection , pt1
kushti Nov 1, 2024
933b2cc
improving UnsignedBigInt support in JS
kushti Nov 1, 2024
3a5c6d6
JS tests fixed
kushti Nov 4, 2024
b1d2b17
toUnsigned test in LSV6
kushti Nov 4, 2024
f84bce5
toUnsignedMod test in LSV6, more tests in BOS
kushti Nov 4, 2024
1496770
tests for .toBytes, UnsignedBigInt support added to to new Numeric me…
kushti Nov 5, 2024
ac4bbbc
unsigned encoding, .toBytes & .toBits tests passing
kushti Nov 5, 2024
a87bfb3
bitwiseInverse
kushti Nov 5, 2024
77be8a6
more .toBytes and .toBits tests
kushti Nov 11, 2024
626edc8
bitwise or/and/xor and tests
kushti Nov 11, 2024
aa246c3
shiftLeft/shiftRight and tests
kushti Nov 11, 2024
7fdcdbd
more tests for shiftLeft/shiftRight
kushti Nov 11, 2024
9566177
LSV6 tests for UnsignedBigInt
kushti Nov 13, 2024
503f0c7
bitwiseInverse fix, tests fixes
kushti Nov 13, 2024
6a15e5f
expUnsigned test
kushti Nov 13, 2024
b0e41a8
mod ops tests
kushti Nov 14, 2024
8da5f89
_eval mathods removed
kushti Nov 14, 2024
11bc3d0
More descriptions, some code cleaning
kushti Nov 14, 2024
8c5172b
costing
kushti Nov 14, 2024
dd33642
arith test
kushti Nov 14, 2024
8109a28
embeddable type list / serializers versioning, code cleaning , toUnsi…
kushti Nov 14, 2024
b3a10a5
1007 rule update
kushti Nov 14, 2024
ae0421a
fixing JS test
kushti Nov 14, 2024
aa3fbbd
JS test comment
kushti Nov 14, 2024
cedcfbe
fixing tupleGen
kushti Nov 15, 2024
491f878
versioned rulesSpecs
kushti Nov 15, 2024
a66ab55
compilation err fix
kushti Nov 15, 2024
6d80439
merging w. 6.0.0
kushti Nov 18, 2024
20f68c0
decoding nbits from an Ergo block header
kushti Nov 18, 2024
e374229
LSV6 test
kushti Nov 18, 2024
eb50ab4
raising costs for encode/decode
kushti Nov 18, 2024
367d320
fixing cost comments
kushti Nov 19, 2024
494221a
Merge pull request #962 from ergoplatform/i675-2
kushti Nov 19, 2024
b0e7690
merging w. 6.0.0
kushti Nov 19, 2024
4c03c24
merging w. 6.0.0
kushti Nov 19, 2024
f195072
Global.deserializeTo[] method
kushti Nov 22, 2024
47b5558
Merge pull request #979 from ergoplatform/6.0-deserialize
kushti Nov 22, 2024
c0ea4b0
Autolykos 2 validation for custom message
kushti Nov 22, 2024
6d5a18b
Merge pull request #965 from ergoplatform/i958
kushti Nov 22, 2024
ee5fa99
merging w. 6.0.0
kushti Nov 22, 2024
46433f8
merging w. 6.0.0
kushti Nov 22, 2024
fa4b4b4
doc update
kushti Nov 22, 2024
f3e21b1
Merge pull request #1026 from ergoplatform/i462
kushti Nov 27, 2024
42d7fc7
merging w. 6.0.0
kushti Nov 27, 2024
912a523
Update core/js/src/main/scala/sigma/js/Type.scala
kushti Nov 29, 2024
0af752d
Update core/shared/src/main/scala/sigma/SigmaDsl.scala
kushti Nov 29, 2024
b545aa5
Update sc/shared/src/test/scala/sigmastate/ErgoTreeSpecification.scala
kushti Nov 29, 2024
ad3506e
addressing review comments
kushti Nov 29, 2024
847e4bb
Merge branch 'i554' of github.com:ScorexFoundation/sigmastate-interpr…
kushti Nov 29, 2024
c1e5ba3
not throwing exception on duplicate key
kushti Dec 2, 2024
0c74184
insertOrUpdate
kushti Dec 3, 2024
754d624
fixing JS tests and ErgoTree specification
kushti Dec 3, 2024
469eab7
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Dec 4, 2024
b2ef5b5
Merge branch 'i554' of github.com:ScorexFoundation/sigmastate-interpr…
kushti Dec 4, 2024
326b315
UnsignedBigInt added to liftToConstant
kushti Dec 4, 2024
6e34213
versioning for SUnsignedBigInt check
kushti Dec 4, 2024
1969223
Merge pull request #997 from ergoplatform/i554
kushti Dec 4, 2024
780b28b
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Dec 4, 2024
a506be8
merging w. 6.0.0
kushti Dec 4, 2024
38c2f63
Update interpreter/shared/src/test/scala/sigma/ast/SigmaBuilderTest.s…
kushti Dec 5, 2024
b85ba9c
cleared outdated comments in SigmaBuilderTest
kushti Dec 5, 2024
3952ab4
Merge branch 'i905' of github.com:ScorexFoundation/sigmastate-interpr…
kushti Dec 5, 2024
2ad87f4
PreHeader added
kushti Dec 5, 2024
d13dd4d
Merge pull request #1021 from ergoplatform/i905
kushti Dec 5, 2024
234c8fb
merging w. 6.0.0
kushti Dec 5, 2024
b80b3af
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Dec 5, 2024
bd31ab3
Merge branch 'i908' of github.com:ScorexFoundation/sigmastate-interpr…
kushti Dec 5, 2024
f9a8939
no versioned check on serialization
kushti Dec 5, 2024
f482814
6.0 specific serialization removed
kushti Dec 6, 2024
c1dc254
ergoTreeVersion removed from VersionContext
kushti Dec 6, 2024
2effbba
removing checkType parameter which is always true
kushti Dec 6, 2024
8993b3a
ergo tree version removed from withVersions
kushti Dec 6, 2024
22ce03b
unused env removed from reductionWithDeserialize
kushti Dec 6, 2024
3a9f63c
merging w. 6.0-serialization
kushti Dec 6, 2024
e2720be
tree version based checks for lazy default
kushti Dec 11, 2024
59225d3
tree version based versioning
kushti Dec 13, 2024
2f557e1
back to activated script version for serializers
kushti Dec 13, 2024
988f42b
fixing LSV5 tests
kushti Dec 16, 2024
ea31523
polishing, doc and comments update
kushti Dec 16, 2024
a14a257
fixing TestingInterpreterSpecification
kushti Dec 17, 2024
11a4d3e
activationType flag for LSV* tests
kushti Dec 18, 2024
592a68c
fixing LSV6 tests
kushti Dec 18, 2024
e9f24c0
MethodCallSerializerSpecification fix
kushti Dec 19, 2024
7aad66f
merging w. 6.0-serialization branch
kushti Dec 19, 2024
d8839f9
activation type constants
kushti Dec 19, 2024
3b7a43f
Merge branch 'i1042' of github.com:ScorexFoundation/sigmastate-interp…
kushti Dec 19, 2024
210273f
Merge branch 'i908' of github.com:ScorexFoundation/sigmastate-interpr…
kushti Dec 19, 2024
c27ce06
merge with #1043 and versioning code updates
kushti Dec 20, 2024
f59f704
fromBlockVersion
kushti Dec 20, 2024
905448b
fromBlockVersion fix
kushti Dec 20, 2024
91b3b98
versioning in serializeErgoTree
kushti Dec 23, 2024
bce9f91
Merge branch 'i904' of github.com:ScorexFoundation/sigmastate-interpr…
kushti Dec 25, 2024
ce205f4
post-merge fix
kushti Dec 26, 2024
f6b801f
replacedrule fix
kushti Dec 26, 2024
15a3096
full replacedrule id check
kushti Dec 26, 2024
aab382e
Merge branch 'i1042' of github.com:ScorexFoundation/sigmastate-interp…
kushti Dec 26, 2024
aa61236
close #1044 : fix for Global.decodeNBits method can produce bigint ou…
kushti Jan 6, 2025
08c7f98
fix for #1046: Impossible to use 6.0 types in register and context ex…
kushti Jan 8, 2025
6c87a6b
soft-forkable v6 type check
kushti Jan 8, 2025
62d61e8
new test: DeserializeContext can return expression of UnsignedBigInt …
kushti Jan 8, 2025
9270bd3
polishing, fixing some failed tests
kushti Jan 9, 2025
2c501a7
Update interpreter/shared/src/main/scala/sigmastate/interpreter/CErgo…
kushti Jan 9, 2025
18a6a77
comments improved
kushti Jan 9, 2025
45a4686
Merge branch 'i908' of github.com:ScorexFoundation/sigmastate-interpr…
kushti Jan 9, 2025
f1c1287
Merge pull request #1038 from ergoplatform/i908
kushti Jan 9, 2025
7b7c1c5
different ids for getreg and getreg v6
kushti Jan 9, 2025
a61c9d4
option type test in impossible to use v6 types in box registers scenario
kushti Jan 10, 2025
d6c0242
UnsignedBigInt result type for Global.powHit
kushti Jan 10, 2025
53c78a4
Option serialization fix in LSV5 extended
kushti Jan 10, 2025
8aa8002
fix checkmethod rule test
kushti Jan 10, 2025
b2df20f
removing getvar v6
kushti Jan 13, 2025
7e10bc7
initial spam test (from the issue)
kushti Jan 14, 2025
373370a
caching encoded EC value
kushti Jan 16, 2025
bff17fe
merging w. v6.0.0
kushti Jan 16, 2025
710dd6d
distinct method removed
kushti Jan 17, 2025
ff5d354
removing encoded point caching and custom equals
kushti Jan 17, 2025
92bd7eb
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Jan 20, 2025
1c0a9af
context.getVar test removed
kushti Jan 20, 2025
21f71a3
ok and invalid values in tests
kushti Jan 20, 2025
5f3be02
Merge pull request #1045 from ergoplatform/i1044
kushti Jan 20, 2025
9411e54
Merge branch 'v6.0.0' of github.com:ScorexFoundation/sigmastate-inter…
kushti Jan 20, 2025
5820bd0
isV6SoftFork... fixed
kushti Jan 20, 2025
eb14771
BasicOpsSpec tests fixed
kushti Jan 20, 2025
15823c3
serializers dependent on tree version
kushti Jan 20, 2025
0cfb74f
fixing versioning in SAvlTreeMethods
kushti Jan 21, 2025
2247fea
fix for tuples
kushti Jan 23, 2025
4ad3951
fixing tests
kushti Jan 27, 2025
6f90dca
merging w. i1042
kushti Jan 27, 2025
639c35a
merging w. getvar-fix
kushti Jan 27, 2025
41aa43e
Merge branch 'powhit-unsigned' of github.com:ScorexFoundation/sigmast…
kushti Jan 27, 2025
874213a
merging w. i1051
kushti Jan 27, 2025
0d5edd7
Merge branch 'v6.0.0-getreg-fix' of github.com:ScorexFoundation/sigma…
kushti Jan 27, 2025
f143243
merging w. i1046
kushti Jan 27, 2025
bcc193d
post-merge fixes
kushti Jan 27, 2025
ca2df92
post-merge fixes
kushti Jan 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix for longToByteArray support in JS
kushti committed Sep 17, 2024
commit 4343bc9d0bbaacebbc11dcbc4f476f8f73b3c40b
8 changes: 8 additions & 0 deletions data/shared/src/main/scala/sigma/SigmaDataReflection.scala
Original file line number Diff line number Diff line change
@@ -86,6 +86,14 @@ object SigmaDataReflection {
)
)

registerClassEntry(classOf[LongToByteArray],
constructors = Array(
mkConstructor(Array(classOf[Value[_]])) { args =>
new LongToByteArray(args(0).asInstanceOf[Value[SLong.type]])
}
)
)

registerClassEntry(classOf[CalcBlake2b256],
constructors = Array(
mkConstructor(Array(classOf[Value[_]])) { args =>
Original file line number Diff line number Diff line change
@@ -213,8 +213,8 @@ class BasicOpsSpecification extends CompilerTestingCommons
deserTest()
}
}

property("serialize(long) is producing different result from longToByteArray()") {
property("serialize(long) is producing different result from longToByteArray()") {
def deserTest() = test("serialize", env, ext,
s"""{
val l = -1000L