-
Notifications
You must be signed in to change notification settings - Fork 9
Add new bls operators and an operator compatibility mode #180
Add new bls operators and an operator compatibility mode #180
Conversation
Pull Request Test Coverage Report for Build 5764461447
💛 - Coveralls |
Gonna add tests of the bls operators then set it Ready. |
ok waiting for green then gonna mark it ready. |
I think @arvidn wanted to remove the bls prefix from g1 and g2 ops: https://github.com/Chia-Network/clvm_rs/blob/main/op-tests/test-bls-ops.txt#L136-L267 |
ahh thanks, hadn't heard anything since i saw the definitions in a previous
version of clvm_rs.
will change them here.
…On Thu, Jun 22, 2023 at 12:49 PM cameroncooper ***@***.***> wrote:
I think @arvidn <https://github.com/arvidn> wanted to remove the bls
prefix from g1 and g2 ops:
https://github.com/Chia-Network/clvm_rs/blob/main/op-tests/test-bls-ops.txt#L136-L267
—
Reply to this email directly, view it on GitHub
<https://github.com/Chia-Network/clvm_tools_rs/pull/180#issuecomment-1603228191>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABYIEC4CJKGBYZZ3TMZYYDXMSOUHANCNFSM6AAAAAAY4Y2TVI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Any chance this could be updated to use clvmr 0.2.6 to get the secp operators as well? Thanks. |
yes, i'll check on what the final opcode for the secp operator turned out
to be.
…On Tue, Jun 27, 2023 at 6:30 AM Freddie Coleman ***@***.***> wrote:
Any chance this could be updated to use clvmr 0.2.6 to get the secp
operators as well? Thanks.
—
Reply to this email directly, view it on GitHub
<https://github.com/Chia-Network/clvm_tools_rs/pull/180#issuecomment-1609511400>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABYIEBLYSBCVPMUP25GQU3XNLN6VANCNFSM6AAAAAAY4Y2TVI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
… change, remove bls operator prefixes and add tests for more operators, add secp256k1_verify and secp256kr1_verify and test ability to use the wide opcodes
ok changed the operator names and added the secp256 operators. requires a clvmr bump which changes clvmr's api just a bit. |
…r version of glibc than would have been supported since 1.62. Since the new clvmr dependencies require rust 1.65, we need to bump to manylinux2014
I manually compiled and ran a Chialisp program that uses |
These two comments about |
Is |
Is removing |
Is the |
technically it's not, in order to be backwards compatible. but we will require it in all our soft-forks, by convention. |
For Or were you thinking "just specify a complete set for each new dialect" ? |
regarding the extension set, apologies, that particular thing fell through the cracks. pr here. |
added a comment to OPERATORS_LATEST_VERSION. |
much of the rest of the commentary here was about the clvmr upgrade, which went into a separate pr and got merged. |
At the core of it, we can do whatever we want, since anything is a soft-fork anyway. Regarding the CLVM implementation, and how it interprets this field, it's an enum that essentially specifies the soft-fork version. We don't expect to have a lot of soft-fork in flight in parallel, so a version is enough. We considered a bitmask, but that would limit us to 64 soft-forks (in practice, then we would need a wider type), without really providing any benefit, since later soft-forks are expected to include all features from previous ones. |
This was changed to pass through the extension we were given at the top.
Initially i was thinking: "we should provide a consistent set for compile
time", but realized that can change (and should change) according to the
user's --operators-version preference. That change was in a separate pr.
…On Tue, Aug 1, 2023 at 9:04 AM Arvid Norberg ***@***.***> wrote:
For _extension: OperatorSet, is there a way to specify a combination of
several OperatorSets?
Or were you thinking "just specify a complete set for each new dialect" ?
At the core of it, we can do whatever we want, since anything is a
soft-fork anyway. Regarding the CLVM implementation, and how it interprets
this field, it's an enum that essentially specifies the soft-fork version.
We don't expect to have a lot of soft-fork in flight in parallel, so a
version is enough. We considered a bitmask, but that would limit us to 64
soft-forks (in practice, then we would need a wider type), without really
providing any benefit, since later soft-forks are expected to include all
features from previous ones.
—
Reply to this email directly, view it on GitHub
<https://github.com/Chia-Network/clvm_tools_rs/pull/180#issuecomment-1660628549>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABYIEBHHG4OG4TN35TBIWDXTESHLANCNFSM6AAAAAAY4Y2TVI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
--operators-version can now be used in situations where disassembly is output to select an older version of the operator set.