Skip to content

Commit

Permalink
Merge branch 'pg/add-tracing-support' into pg/add-tracing-support-2
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Jan 16, 2025
2 parents 394bee9 + f8699c5 commit cfd1e0d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions substrate/frame/revive/src/evm/api/debug_rpc_types.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// This file is part of Substrate.

// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

use crate::{
evm::{extract_revert_message, runtime::gas_from_weight, Bytes},
ExecReturnValue, Weight,
Expand Down
17 changes: 17 additions & 0 deletions substrate/frame/revive/src/evm/api/hex_serde.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// This file is part of Substrate.

// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

use alloc::{format, string::String, vec::Vec};
use serde::{Deserialize, Deserializer, Serializer};

Expand Down

0 comments on commit cfd1e0d

Please sign in to comment.