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

Update asn1 files #17

Merged
merged 14 commits into from
Dec 30, 2024
Merged
Changes from 1 commit
Commits
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
draft
xDimon committed Dec 12, 2024
commit 72496a06e9ca8de7003b4da9dba8f3c853d3e98a
4 changes: 2 additions & 2 deletions python/asn1.py
Original file line number Diff line number Diff line change
@@ -173,11 +173,11 @@ def asn_sequence_of(t):
if type(size) is int:
return "qtils::BytesN<%u>" % size
else:
return "jam::ConfigVec<uint8_t, Config::Field::%s>" % c_dash(size)
return "::jam::ConfigVec<uint8_t, Config::Field::%s>" % c_dash(size)
return "qtils::Bytes"
if fixed:
if isinstance(size, str):
return "jam::ConfigVec<%s, Config::Field::%s>" % (T, c_dash(size))
return "::jam::ConfigVec<%s, Config::Field::%s>" % (T, c_dash(size))
return "std::array<%s, %s>" % (T, c_dash(size))
return "std::vector<%s>" % T

2 changes: 1 addition & 1 deletion test-vectors/jamtestvectors
Submodule jamtestvectors updated 62 files
+1 −1 README.md
+2 −3 assurances/assurances.asn
+5 −5 disputes/disputes.asn
+1 −1 history/history.asn
+4 −3 reports/README.md
+ reports/full/big_work_report_output-1.bin
+26,413 −0 reports/full/big_work_report_output-1.json
+ reports/full/high_work_report_gas-1.bin
+4 −1 reports/full/high_work_report_gas-1.json
+ reports/full/many_dependencies-1.bin
+1 −0 reports/full/many_dependencies-1.json
+ reports/full/multiple_reports-1.bin
+4 −1 reports/full/multiple_reports-1.json
+ reports/full/report_curr_rotation-1.bin
+1 −0 reports/full/report_curr_rotation-1.json
+ reports/full/report_prev_rotation-1.bin
+1 −0 reports/full/report_prev_rotation-1.json
+ reports/full/reports_with_dependencies-1.bin
+4 −1 reports/full/reports_with_dependencies-1.json
+ reports/full/reports_with_dependencies-2.bin
+4 −1 reports/full/reports_with_dependencies-2.json
+ reports/full/reports_with_dependencies-3.bin
+4 −1 reports/full/reports_with_dependencies-3.json
+ reports/full/reports_with_dependencies-4.bin
+1 −0 reports/full/reports_with_dependencies-4.json
+ reports/full/reports_with_dependencies-5.bin
+4 −1 reports/full/reports_with_dependencies-5.json
+ reports/full/reports_with_dependencies-6.bin
+1 −0 reports/full/reports_with_dependencies-6.json
+ reports/full/too_big_work_report_output-1.bin
+18 −60 reports/full/too_big_work_report_output-1.json
+7 −8 reports/reports.asn
+ reports/tiny/big_work_report_output-1.bin
+551 −0 reports/tiny/big_work_report_output-1.json
+ reports/tiny/consume_authorization_once-1.bin
+0 −538 reports/tiny/consume_authorization_once-1.json
+ reports/tiny/high_work_report_gas-1.bin
+4 −1 reports/tiny/high_work_report_gas-1.json
+ reports/tiny/many_dependencies-1.bin
+1 −0 reports/tiny/many_dependencies-1.json
+ reports/tiny/multiple_reports-1.bin
+4 −1 reports/tiny/multiple_reports-1.json
+ reports/tiny/report_curr_rotation-1.bin
+1 −0 reports/tiny/report_curr_rotation-1.json
+ reports/tiny/report_prev_rotation-1.bin
+1 −0 reports/tiny/report_prev_rotation-1.json
+ reports/tiny/reports_with_dependencies-1.bin
+4 −1 reports/tiny/reports_with_dependencies-1.json
+ reports/tiny/reports_with_dependencies-2.bin
+4 −1 reports/tiny/reports_with_dependencies-2.json
+ reports/tiny/reports_with_dependencies-3.bin
+4 −1 reports/tiny/reports_with_dependencies-3.json
+ reports/tiny/reports_with_dependencies-4.bin
+1 −0 reports/tiny/reports_with_dependencies-4.json
+ reports/tiny/reports_with_dependencies-5.bin
+4 −1 reports/tiny/reports_with_dependencies-5.json
+ reports/tiny/reports_with_dependencies-6.bin
+1 −0 reports/tiny/reports_with_dependencies-6.json
+ reports/tiny/too_big_work_report_output-1.bin
+496 −0 reports/tiny/too_big_work_report_output-1.json
+10 −10 safrole/safrole.asn
+3 −3 statistics/statistics.asn
4 changes: 2 additions & 2 deletions vcpkg-overlay/qtils/portfile.cmake
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO qdrvm/qtils
REF e0e3914ef4e2e7c3c074aa39f9e9cd27cb72c032
SHA512 b5b9c33c1925fdb0c58f9a81df3d23604000f1e1c914411d90498f8768f0ae49271cce255e98e17fc909a0d0f2cacd156fdf9b7409216f7922a26dedace552b1
REF 9796aad4181553f738d754c3cc4a779e32fa389b
SHA512 ad45fcb1e78f3fb55f8826be016558edf7cd984b2c9327fa566f4f1d8b5db4914fb14d791e3d6b8813d7ec2f2b80d8471d149576134c962a1138374ed68bf69d
)
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()