Skip to content

Commit

Permalink
fix: revert removing clone derive
Browse files Browse the repository at this point in the history
  • Loading branch information
encody committed May 8, 2024
1 parent 69ec6fb commit 52abe89
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/owner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const NO_PROPOSED_OWNER_FAIL_MESSAGE: &str = "No proposed owner";
crate = "crate",
macros = "near_sdk_contract_tools_macros"
)]
#[derive(Debug)]
#[derive(Debug, Clone)]
pub enum OwnerEvent {
/// Emitted when the current owner of the contract changes
Transfer {
Expand Down
2 changes: 1 addition & 1 deletion src/pause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const PAUSED_FAIL_MESSAGE: &str = "Disallowed while contract is paused";
crate = "crate",
macros = "near_sdk_contract_tools_macros"
)]
#[derive(Debug)]
#[derive(Debug, Clone)]
pub enum PauseEvent {
/// Emitted when the contract is paused
Pause,
Expand Down
2 changes: 1 addition & 1 deletion src/standard/nep141/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use near_sdk_contract_tools_macros::event;
standard = "nep141",
version = "1.0.0"
)]
#[derive(Debug)]
#[derive(Debug, Clone)]
pub enum Nep141Event<'a> {
/// Token mint event. Emitted when tokens are created and total_supply is
/// increased.
Expand Down
2 changes: 1 addition & 1 deletion src/standard/nep171/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use near_sdk_contract_tools_macros::event;
standard = "nep171",
version = "1.2.0"
)]
#[derive(Debug)]
#[derive(Debug, Clone)]
pub enum Nep171Event<'a> {
/// Emitted when a token is newly minted.
NftMint(Vec<NftMintLog<'a>>),
Expand Down

0 comments on commit 52abe89

Please sign in to comment.