Skip to content

Commit

Permalink
add missing embed
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem committed Jun 14, 2024
1 parent 8c8fbd9 commit d933fe4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/governor.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ pub mod Governor {
}

// This implementation exists solely for the purpose of allowing simulation of calls from the governor with the flag to skip validation
#[abi(embed_v0)]
impl GovernorAccountContractForSimulation of AccountContract<ContractState> {
fn __validate_declare__(self: @ContractState, class_hash: felt252) -> felt252 {
panic!("Not allowed");
Expand Down

0 comments on commit d933fe4

Please sign in to comment.