Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/catalyst-gateway/tests/api_te…
Browse files Browse the repository at this point in the history
…sts/idna-3.7
  • Loading branch information
minikin committed Apr 30, 2024
2 parents c9516e3 + 424975e commit e6ac8dd
Show file tree
Hide file tree
Showing 33 changed files with 997 additions and 707 deletions.
1 change: 1 addition & 0 deletions .config/dictionaries/project.dic
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ netifas
netkey
nextest
Oleksandr
onboarded
oneshot
openapi
opentelemetry
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
registration_cbor = {
61284: key_registration,

key_registration = {
1 : [+delegation] / legacy_key_registration,
2 : $stake_credential,
3 : $payment_address,
4 : $nonce,
? 5 : $voting_purpose .default 0
}

$cip36_vote_pub_key /= bytes .size 32
Expand All @@ -12,22 +17,5 @@ delegation = [$cip36_vote_pub_key, $weight]


$stake_credential /= $staking_pub_key
$stake_witness /= $ed25519_signature
; A stake key credential, not tagged for backward compatibility
$staking_pub_key /= bytes .size 32
; Witness for a stake key credential, not tagged for backward compatibility
$ed25519_signature /= bytes .size 64


key_registration = {
1 : [+delegation] / legacy_key_registration,
2 : $stake_credential,
3 : $payment_address,
4 : $nonce,
? 5 : $voting_purpose .default 0
}


registration_witness = {
1 : $stake_witness
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
registration_cbor = {
61285: registration_witness
registration_witness = {
1 : $stake_witness
}

$stake_witness /= $ed25519_signature

; Witness for a stake key credential, not tagged for backward compatibility
$ed25519_signature /= bytes .size 64

registration_witness = {
1 : $stake_witness
}
$ed25519_signature /= bytes .size 64

0 comments on commit e6ac8dd

Please sign in to comment.