Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions prdoc/pr_9482.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
title: '[pallet-revive] expose `exec::Key`'
doc:
- audience: Runtime Dev
description: |-
This is a fix for the fact that `exec::Key` is exposed from within `pallet_revive::tracing::Tracing` interface, but not from the crate itself making custom tracers effectively unimplementable outside said crate.

In my case it's useful for implementing custom tracers for integration with `foundry`

crates:
- name: pallet-revive
bump: minor
4 changes: 2 additions & 2 deletions substrate/frame/revive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ use crate::{
runtime::GAS_PRICE, CallTracer, GasEncoder, GenericTransaction, PrestateTracer, Trace,
Tracer, TracerType, TYPE_EIP1559,
},
exec::{AccountIdOf, ExecError, Executable, Key, Stack as ExecStack},
exec::{AccountIdOf, ExecError, Executable, Stack as ExecStack},
gas::GasMeter,
storage::{
meter::Meter as StorageMeter, AccountInfo, AccountType, ContractInfo, DeletionQueueManager,
Expand Down Expand Up @@ -89,7 +89,7 @@ pub use crate::{
address::{
create1, create2, is_eth_derived, AccountId32Mapper, AddressMapper, TestAccountMapper,
},
exec::{MomentOf, Origin},
exec::{Key, MomentOf, Origin},
pallet::*,
};
pub use codec;
Expand Down
Loading