From 0a5c8337b32410df7ae70b4c1916e4651ca4e77c Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Mon, 6 Nov 2023 10:53:11 -0600 Subject: [PATCH] chore: add rust toolchain for version mgt, make inner_tx pub (#213) * chore: add rust toolchain for version mgt, update to make inner tx pub again * chore: change version to reflect ci --- rust-toolchain.yaml | 3 +++ src/node/in_memory.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 rust-toolchain.yaml diff --git a/rust-toolchain.yaml b/rust-toolchain.yaml new file mode 100644 index 00000000..bc962f33 --- /dev/null +++ b/rust-toolchain.yaml @@ -0,0 +1,3 @@ +[toolchain] +channel = "nightly-2023-07-23" +components = ["rustfmt", "clippy"] \ No newline at end of file diff --git a/src/node/in_memory.rs b/src/node/in_memory.rs index 874fe16f..6e7d170d 100644 --- a/src/node/in_memory.rs +++ b/src/node/in_memory.rs @@ -1253,7 +1253,7 @@ impl InMemoryNode { } /// Executes the given L2 transaction and returns all the VM logs. - fn run_l2_tx_inner( + pub fn run_l2_tx_inner( &self, l2_tx: L2Tx, execution_mode: TxExecutionMode,