Skip to content

Commit

Permalink
chore: use proper camelcase
Browse files Browse the repository at this point in the history
  • Loading branch information
pscott committed Aug 25, 2023
1 parent 75d7222 commit c3acccc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions starknet/src/space/space.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ mod Space {
VotingStrategiesRemoved: VotingStrategiesRemoved,
AuthenticatorsAdded: AuthenticatorsAdded,
AuthenticatorsRemoved: AuthenticatorsRemoved,
MetadataURIUpdated: MetadataURIUpdated,
DAOURIUpdated: DAOURIUpdated,
MetadataUriUpdated: MetadataUriUpdated,
DaoUriUpdated: DaoUriUpdated,
MaxVotingDurationUpdated: MaxVotingDurationUpdated,
MinVotingDurationUpdated: MinVotingDurationUpdated,
ProposalValidationStrategyUpdated: ProposalValidationStrategyUpdated,
Expand Down Expand Up @@ -240,12 +240,12 @@ mod Space {
}

#[derive(Drop, starknet::Event)]
struct MetadataURIUpdated {
struct MetadataUriUpdated {
metadata_URI: Span<felt252>,
}

#[derive(Drop, starknet::Event)]
struct DAOURIUpdated {
struct DaoUriUpdated {
dao_URI: Span<felt252>,
}

Expand Down Expand Up @@ -620,14 +620,14 @@ mod Space {
if NoUpdateArray::should_update((@input).metadata_URI) {
self
.emit(
Event::MetadataURIUpdated(
MetadataURIUpdated { metadata_URI: input.metadata_URI.span() }
Event::MetadataUriUpdated(
MetadataUriUpdated { metadata_URI: input.metadata_URI.span() }
)
);
}

if NoUpdateArray::should_update((@input).dao_URI) {
self.emit(Event::DAOURIUpdated(DAOURIUpdated { dao_URI: input.dao_URI.span() }));
self.emit(Event::DaoUriUpdated(DaoUriUpdated { dao_URI: input.dao_URI.span() }));
}

// if not NO_UPDATE
Expand Down

0 comments on commit c3acccc

Please sign in to comment.