pallet_evm_polkavm/
weights.rs

1// This file is part of Frontier.
2
3// Copyright (C) Frontier developers.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// 	http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18use sp_runtime::Weight;
19
20pub trait WeightInfo {
21	fn call_with_code_per_byte(c: u32) -> Weight;
22	fn noop_host_fn(r: u32) -> Weight;
23	fn seal_caller() -> Weight;
24	fn seal_origin() -> Weight;
25	fn seal_address() -> Weight;
26	fn seal_call_data_size() -> Weight;
27	fn seal_call_data_load() -> Weight;
28	fn seal_call_data_copy(n: u32) -> Weight;
29	fn seal_return(n: u32) -> Weight;
30	fn create_polkavm(l: u32) -> Weight;
31}