File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,15 +212,15 @@ fn test_syscall_gas_cost_calculation() {
212212 let versioned_constants = VersionedConstants :: latest_constants ( ) . clone ( ) ;
213213
214214 assert_eq ! (
215- versioned_constants. get_syscall_gas_cost ( & SyscallSelector :: CallContract ) . base,
215+ versioned_constants. os_constants . gas_costs . syscalls . call_contract . base,
216216 EXPECTED_CALL_CONTRACT_GAS_COST
217217 ) ;
218218 assert_eq ! (
219- versioned_constants. get_syscall_gas_cost ( & SyscallSelector :: Secp256k1Mul ) . base,
219+ versioned_constants. os_constants . gas_costs . syscalls . secp256k1_mul . base,
220220 EXPECTED_SECP256K1MUL_GAS_COST
221221 ) ;
222222 assert_eq ! (
223- versioned_constants. get_syscall_gas_cost ( & SyscallSelector :: Sha256ProcessBlock ) . base,
223+ versioned_constants. os_constants . gas_costs . syscalls . sha256_process_block . base,
224224 EXPECTED_SHA256PROCESSBLOCK_GAS_COST
225225 ) ;
226226}
You can’t perform that action at this time.
0 commit comments