Skip to content

Commit

Permalink
Add ContractCostType::ChaCha20DrawBytes (#151) (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayz22 authored Sep 22, 2023
1 parent 76d9792 commit 50e987f
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 50e987f

Please sign in to comment.