Skip to content

Commit

Permalink
clone
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJepsen committed Dec 12, 2023
1 parent 4178180 commit 1258380
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arbiter-core/src/middleware/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use crate::environment::{EventBroadcaster, InstructionSender, OutcomeReceiver, O

/// Represents a connection to the EVM contained in the corresponding
/// [`Environment`].
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct Connection {
/// Used to send calls and transactions to the [`Environment`] to be
/// executed by `revm`.
Expand Down
4 changes: 2 additions & 2 deletions arbiter-core/src/middleware/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub mod nonce_middleware;
/// Use a seed like `Some("test_label")` for maintaining a
/// consistent address across simulations and client labeling. Seeding is be
/// useful for debugging and post-processing.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct RevmMiddleware {
provider: Provider<Connection>,
wallet: EOA,
Expand All @@ -108,7 +108,7 @@ pub struct RevmMiddleware {

/// A wrapper enum for the two types of accounts that can be used with the
/// middleware.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub enum EOA {
/// The [`Forked`] variant is used for the forked EOA,
/// allowing us to treat them as mock accounts that we can still authorize
Expand Down

0 comments on commit 1258380

Please sign in to comment.