From bd268ac02bc3530c1d3247cb9496c3e13c2e52d9 Mon Sep 17 00:00:00 2001 From: Danil Date: Wed, 29 Nov 2023 17:51:47 +0100 Subject: [PATCH] fix(vm): Expose additional types and traits (#563) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What ❔ Add more pubs for previous vm ## Why ❔ For updating era testnode we need to expose some additional data ## Checklist - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [ ] Code has been formatted via `zk fmt` and `zk lint`. --------- Signed-off-by: Danil --- core/lib/multivm/src/lib.rs | 3 +++ core/lib/multivm/src/versions/vm_refunds_enhancement/mod.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/lib/multivm/src/lib.rs b/core/lib/multivm/src/lib.rs index adb9358980fd..06d7a4291300 100644 --- a/core/lib/multivm/src/lib.rs +++ b/core/lib/multivm/src/lib.rs @@ -26,3 +26,6 @@ pub use versions::vm_m5; pub use versions::vm_m6; pub use versions::vm_refunds_enhancement; pub use versions::vm_virtual_blocks; +pub use zk_evm_1_3_1; +pub use zk_evm_1_3_3; +pub use zk_evm_1_4_0; diff --git a/core/lib/multivm/src/versions/vm_refunds_enhancement/mod.rs b/core/lib/multivm/src/versions/vm_refunds_enhancement/mod.rs index 89e7b21b984b..28a681e5e604 100644 --- a/core/lib/multivm/src/versions/vm_refunds_enhancement/mod.rs +++ b/core/lib/multivm/src/versions/vm_refunds_enhancement/mod.rs @@ -6,7 +6,7 @@ pub use old_vm::{ pub use oracles::storage::StorageOracle; pub use tracers::dispatcher::TracerDispatcher; -pub use tracers::traits::{TracerPointer, VmTracer}; +pub use tracers::traits::{ToTracerPointer, TracerPointer, VmTracer}; pub use utils::transaction_encoding::TransactionVmExt;