Skip to content

Conversation

@rakita
Copy link
Member

@rakita rakita commented Jul 30, 2022

Related to: #121

pub first_gas_block: u32,
/// Rc is used here so that we dont need to copy vector. We can move it to more suitable more accessable structure
/// without copying underlying vec.
pub analysis: Rc<Vec<AnalysisData>>,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make this an Arc? Forge has some shared backend logic that sends AccountInfo across thread bounds and the Rc makes it !Send 😄

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^+1 we need this


#[derive(Clone, Debug)]
#[cfg_attr(feature = "with-serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Bytecode {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get Eq and PartialEq?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants