Skip to content

[sec] vault migration sanity checks

akrokr requested to merge akh/migration_sec into develop

Adds a sanity check during vault migration (churn) to never send funds to a vault that is insecure, and uses big ints for the security calculation to avoid potential int64 overflows.

Mimir MigrationVaultSecurityBps is included and defaulted to 0 to maintain current behavior. Once set, a vault must have bond greater than bps*rune_value_of_vault to receive migrated funds.

Edited by akrokr

Merge request reports