Skip to content

Commit

Permalink
annotate ownableImpl with embed_v0
Browse files Browse the repository at this point in the history
  • Loading branch information
pscott committed Oct 8, 2024
1 parent 16989be commit c233507
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion starknet/src/execution_strategies/timelock.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ mod TimelockExecutionStrategy {

component!(path: OwnableComponent, storage: ownable, event: OwnableEvent);

impl OwnableInternalImpl = OwnableComponent::InternalImpl<ContractState>;
#[abi(embed_v0)]
impl OwnableImpl = OwnableComponent::OwnableImpl<ContractState>;
impl OwnableInternalImpl = OwnableComponent::InternalImpl<ContractState>;

component!(path: SimpleQuorumComponent, storage: simple_quorum, event: SimpleQuorumEvent);

Expand Down
3 changes: 2 additions & 1 deletion starknet/src/space/space.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ mod Space {

component!(path: OwnableComponent, storage: ownable, event: OwnableEvent);

impl OwnableInternalImpl = OwnableComponent::InternalImpl<ContractState>;
#[abi(embed_v0)]
impl OwnableImpl = OwnableComponent::OwnableImpl<ContractState>;
impl OwnableInternalImpl = OwnableComponent::InternalImpl<ContractState>;

#[storage]
struct Storage {
Expand Down

0 comments on commit c233507

Please sign in to comment.