Skip to content

Comments

feat: derive more traits#745

Merged
rakita merged 9 commits intobluealloy:mainfrom
DaniPopes:debugs
Oct 11, 2023
Merged

feat: derive more traits#745
rakita merged 9 commits intobluealloy:mainfrom
DaniPopes:debugs

Conversation

@DaniPopes
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

lgtm,

some derives like hash may not be needed but can't hurt

DaniPopes and others added 3 commits September 29, 2023 20:38
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

/// The EVM stack limit, in number of items.
pub const STACK_LIMIT: usize = 1024;
const STACK_LIMIT: usize = 1024;
Copy link
Member

Choose a reason for hiding this comment

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

Leave it as a pub, it does not hurt

#![warn(missing_debug_implementations, unreachable_pub)]
#![deny(unused_must_use, rust_2018_idioms)]
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
Copy link
Member

Choose a reason for hiding this comment

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

nice!

///
/// Note: It is marked as Send so database can be shared between threads.
pub database: DB, //Box<dyn Database<Error = DBError> + Send + 'a>,
pub database: DB,
Copy link
Member

Choose a reason for hiding this comment

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

ty

@rakita
Copy link
Member

rakita commented Oct 11, 2023

@DaniPopes if you are okay, would take this over

Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

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

lgtm

@rakita rakita merged commit 7a99f16 into bluealloy:main Oct 11, 2023
@DaniPopes DaniPopes deleted the debugs branch October 17, 2023 09:48
@github-actions github-actions bot mentioned this pull request Jan 12, 2024
This was referenced Mar 10, 2025
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.

3 participants