Skip to content

Refactor some code in Cosmos' trigger.rs#4426

Merged
neysofu merged 1 commit into
masterfrom
filippo/cosmos-macros
Mar 9, 2023
Merged

Refactor some code in Cosmos' trigger.rs#4426
neysofu merged 1 commit into
masterfrom
filippo/cosmos-macros

Conversation

@neysofu

@neysofu neysofu commented Mar 6, 2023

Copy link
Copy Markdown
Contributor
  1. CheapClone::cheap_clone mirrors Clone functionality by default, so it rarely needs to use custom code.
  2. Although not immediately obvious, I'm pretty sure the custom implementation of PartialEq is identical to what derive what do, so I'm removing it. nvm, I don't want to deal with determinism issues at this time so I'll leave it as it is.

@neysofu
neysofu requested a review from mangas March 6, 2023 14:23
Comment thread chain/cosmos/src/trigger.rs
@neysofu
neysofu force-pushed the filippo/cosmos-macros branch from 191f4d4 to 87b0d18 Compare March 9, 2023 13:29
@neysofu
neysofu merged commit 94e93b0 into master Mar 9, 2023
@neysofu
neysofu deleted the filippo/cosmos-macros branch March 9, 2023 16:00
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.

2 participants