mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-26 13:39:52 +00:00
revive-runner: enable PVM logs (#442)
This PR fixes a small oversight from #431: Set the debug config of the revive-runner `Runtime` such that we get the PVM logs back. Since the revive runner runtime is mainly meant for debugging, I further decided to enable unlimited contract sizes and disable [EIP 3607](https://eips.ethereum.org/EIPS/eip-3607) too. --------- Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
1 parent
13070a4bdf
commit
d8c23130bb
4 files changed
+16
-2
No files matched your search
@@ -61,6 +61,7 @@ impl pallet_timestamp::Config for Runtime {}
|
||||
|
||||
parameter_types! {
|
||||
pub const UnstableInterface: bool = true;
|
||||
pub const DebugFlag: bool = true;
|
||||
pub const DepositPerByte: Balance = 1;
|
||||
pub const DepositPerItem: Balance = 2;
|
||||
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(0);
|
||||
@@ -87,6 +88,7 @@ impl pallet_revive::Config for Runtime {
|
||||
type ChainId = ConstU64<420_420_420>;
|
||||
type FindAuthor = Self;
|
||||
type NativeToEthRatio = ConstU32<{ crate::ETH_RATIO as u32 }>;
|
||||
type DebugEnabled = DebugFlag;
|
||||
}
|
||||
|
||||
impl FindAuthor<<Runtime as frame_system::Config>::AccountId> for Runtime {
|
||||
|
||||
Reference in new issue
Block a user