Skip to content

Commit

Permalink
Add ContractCostType::ChaCha20DrawBytes (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayz22 authored Sep 21, 2023
1 parent 703b636 commit f2f213c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Stellar-contract-config-setting.x
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ enum ContractCostType {
// Cost of int256 power (`exp`) operation
Int256Pow = 26,
// Cost of int256 shift (`shl`, `shr`) operation
Int256Shift = 27
Int256Shift = 27,
// Cost of drawing random bytes using a ChaCha20 PRNG
ChaCha20DrawBytes = 28
};

struct ContractCostParamEntry {
Expand Down

0 comments on commit f2f213c

Please sign in to comment.