Skip to content

Commit

Permalink
skip vk vrfy main (#13540)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjma authored Jun 4, 2024
1 parent 04db082 commit beab1a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ WARNING: If a malicious key is set, this would lead to stolen funds.

<pre><code><b>public</b> <b>fun</b> <a href="keyless_account.md#0x1_keyless_account_set_groth16_verification_key_for_next_epoch">set_groth16_verification_key_for_next_epoch</a>(fx: &<a href="../../aptos-stdlib/../move-stdlib/doc/signer.md#0x1_signer">signer</a>, vk: <a href="keyless_account.md#0x1_keyless_account_Groth16VerificationKey">Groth16VerificationKey</a>) {
<a href="system_addresses.md#0x1_system_addresses_assert_aptos_framework">system_addresses::assert_aptos_framework</a>(fx);
<a href="keyless_account.md#0x1_keyless_account_validate_groth16_vk">validate_groth16_vk</a>(&vk);
<a href="config_buffer.md#0x1_config_buffer_upsert">config_buffer::upsert</a>&lt;<a href="keyless_account.md#0x1_keyless_account_Groth16VerificationKey">Groth16VerificationKey</a>&gt;(vk);
}
</code></pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ module aptos_framework::keyless_account {
/// WARNING: If a malicious key is set, this would lead to stolen funds.
public fun set_groth16_verification_key_for_next_epoch(fx: &signer, vk: Groth16VerificationKey) {
system_addresses::assert_aptos_framework(fx);
validate_groth16_vk(&vk);
config_buffer::upsert<Groth16VerificationKey>(vk);
}

Expand Down

0 comments on commit beab1a5

Please sign in to comment.