Skip to content

Commit

Permalink
fix: BLS_SIGNATURE_VALIDATION_BASE to 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed May 13, 2024
1 parent f8e695f commit 45bec60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/precompile/src/bls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fn bls_signature_validation_run(input: &Bytes, gas_limit: u64) -> PrecompileResu
}

fn calc_gas_cost(input: &Bytes) -> u64 {
const BLS_SIGNATURE_VALIDATION_BASE: u64 = 3_000;
const BLS_SIGNATURE_VALIDATION_BASE: u64 = 1_000;
const BLS_SIGNATURE_VALIDATION_PER_KER: u64 = 3_500;

let msg_length = BLS_MSG_HASH_LENGTH + BLS_SIGNATURE_LENGTH;
Expand Down

0 comments on commit 45bec60

Please sign in to comment.