Skip to content

Commit

Permalink
Update gas costs with correct values
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuajbouw committed Jun 29, 2021
1 parent a7868e8 commit 23f91e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/primitives-core/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,11 +365,11 @@ impl Default for ExtCostsConfig {
keccak512_base: SAFETY_MULTIPLIER * 1937129412,
keccak512_byte: SAFETY_MULTIPLIER * 12216567,
#[cfg(feature = "protocol_feature_math_extension")]
ripemd160_base: SAFETY_MULTIPLIER * 15136567500, // 10 x sha256_base
ripemd160_base: SAFETY_MULTIPLIER * 284558362,
#[cfg(feature = "protocol_feature_math_extension")]
ripemd160_block: SAFETY_MULTIPLIER * 80391170 * 8, // 10 x sha256_byte x 8 bytes
ripemd160_block: SAFETY_MULTIPLIER * 226702528,
#[cfg(feature = "protocol_feature_math_extension")]
ecrecover_base: SAFETY_MULTIPLIER * 75682837500, // 50 x sha256_base
ecrecover_base: SAFETY_MULTIPLIER * 1121789875000,
log_base: SAFETY_MULTIPLIER * 1181104350,
log_byte: SAFETY_MULTIPLIER * 4399597,
storage_write_base: SAFETY_MULTIPLIER * 21398912000,
Expand Down

0 comments on commit 23f91e8

Please sign in to comment.