Skip to content

Commit

Permalink
Update synthesizer/process/src/cost.rs
Browse files Browse the repository at this point in the history
Signed-off-by: Howard Wu <9260812+howardwu@users.noreply.github.com>
  • Loading branch information
howardwu committed Mar 20, 2024
1 parent 5dd0660 commit f066df8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions synthesizer/process/src/cost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ pub fn execution_cost<N: Network>(process: &Process<N>, execution: &Execution<N>

/// Finalize costs for compute heavy operations, derived as:
/// `BASE_COST + (PER_BYTE_COST * SIZE_IN_BYTES)`.

const CAST_BASE_COST: u64 = 500;
const CAST_PER_BYTE_COST: u64 = 30;

Expand Down

0 comments on commit f066df8

Please sign in to comment.